Welcome to the Linux Foundation Forum!

Labs 4.2 cleanup deployment limited-hog

Options

Hi!
When cleaning up resources in 4.2, shouldn't limited-hog not be deleted? This is still running..

vagrant@master1:~$ kubectl get deployments --all-namespaces
NAMESPACE         NAME                      READY   UP-TO-DATE   AVAILABLE   AGE
kube-system       calico-kube-controllers   1/1     1            1           10h
kube-system       coredns                   2/2     2            2           10h
low-usage-limit   limited-hog               1/1     1            1           50m
vagrant@master1:~$ kubectl -n low-usage-limit delete deployment limited-hog
deployment.apps "limited-hog" deleted

Thanks

Comments

  • chrispokorni
    chrispokorni Posts: 2,165
    Options

    Hi @Doublethink,

    Good catch! Thanks for your feedback!

    There should be a separate kubectl delete command for the limited-hog deployment running in the low-usage-limit namespace.

    Regards,
    -Chris

Categories

Upcoming Training