Replies: 1 comment
-
Hey @MasterofTofu If I understand you correctly, I'd say this is either possible or a misconception 😁 If you just want to monitor stuff, you can use the operator like normal and just watch for your CRD. When the reconcile loop runs, you can use your logger and whatnot and just hold a reference to the UID of the instance. So basically, what you describe is normally the way you use an operator (if I understand correctly) |
Beta Was this translation helpful? Give feedback.
-
Hi there,
Is it possible for me to use a class that instantiated only once per CRD? This class behaves as a monitor/supervisor for the app running inside my pods. The app itself is clustered (meaning the pods are joined together into this app's cluster), and I need to be able to monitor and react to state changes within it. I do not need to know the state of the Kubernetes cluster from within the app.
This class needs to:
Is it possible to do this? How might I implement it?
Thanks for this awesome SDK by the way. It has saved us a lot of development work. 😎
Regards,
Ian
Beta Was this translation helpful? Give feedback.
All reactions