Tuesday 21 July 2020

Kubernetes: Deleting all the pods in a namespace

Syntax

kubectl delete pods --all -n {namespace}

 

For example, below statement delete all the pods in the namespace ‘data-platform’.

kubectl delete pods --all -n data-platform



Previous                                                    Next                                                    Home

No comments:

Post a Comment