3 months ago
    I'm trying to create an ingress for an application using
    new k8s.networking.v1.Ingress
    and am failing the
    pulumi up
    with this error:
    kubernetes:<|> (api-ingress):
        error: resource test/api-ingress was not successfully created by the Kubernetes API server : admission webhook "" denied the request: invalid ingress class: <|> "alb" not found
    The way I have set it up is extremely similar to this blog post: Does anyone have any idea what is going wrong?
    It might be worth mentioning that if
    pulumi up
    is run a second time it results in a different yet similar set of errors.


    3 months ago
    It's what's on the tin. the
    ingress class doesn't exist in your cluster. log into it and run
    kubectl get Ingressclasses
    and report back what's in there. Some providers like GKE don't ship an actual ingress class into the target cluster, instead it infers it from the default. Try removing whatever annotation you have in your config that specifies an ingress class, and give the AWS documentation a read to learn more about how ingress classes are configured on your ingress