This message was deleted.
# general
s
This message was deleted.
r
I noticed the service is created and the alb is ready to serve.
c
Can you get a copy of the yaml that’s being applied. Based on the error there’s a rule that doesn’t specify a backend servicename
r
Copy code
const centralIngress = new k8s.extensions.v1beta1.Ingress(`central-ingress`, {
    metadata: {
        name: `central-ingress`,
        namespace: project,
        annotations: {
            "alb.ingress.kubernetes.io/certificate-arn": certificateValidation.certificateArn.apply(args => `${args}`),
            "alb.ingress.kubernetes.io/wafv2-acl-arn": dbaasWebAcl.arn,
            "alb.ingress.kubernetes.io/scheme": "internet-facing",
            "alb.ingress.kubernetes.io/listen-ports": '[{"HTTP": 80}, {"HTTPS":443}]',
            "kubernetes.io/ingress.class": "alb",
            "alb.ingress.kubernetes.io/healthcheck-path": "/healthz",
        },
    },
    spec: {
        rules: [
            {
                host: backendDomain,
                http: {
                    paths: [
                        {
                            backend: {
                                serviceName: "central-http",
                                servicePort: 11000,
                            },
                            path: "/*",
                        },
                    ]
                }
            }
        ],
    }
}, {dependsOn: [centralService]});
// const centralIngress = k8s.extensions.v1beta1.Ingress.get("central-ingress", `${namespace}/central-ingress`)

const centralAlbAddress = centralIngress.status.apply(
    (status) => status.loadBalancer.ingress[0].hostname
);
the service is installed by helm.
@cuddly-dusk-95227 the service is created by helm
c
is svc
central-http
healthy?
r
central-http NodePort 172.20.173.93 <none> 11000:31815/TCP 18h
I thought it is healthy
@cuddly-dusk-95227
hello