Skip to content

Kubernetes

docker info | grep -i cgroup
#
kubectl cluster-info
kubectl config view
kubectl get nodes
kubectl get pods -n kube-system -o wide
#
kubectl get events --namespace=kube-system
#
kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml
kubectl apply -f https://docs.projectcalico.org/manifests/calico.yaml
#
kubeadm token create --print-join-command
#
kubectl get ingress -A
kubectl get componentstatuses

Calico

Vendor: https://docs.projectcalico.org/getting-started/kubernetes/self-managed-onprem/onpremises

calicoctl get ippools
#
calicoctl create -f pool1.yaml
#
calicoctl delete ippool pool1

Secrets

kubectl get secret awx-admin-password -o jsonpath="{.data.password}" | base64 --decode