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 changes with GA in 1.19 #14

Open
10 of 12 tasks
BretFisher opened this issue Jan 12, 2021 · 2 comments
Open
10 of 12 tasks

Ingress changes with GA in 1.19 #14

BretFisher opened this issue Jan 12, 2021 · 2 comments
Labels
deprecation update A fix for something that is outdated but not broken yet

Comments

@BretFisher
Copy link
Owner

BretFisher commented Jan 12, 2021

Reported by Daniel:

Ingress resource version has changed from networking.k8s.io/v1beta1 to networking.k8s.io/v1and the YAML spec has changed a bit. Update files and video:

Slides at https://slides.kubernetesmastery.com/#ingress

  • slides/k8s/ingress.md
  • slides/k8smastery/taints.md
  • slides/k8smastery/ingress.md

Manifests:

  • k8s/canary.yaml
  • k8s/ingress.yaml
  • k8s/redirect.yaml

Videos:

  • Create Lecture Note with comment
  • Update k8smastery.com/ic-nginx-lb.yaml k8smastery.com/ic-nginx-hn.yaml
  • 99: Creating Ingress Resources (we just need a new written lecture to indicate the change, no video re-recording)
  • 101: redirect.yaml uses old apiVersion but file is already updated @ 5:20
  • 102: kubectl describe output shows old apiVersion but this is a non-issue @ 2:43
  • 106: slides show ingress to be in beta @ 3:00 Add annotation and update slides

Old spec example

apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
  name: cheddar
spec:
  rules:
  - host: cheddar.A.B.C.D.nip.io
    http:
      paths:
      - path: /
        backend:
          serviceName: cheddar
          servicePort: 80

New spec example

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: cheddar
spec:
  rules:
  - host: cheddar.A.B.C.D.nip.io
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: cheddar
            port:
              number: 80
@BretFisher BretFisher added the bug Something isn't working label Jan 12, 2021
@BretFisher
Copy link
Owner Author

Several manifests updated via #17

@BretFisher BretFisher added deprecation update A fix for something that is outdated but not broken yet and removed bug Something isn't working labels Apr 8, 2021
@ivorscott ivorscott self-assigned this Jan 6, 2022
@ivorscott
Copy link
Collaborator

ivorscott commented Jan 7, 2022

1.19, 1.22 Changes to Ingress

Starting in version 1.19 (released Aug 2020), ingress has changed. Please update your apiVersion to networking.k8s.io/v1 for all ingress resources. The apiVersion networking.k8s.io/v1beta1 is removed in 1.22.

Updated slides

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deprecation update A fix for something that is outdated but not broken yet
Development

No branches or pull requests

2 participants