Skip to content

Unable to deploy ingress-nginx helm chart on v33 #2145

@tyrius02

Description

@tyrius02

I am attempting to install ingress-nginx via helm using v33:

aws_eks.HelmChart(
    self,
    "Ingress-NGINX",
    cluster=self.eks_cluster,
    chart="ingress-nginx",
    release="ingress-nginx",
    repository="https://kubernetes.github.io/ingress-nginx",
    version="4.13.0",
    namespace="ingress-nginx",
    create_namespace=True,
    values={
        "controller.service.type": "LoadBalancer",
        "controller.service.annotations.service\\.beta\\.kubernetes\\.io/aws-load-balancer-type": "nlb",
    }
)

Unfortunately the deployment fails with this message:

XXXXXXXXX failed: ToolkitError: The stack named XXXXXXXXX failed to deploy: UPDATE_ROLLBACK_COMPLETE: Received response status [FAILED] from custom resource. Message returned: Error: b'Error: UPGRADE FAILED: failed to create resource: Deployment.apps "ingress-nginx-controller" is invalid: spec.progressDeadlineSeconds: Invalid value: 0: must be greater than minReadySeconds\n'

ingress-nginx points the finger at Helm (see kubernetes/ingress-nginx#13537 (comment)) which Helm confirms (see helm/helm#30878)

Bumping Helm to 3.18.1 (or later) should resolve the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions