Experiencing another issue with istio1.1.1 where a gateway and vs that worked in 1.0.6 no longer work the same. The behavior I am observing is that randomly either the /osquery or /enroll endpoints returns no healthy upstream (per creation of the vs). ie if I delete the vs and recreate it, either the agent-config or the kafka-proxy seems to work, but not both (and on occasion neither work)
---
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: kafka-proxy-gateway
annotations:
kubernetes.io/ingress.class: external
spec:
selector:
istio: ingressgateway # use Istio default gateway implementation
servers:
- port:
number: 443
name: https-kakfa-ingress
protocol: HTTPS
hosts:
- "kafka-proxy.platformdev.aveng.net"
tls:
mode: SIMPLE
privateKey: /etc/istio/ingressgateway-certs/tls.key
serverCertificate: /etc/istio/ingressgateway-certs/tls.crt
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: kafka-proxy
spec:
hosts:
- "kafka-proxy.platformdev.aveng.net"
gateways:
- kafka-proxy-gateway
http:
- route:
- destination:
port:
number: 8080
name: http2-kafka-proxy
host: kafka-proxy.default.svc.cluster.local
match:
- uri:
prefix: /osquery
- route:
- destination:
port:
number: 8080
name: http2-agent-config
host: agent-config.default.svc.cluster.local
match:
- uri:
prefix: /enroll
- uri:
prefix: /configure