CpnAhab
CpnAhab

Reputation: 169

Kubernetes namespace terminates/disappears when all its pods are deleted

Kubernetes namespace terminates/disappears when all its pods are deleted. I created a secret in that namespace, which is now gone. Is that normal behavior? It doesn't seem right. Why should it disappear just because empty?

Upvotes: 1

Views: 685

Answers (1)

P Ekambaram
P Ekambaram

Reputation: 17615

namespace is a logical grouping of resources for a specific application or services. resources can be deleted from a namespace. it doesn't automatically delete the namespace. You must be doing something different.

Upvotes: 1

Related Questions