1

I have a Kubernetes namespace that is stuck on Terminating. I've read that it's probably due to finalizers. When I run kubectl get namespace $NAMESPACE -o json I get the following finalizer:

"finalizers": [
    "kubernetes"
]

I can't find any documentation on this finalizer. Is it a built-in Kubernetes finalizers or does it come from somewhere else?

velizar
  • 31
  • 4

1 Answers1

1

It's kubernetes built-in and is there to ensure all objects are deleted. Is there anything at all in the namespace?

The resolution is here, although this can leave stranded resources

Read the last few comments on this

Wytrzymały Wiktor
  • 11,492
  • 5
  • 29
  • 37
eamon1234
  • 1,555
  • 3
  • 19
  • 38