'What is the default ingress controller type?
We are deploying azure ingress.
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: name1
annotations:
kubernetes.io/ingress.class: nginx
spec:
rules:
If we do not explicitly mention ingress class(kubernetes.io/ingress.class:) in the manifest, what would be the default ingress controller type?
Nginx documentation says default as N/A. https://docs.nginx.com/nginx-ingress-controller/configuration/ingress-resources/advanced-configuration-with-annotations/
Solution 1:[1]
If you do not specify any ingress class explicitly, the value is omitted. You can specify a default ingress class for your cluster as you can read here.
You should also migrate to the IngressClassName field as the annotation is deprecated.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Philip Welz |
