PostList

2019년 3월 27일 수요일

Inject Istio to Kubernet manifast

1. Options:
   1) Use Istioctl
   2) Mark Namespace

2. Option 1 - Use Istioctl
istioctl kube-inject -f samples/bookinfo/platform/kube/bookinfo.yaml | less

3. Option 2 - Mark Namespace
run:
kubectl label namespace default istio-injection=enabled

check label section:
kubectl get ns default -o yaml

check pod info. check annotations and an istio image:
kubectl get pods
kubectl describe pod/ubuntu-6d97966568-s8669 


댓글 없음:

댓글 쓰기