Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while enabling ingress in minikube #11540

Closed
IndrajeetTech2020 opened this issue May 30, 2021 · 3 comments
Closed

Error while enabling ingress in minikube #11540

IndrajeetTech2020 opened this issue May 30, 2021 · 3 comments
Labels
addon/ingress kind/support Categorizes issue or PR as a support question.

Comments

@IndrajeetTech2020
Copy link

indrajeet@indrajeet-X540LA:~/Development$ minikube addons enable ingress
▪ Using image k8s.gcr.io/ingress-nginx/controller:v0.44.0
▪ Using image docker.io/jettech/kube-webhook-certgen:v1.5.1
▪ Using image docker.io/jettech/kube-webhook-certgen:v1.5.1
🔎 Verifying ingress addon...

❌ Exiting due to MK_ENABLE: run callbacks: running callbacks: [sudo KUBECONFIG=/var/lib/minikube/kubeconfig /var/lib/minikube/binaries/v1.14.0/kubectl apply -f /etc/kubernetes/addons/ingress-configmap.yaml -f /etc/kubernetes/addons/ingress-rbac.yaml -f /etc/kubernetes/addons/ingress-dp.yaml: exit status 1
stdout:
namespace/ingress-nginx unchanged
configmap/ingress-nginx-controller unchanged
configmap/tcp-services unchanged
configmap/udp-services unchanged
serviceaccount/ingress-nginx unchanged
clusterrole.rbac.authorization.k8s.io/ingress-nginx unchanged
clusterrolebinding.rbac.authorization.k8s.io/ingress-nginx unchanged
role.rbac.authorization.k8s.io/ingress-nginx unchanged
rolebinding.rbac.authorization.k8s.io/ingress-nginx unchanged
serviceaccount/ingress-nginx-admission unchanged
clusterrole.rbac.authorization.k8s.io/ingress-nginx-admission unchanged
clusterrolebinding.rbac.authorization.k8s.io/ingress-nginx-admission unchanged
role.rbac.authorization.k8s.io/ingress-nginx-admission unchanged
rolebinding.rbac.authorization.k8s.io/ingress-nginx-admission unchanged
service/ingress-nginx-controller-admission unchanged
service/ingress-nginx-controller unchanged
deployment.apps/ingress-nginx-controller configured
job.batch/ingress-nginx-admission-create unchanged
job.batch/ingress-nginx-admission-patch unchanged

stderr:
error: unable to recognize "/etc/kubernetes/addons/ingress-dp.yaml": no matches for kind "ValidatingWebhookConfiguration" in version "admissionregistration.k8s.io/v1"
]

╭─────────────────────────────────────────────────────────────────────────────╮
│ │
│ 😿 If the above advice does not help, please let us know: │
│ 👉 https://github.com/kubernetes/minikube/issues/new/choose
│ │
│ Please attach the following file to the GitHub issue: │
│ - /tmp/minikube_addons_a1ac1680e491a42b80edb3a9198c348f23a72656_0.log │

@dinever
Copy link
Contributor

dinever commented May 31, 2021

Hi @IndrajeetTech2020, thanks for reporting the issue!

minikube/binaries/v1.14.0/kubectl

It looks like you are running Kubernetes v1.14.0. However, igress-nginx>=0.40.0 requires Kubernetes v1.16 or newer: https://github.com/kubernetes/ingress-nginx/releases/tag/controller-v0.40.0

If possible, could you try upgrade the k8s cluster to a newer version and enable the addon again?

minikube start --kubernetes-version='stable'

@RA489
Copy link

RA489 commented Jun 7, 2021

/kind support

@k8s-ci-robot k8s-ci-robot added the kind/support Categorizes issue or PR as a support question. label Jun 7, 2021
@spowelljr
Copy link
Member

Hi @IndrajeetTech2020, we haven't heard back from you, do you still have this issue?
There isn't enough information in this issue to make it actionable, and a long enough duration has passed, so this issue is likely difficult to replicate.

I will close this issue for now but feel free to reopen when you feel ready to provide more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addon/ingress kind/support Categorizes issue or PR as a support question.
Projects
None yet
Development

No branches or pull requests

5 participants