March 2020
Intermediate to advanced
626 pages
14h 45m
English
To enable our httpbin application so that it can use simple TLS authentication, follow these simple steps:
# Script : 02-create-virtual-service-for-httpbin.yamlapiVersion: networking.istio.io/v1alpha3kind: VirtualServicemetadata: name: httpbinspec: hosts: - httpbin.istio.io gateways: - mygateway http: - match: - uri: prefix: / - uri: prefix: /status - uri: prefix: /delay route: - destination: host: httpbin.istio-lab.svc.cluster.local subset: v1 port: number: 8000 weight: 100
$ kubectl -n istio-system apply -f 02-create-virtual-service-for-httpbin.yaml ...
Read now
Unlock full access