Skip to content

Commit 8f53e61

Browse files
authored
Merge pull request #123792 from goatsheddigital/patch-1
Update ingress-controller-troubleshoot.md
2 parents b7f9855 + fa78676 commit 8f53e61

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

articles/application-gateway/ingress-controller-troubleshoot.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,17 @@ metadata:
6565
annotations:
6666
kubernetes.io/ingress.class: azure/application-gateway
6767
spec:
68-
ingressClassName: azure-application-gateway
68+
#ingressClassName: azure-application-gateway # according to the AGIC setup guide, annotations are the approach to set the class
6969
rules:
7070
- host: test.agic.contoso.com
7171
http:
7272
paths:
7373
- path: /
74+
pathType: Prefix
7475
backend:
75-
serviceName: test-agic-app-service
76-
servicePort: 80
76+
name: test-agic-app-service
77+
port:
78+
number: 80
7779
EOF
7880
```
7981

0 commit comments

Comments
 (0)