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

Deprecated annotation kubernetes.io/ingress.class notice for ingress chart #3523

Open
t83714 opened this issue May 14, 2024 · 0 comments
Open

Comments

@t83714
Copy link
Contributor

t83714 commented May 14, 2024

Deprecated annotation kubernetes.io/ingress.class notice for ingress chart

https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/

Deprecating the Ingress Class Annotation
Before the IngressClass resource was added in Kubernetes 1.18, a similar concept of Ingress class was often specified with a kubernetes.io/ingress.class annotation on the Ingress. Although this annotation was never formally defined, it was widely supported by Ingress controllers, and should now be considered formally deprecated.

https://cloud.google.com/kubernetes-engine/docs/concepts/ingress#controller_summary

CleanShot 2024-05-14 at 14 59 08@2x

Although the kubernetes.io/ingress.class annotation is deprecated in Kubernetes, GKE continues to use this annotation.
You cannot use the ingressClassName field to specify a GKE Ingress. You must use the kubernetes.io/ingress.class annotation.

Technical notes

The warning message won't cause any functionality issues. But when we want to remove it, we will need a solution to accommodate both GKE ingress and third-party ingress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant