Generate Event #306
-
|
Hello, In our previous cluster cleaning tool kube-janitor, event were generated when a ressource is deleted. It was useful because the users of our cluster can see what ressources was deleted if they wanted to investigate a problem. Is it possible to have the behavior with K8S Cleaner at this time ? Thank you in advance for your time. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
|
Currently k8s-cleaner evaluates Cleaner instance based on Now, uf I am reading your request correctly, you want an event to be generated when a resource is deleted/modified (at the time the resource is deleted/modified). That is then something cleaner is not designed to do. Sveltos can be programmatically told to watch for any conditions (like resource modified/deleted) and generate and event as soon as conditions happen. |
Beta Was this translation helpful? Give feedback.
-
|
To ask cleaner to generate Events for matching resources add events to notifications section Here is an example of Event that will be generated It reports:
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
I will take care of it early next week. Thank you!