sudo kubeadm init --pod-network-cidr=10.0.0.0/16 --ignore-preflight-errors=NumCPU
sudo curl -L https://github.com/wercker/stern/releases/download/1.10.0/stern_windows_amd64.exe -o /usr/local/bin/stern sudo chmod 755 /usr/local/bin/stern
stern <Pod名> # 正規表現OK
$ CLUSTER_NAME="kubernetes" $ kubectl config view -o jsonpath="{.clusters[?(@.name==\"$CLUSTER_NAME\")].cluster.server}" https://192.168.0.1:6443
kubectl api-resources
kubectl api-versions
source <(kubectl completion bash)
source <(kubectl completion zsh)
source /usr/local/opt/kube-ps1/share/kube-ps1.sh PS1='$(kube_ps1)'$PS1
Error from server (NotFound): the server could not find the requested resource (get services http:heapster:)