File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -12,27 +12,26 @@ To use a custom ingress class,
1212 helm install ./helm/ingress-azure \
1313 --name ingress-azure \
1414 -f helm-config.yaml
15- --set kubernetes.ingressClass arbitrary-class
15+ --set kubernetes.ingressClass arbitrary-class
1616 ```
1717
18- 2. Then, change your ingress manifest ' s `kubernetes.io/ingress.class` annotation to match the value provided to AGIC.
18+ 2. Then, within the spec object, specify ` ingressClassName ` with the same value provided to AGIC.
1919 ` ` ` yaml
2020 kind: Ingress
2121 metadata:
2222 name: go-server-ingress-affinity
2323 namespace: test-ag
24- annotations:
25- kubernetes.io/ingress.class: arbitrary-class
2624 spec:
27- rules:
28- - http:
25+ ingressClassName: arbitrary-class
26+ rules:
27+ - http:
2928 paths:
30- - path: /hello/
29+ - path: /hello/
3130 backend:
32- service:
31+ service:
3332 name: store-service
3433 port:
35- number: 80
34+ number: 80
3635 ` ` `
3736
3837# # Reference
You can’t perform that action at this time.
0 commit comments