Certified Kubernetes Administrator (CKA) with Practice Tests (강의 링크, 레퍼런스 노트)
curl http://web-service-ip:node-port
kubectl describe service [서비스명]
kubectl get pod
kubectl describe pod [pod명]
kubectl logs [pod명] -f --previous
kubectl get nodes
kubectl get pod
kubectl get pod -n kube-system
service kube-apiserver status
service kube-controller-manager status
service kube-scheduler status
service kubelet status
service kube-proxy status
kubectl logs [pod명] -n kube-system
sudo journalctl -u kube-apiserver
kubectl get nodes
kubectl describe node [노드명]
ssh [노드명] service kubelet restart
top
df -h
service kubelet status
sudo journalctl -u kubelet
openssl x509 -in /var/lib/kubelet/[노드명].crt -text
kubectl -n kube-system get ep kube-dns
netstat -plan | grep kube-proxy
alias k=kubectl
kubectl scale deployment [deploy명] --replicas=[개수]
curl -L https://github.com/weaveworks/weave/releases/download/latest_release/weave-daemonset-k8s-1.11.yaml | kubectl apply -f -