Kubernetes
Useful commands
node description
kubectl describe node master
pod description
kubectl -n kube-system get pod -o wide
kubeadmin config
kubectl -n kube-system get cm kubeadm-config -oyaml
remove evicted pods
kubectl get po -a --all-namespaces -o json | jq '.items[] | select(.status.reason!=null) | select(.status.reason | contains("Evicted")) | "kubectl delete po \(.metadata.name) -n \(.metadata.namespace)"' | xargs -n 1 bash -c
api
http://127.0.0.1:8080/api/v1/proxy/namespaces/kube-system/services/
Resources
- metalLB
-
a load-balancer implementation for bare metal Kubernetes clusters, using standard routing protocols.