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

Set up Ingress on Minikube with the NGINX Ingress Controller- Minikube runs version of k8s incompatible with ingress sample #29606

Closed
sanguis opened this issue Sep 2, 2021 · 6 comments
Labels
triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@sanguis
Copy link

sanguis commented Sep 2, 2021

In the guid on
https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/
The version of minikube spun up is version 1.17 while the example ingress is agains the api provided by minikube 1.19 and up.
The ingress that works is.

apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
  name: example-ingress
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /$1
spec:
  rules:
    - host: hello-world.info
      http:
        paths:
          - path: /
            backend:
              serviceName: web
              servicePort: 8080

I know it would be better to get a modern minikube going but this is a fix for now

@k8s-ci-robot k8s-ci-robot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Sep 2, 2021
@niteshseram
Copy link
Contributor

Similar issue #29204

@RA489
Copy link

RA489 commented Sep 6, 2021

/triage accepted

@k8s-ci-robot k8s-ci-robot added triage/accepted Indicates an issue or PR is ready to be actively worked on. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Sep 6, 2021
@RA489
Copy link

RA489 commented Sep 6, 2021

the latest release of minikube solve this problem kubernetes/minikube#12089

@sftim
Copy link
Contributor

sftim commented Sep 7, 2021

Looks like #29616 would fix this.

@sftim
Copy link
Contributor

sftim commented Sep 7, 2021

Looks to be fixed in #29616
/close

@k8s-ci-robot
Copy link
Contributor

@sftim: Closing this issue.

In response to this:

Looks to be fixed in #29616
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

No branches or pull requests

5 participants