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

Ingress Api Update again #1

Open
goldfinger3 opened this issue Jan 19, 2022 · 0 comments
Open

Ingress Api Update again #1

goldfinger3 opened this issue Jan 19, 2022 · 0 comments

Comments

@goldfinger3
Copy link

Ingress api has changed from networking.k8s.io/v1beta1 to networking.k8s.io/v1 with Kubernetes v1.19

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata: 
  name: hello-kubernetes
  annotations:
    kubernetes.io/ingress.class: addon-http-application-routing
spec:
  defaultBackend:
    service:
      name: hello-kubernetes
      port:
        number: 80
  rules:
    - http:
        paths:
        - path: /
          pathType: Prefix
          backend:
            service:
              name: hello-kubernetes
              port: 
                number: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant