12.4Istio核心功能实践-部署bookinfo_batch
$ kubectl label namespace default istio-injection=enabledkubectl get namespaces --show-labels$ kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml$ kubectl apply -f samples/bookinfo/networking/bookinfo-gateway.yamlapiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: httpbin-gateway
spec:
selector:
istio: ingressgateway # use Istio default gateway implementation
servers:
- port:
number: 80
name: http
protocol: HTTP
hosts:
- "httpbin.example.com"
EOFLast updated