kubernetes_commands
kubernetes_commands
1. kubectl get
- List Pods:
- List Services:
- List Nodes:
2. kubectl describe
- Describe a Pod:
- Describe a Service:
3. kubectl create
- Create a Deployment:
4. kubectl apply
Applies a configuration to a resource, either creating or updating it.
5. kubectl delete
- Delete a Pod:
- Delete a Service:
6. kubectl logs
7. kubectl exec
8. kubectl scale
- Scale a Deployment:
9. kubectl expose
Exposes a resource (like a Pod or Deployment) as a Service.
- Check Version:
kubectl version
- Rollback a Deployment: