Solaris and Linux
Monday, June 8, 2026
Kubernetes Cluster Commands
kubectl cluster-info kubectl get nodes -o wide
Kubernetes Pod Commands
kubectl get pods kubectl get pods -o wide kubectl get pods -l
=
kubectl get pod
kubectl describe pod
kubectl logs
kubectl exec -it
-- /bin/bash kubectl delete pod
kubectl explain pod
Kubernetes Deployment Commands
kubectl create deployment
--image=
kubectl get deployments kubectl describe deployment
kubectl scale deployment
--replicas=
kubectl rollout restart deployment/
kubectl rollout status deployment/
kubectl create deployment
--image=
-o yaml kubectl create deployment
--image=
\ -o yaml --dry-run=client kubectl create deployment
--image=
\ -o yaml --dry-run=client > name.yaml ConfigMap and Secret Commands kubectl create configmap
\ --from-literal=
=
kubectl create secret generic
\ --from-literal=
=
kubectl get configmaps kubectl get secrets kubectl describe configmap
Namespace Commands
kubectl get namespaces kubectl create namespace
kubectl delete namespace
kubectl config set-context --current --namespace=
Resource Management Commands
kubectl apply -f
kubectl edit
kubectl delete -f
kubectl get
kubectl describe
kubectl get pods kubectl get deployments kubectl get services kubectl get nodes
Statistics and Events Commands
kubectl top nodes kubectl top pods kubectl events kubectl get events RBAC / Permissions Commands kubectl get roles kubectl get rolebindings kubectl get clusterroles kubectl get clusterrolebindings kubectl auth can-i create pods kubectl auth can-i '*' '*' kubectl get all kubectl get pods -A kubectl describe pod
kubectl logs
kubectl logs -f
kubectl get events --sort-by=.metadata.creationTimestamp kubectl cluster-info kubectl version
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment