Skip to content

Custom operator for when a k8s namespace is being deleted (in Terminating State) #495

Answered by buehler
gojanpaolo asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @gojanpaolo

The normal namespace resource is already defined in the Kubernetes library.
You can use the V1Namespace (IIRC it is called so) and then create a controller for that resource:

public class NsCtrl : IResourceController<V1Namespace>
{
}

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@gojanpaolo
Comment options

@buehler
Comment options

@gojanpaolo
Comment options

Answer selected by buehler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants