Skip to content

Instantly share code, notes, and snippets.

@olvesh
Created November 21, 2016 20:48
Show Gist options
  • Save olvesh/bae13f026c862fbf77566027a49945ed to your computer and use it in GitHub Desktop.
Save olvesh/bae13f026c862fbf77566027a49945ed to your computer and use it in GitHub Desktop.
Reappearing namespaces
# kubectl get ns -o wide
NAME STATUS AGE
cust1-first Terminating 6h
cust1-second Terminating 6h
default Active 6d
dev Terminating 6h
kube-system Active 6d
prod Terminating 6h
qa Terminating 6h
spinnaker Active 6d
# kubectl delete namespaces cust2-second cust2-first dev prod qa cust1-first cust1-second
Error from server: namespaces "cust2-second" not found
Error from server: namespaces "cust2-first" not found
Error from server: namespaces "dev" not found
Error from server: namespaces "prod" not found
Error from server: namespaces "qa" not found
Error from server: namespaces "cust1-first" not found
Error from server: namespaces "cust1-second" not found
(olvesh)-(jobs:0)-(~/utvikling/vimond-k8s-clusters/deploy.k8s.vops.io/traefik)
(! 630) (master)# kubectl get ns -o wide
NAME STATUS AGE
default Active 6d
kube-system Active 6d
spinnaker Active 6d
# kubectl get ns -o wide
NAME STATUS AGE
cust1-first Active 5m
cust1-second Active 5m
cust2-first Active 5m
cust2-second Active 5m
default Active 6d
dev Active 5m
kube-system Active 6d
prod Active 5m
qa Active 5m
spinnaker Active 6d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment