Open grosser opened 9 months ago
Hi @grosser sorry for replying late. I see that in the script you provided, the goal is achieved by querying the status of the work, Is the information on the work insufficient?
the status on the work is good, but ideally it would be on the policy directly ... this might be hard to do, not sure, but for example nodes show their pods when they are described so I was hoping policies could do something similar because atm describing a policy does not really give an indication of how it's doing, you have to find all the work it spawned to see that
Thanks @grosser
If we follow this idea, the effect will be really great.
However, I understand that policy is only a configuration rule, which should be stateless. The propagation status of resources should be associated with the resources themselves, such as ResourceBinding objects and Work objects. There is a higher layer of resources that represent the propagation of resources and may require more user case input to make a decision.
How do you think? @RainbowMango @chaunceyjiang @whitewindmills
so I get if it's not universally available, but maybe a karmadactl propagationstatus cpp abc
,
was mostly hoping that someone would reply with "here is how we do this" :)
What would you like to be added: I want to know what is propagated by my policy and what the status of that propagation is (active or not) Ideally also propagation events/errors.
Why is this needed: Atm there is no nice way of viewing this and after changing a policy I wan to know if everything is ok.
POC script:
gives: