Search code examples
kuberneteskubernetes-ingressvoyager

Failed to create nodeport error, after deploying ingress


Failed to create NodePort error, after deploying ingress

I have an ingress defined as in the screenshot:

Screenshot

The 2 replicas of an Ingress server are not spinning due to the Failed to create NodePort error. Please advice


Solution

  • Just like the error says. You are missing the NodePortPods CRD. It looks like that CRD existed at some point in time. But I don't see it anymore in the repo. You didn't specify how you deployed the ingress operator but you can make sure you install the latest.

    helm repo add appscode https://charts.appscode.com/stable/
    helm repo update
    helm search repo appscode/voyager --version v13.0.0
    # Generate the template to check or use helm install
    helm template voyager-operator appscode/voyager --version v13.0.0 --namespace kube-system  --no-hooks --set cloudProvider=baremetal 👈 Use the right cloud provider
    

    ✌️