- Create multi node cluster
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
- role: worker
- role: worker
kind create cluster --name cpaas --config kind-config.yaml
- kubectl get replicaset
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
- role: worker
- role: worker
kind create cluster --name cpaas --config kind-config.yaml
If you disabled automatic sidecar injection during installation and rely on manual sidecar injection, use the istioctl kube-inject command to modify the bookinfo.yaml file before deploying your application.
$ kubectl apply -f <(istioctl kube-inject -f samples/bookinfo/platform/kube/bookinfo.yaml)
k debug --image aylei/debug-agent:latest echoserver-6944fb9c86-rvcst to attach a debugging containerkubectl exec -ti echoserver-6944fb9c86-rvcst -c debugger-h92xm sh