Hello, has anyone experienced the following error? Im using Minikube in M1 chip Trying to install us...
a

Andrés Gutiérrez

about 1 year ago
Hello, has anyone experienced the following error? Im using Minikube in M1 chip Trying to install using Helm and helm-kubernetes-python template
Helm release "ingresscontroller-0a83a9fe" was created but has a failed status. Use the `helm` command to investigate the error, correct it, then retry. Reason: client rate limiter Wait returned an error: context deadline exceeded
This is my Python code:
import pulumi
import pulumi_kubernetes as kubernetes

config = pulumi.Config()
k8s_namespace = config.get("k8sNamespace", "default")
app_labels = {
    "app": "nginx-ingress",
}

# Create a namespace (user supplies the name of the namespace)
ingress_ns = kubernetes.core.v1.Namespace(
    "ingressns",
    metadata=kubernetes.meta.v1.ObjectMetaArgs(
        labels=app_labels,
        name=k8s_namespace,
    )
)

# Use Helm to install the Nginx ingress controller
ingresscontroller = kubernetes.helm.v3.Release(
    "ingresscontroller",
    chart="nginx-ingress",
    namespace=ingress_ns.metadata.name,
    repository_opts=kubernetes.helm.v3.RepositoryOptsArgs(
        repo="<https://helm.nginx.com/stable>",
    ),
    skip_crds=True,
    values={
        "controller": {
            "enableCustomResources": False,
            "appprotect": {
                "enable": False,
            },
            "appprotectdos": {
                "enable": False,
            },
            "service": {
                "extraLabels": app_labels,
            },
        },
    },
    version="0.14.1"
)

# Export some values for use elsewhere
pulumi.export("name", ingresscontroller.name)