k8s | Pod Deletion | Basic
An article on a simple k8s pod logs using kubectl.
There are at times when we need to redploy a pod either we we'll use yaml file (in k8s | Pod | Intermediate) or simple cli delete and run. For that purpose we can use delete.
# Delete resources by file names, stdin, resources and names, or by resources and label selector.
kubectl delete pod <pod>
This command can also be used for testing out rolling deployments.
Thanks for reading till here ! 馃檹
Comments
Join the discussionNo comments yet. Be the first to comment.