![](/img/trans.png)
[英]Azure Application Gateway Multisite listener through Application Gateway Ingress Controller
[英]Azure Application Gateway Ingress Controller not reaching Service(CLusterIP)
在这里,我已经解释了这个场景。 我可以使用 nginx 入口到达 clusterIP 但我无法使用 Azure 应用程序网关入口到达相同的服务。 波纹管注释对我没有帮助
appgw.ingress.kubernetes.io/rewrite-target: /
任何想法?
确保将以下注释添加到示例入口。
appgw.ingress.kubernetes.io/use-private-ip: "false"
kubernetes.io/ingress.class: azure/application-gateway
您可以在此处查看完整列表和示例。
您使用了错误的注释。 我已经用正确的注释更新了你的入口:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: example-ingress
annotations:
kubernetes.io/ingress.class: azure/application-gateway
appgw.ingress.kubernetes.io/backend-path-prefix: "/"
spec:
rules:
- http:
paths:
- path: /apple/*
pathType: Prefix
backend:
service:
name: apple-service
port:
number: 5678
在此处查看所有 AGIC 注释
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.