Replies: 2 comments 3 replies
-
@slehlib Hello and welcome! The annotations you are using for your Ingress resource:
Are for a different NGINX Ingress controller. That is the community project. Take a look at our document on using NGINX Ingress controller with Istio service mesh https://docs.nginx.com/nginx-ingress-controller/tutorials/nginx-ingress-istio/ HTH |
Beta Was this translation helpful? Give feedback.
3 replies
-
closing as stale |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have some question about nginx controler with istio when mtls is set enforced
kubernetes v1.27.4
istioctl version
client version: 1.19.0
control plane version: 1.19.0
data plane version: 1.19.0 (21 proxies)
nginx-ingress:3.2.1
in my kubernetes cluster i have 3 namespaces: istio-system, prometheus and nginx-ingress, il try to run all internal traffic are MTLS but when a active peerauthentificat STRIC beetwen prometheus and nginx
i add this annotation on my nginx daemonset
sidecar.istio.io/inject: "true"
traffic.sidecar.istio.io/excludeInboundPorts: 80,443
traffic.sidecar.istio.io/excludeOutboundIPRanges: 10.233.0.1/16
traffic.sidecar.istio.io/includeInboundPorts: ""
and in my ingress for prometheus
nginx.ingress.kubernetes.io/service-upstream: "true"
nginx.ingress.kubernetes.io/upstream-vhost: prometheus-server.prometheus.svc.cluster.local
if i remove mtls stric on prometheus namespaces :
> GET / HTTP/1.1
> Host: prometheus-qualif.infra
> User-Agent: curl/7.50.3
> Accept: /
>
< HTTP/1.1 302 Found
< Server: nginx/1.25.2
< Date: Thu, 12 Oct 2023 17:02:36 GMT
< Content-Type: text/html; charset=utf-8
< Content-Length: 29
< Connection: keep-alive
< location: /graph
< x-envoy-upstream-service-time: 0
< x-envoy-peer-metadata-id: sidecar
10.233.119.8prometheus-server-58f4d79c6-rwt4b.prometheus~prometheus.svc.cluster.local< x-envoy-peer-metadata:
Any solution to use mtls enforced
thanks
Beta Was this translation helpful? Give feedback.
All reactions