https://pulumi.com logo
#kubernetes
Title
# kubernetes
v

victorious-exabyte-70545

06/23/2022, 6:23 PM
Hi guys, I just got this error when updating my ingress controller:
Copy code
kubernetes:<http://helm.sh/v3:Release|helm.sh/v3:Release> (ingress-nginx-helm):
    error: uninstall: Release not loaded: ingress-nginx-helm-zy7cpt64: release: not found
Copy code
ingress = IngressController(
    'ingress-nginx',
    helm_options=ReleaseArgs(
        namespace="ingress",
        version="4.1.3"
    ),
    controller=ControllerArgs(
        service=ControllerServiceArgs(
            annotations={
                "<http://service.beta.kubernetes.io/azure-dns-label-name|service.beta.kubernetes.io/azure-dns-label-name>": f"{environment}ingress"
            }
        ),
        replica_count=2,
        publish_service=ControllerPublishServiceArgs(
            enabled=True,
        ),
        ingress_class_resource=ControllerIngressClassResourceArgs(
            enabled=True,
            name="external"

        )
    ),
    opts=ResourceOptions(protect=True, provider=k8s_provider, depends_on=[
        namespace, aks])
I added
Copy code
ingress_class_resource=ControllerIngressClassResourceArgs(
            enabled=True,
            name="external"

        )
So looks like new controller nginx pods were created and it is having an issue uninstalling the old ingress-nginx?
Also see this
Copy code
-  kubernetes:<http://helm.sh/v3:Release|helm.sh/v3:Release> ingress-nginx-helm delete completing deletion from previous update
I ended up deleting and recreating the resource.
8 Views