hostname elliot-01 echo elliot-01 > /etc/hostname bash curl -fsSL https://get.docker.com | bash docker version docker ps echo "deb http://apt.kubernetes.io/ kubernetes-xenial main" > /etc/apt/sources.list.d/kubernetes.list curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - apt-get update apt-get install kubelet kubectl kubeadm kubectl version kubeadm config images pull kubeadm init kubectl get nodes kubectl apply -f "https://cloud.weave.works/k8s/net?k8s-version=$(kubectl version | base64 | tr -d '\n')" kubectl get nodes kubectl get pods kubectl get pods --all-namespaces kubectl get nodes kubectl get pods --all-namespaces kubectl get nodes source <(kubectl completion bash) ls curl -L https://istio.io/downloadIstio | sh - istioctl export PATH="$PATH:/root/istio-1.5.0/bin" ls ls istio-1.5.0/bin/istioctl istioctl history ls c istio-1.5.0/ cd istio-1.5.0/ ls istioctl manifest apply --set profile=demo kubectl label namespace default istio-injection=enabled kubectl get namespaces kubectl get namespaces default -o yaml ls cd samples/ ls cd .. ls kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml vim samples/bookinfo/platform/kube/bookinfo.yaml kubectl get pods -n istio-system history kubectl apply -f samples/bookinfo/networking/bookinfo-gateway.yaml # kubectl describe gateway bookinfo-gateway kubectl port-forward svc/kiali 20001:20001 -n istio-system --address 0.0.0.0 kubectl port-forward svc/kiali 20001:20001 -n istio-system --address 0.0.0.0kubectl apply -f samples/bookinfo/networking/bookinfo-gateway.yaml # kubectl describe gateway bookinfo-gateway kubectl port-forward svc/kiali 20001:20001 -n istio-system --address 0.0.0.0