<pre><code>[root@vpct-k8s-1 kubernetes]# kubectl get pods --all-namespaces
NAMESPACE     NAME               READY     STATUS    RESTARTS   AGE
kube-system   kube-ui-v2-ck0yw   0/1       Pending   0          1h

[root@vpct-k8s-1 kubernetes]# kubectl get rc --all-namespaces
NAMESPACE     CONTROLLER   CONTAINER(S)   IMAGE(S)                               SELECTOR                REPLICAS      AGE
kube-system   kube-ui-v2   kube-ui        gcr.io/google_containers/kube-ui:v2   k8s-app=kube-ui,version=v2   1          1h
</code></pre>

<p>Can't delete pods in pending state? </p>

<pre><code>kubectl get ns
kubectl get pods --all-namespaces
kubectl get deployment -n (namespacename)
kubectl get deployments --all-namespaces
kubectl delete deployment (podname) -n (namespacename)
</code></pre>
