-
Notifications
You must be signed in to change notification settings - Fork 923
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ResourceBinding claims FullyApplied when not healthy #5867
Comments
Hi @a7i long time no see :) I think I understand what you're saying, and I'm wondering if we could add a condition to express the state you want, like HealthRunning(One of my random ideas), so that FullyApplied still means that the resource is distributed successfully. In this way, the state we describe will be richer. |
Hi @XiShanYongYe-Chang then I misunderstood the intent of |
Is that convenient? I mean, there's a layer of calculation to go through when querying. Would it be better to have a condition to describe this? |
Should be fine for us. If you think that the community can benefit from such conditions, I'm happy to contribute something. I would assume that we need 3 condition reasons:
|
Let's go at your pace, and if you need it, let's add it. |
Hi @a7i, How do you use Karmada now? Is it used in production? |
Can we close this issue @a7i ? |
we're still in staging at the momoent, but plan on going to production next year
I have not, I doubt my company will cover any expenses to send me to EU :)
Yes, thank you for your support on this! 🙌🏼 |
Thanks for your reply @a7i :) |
What happened:
The ResourceBinding claims FullyApplied even when the work status in unhealthy.
What you expected to happen:
Resourcebinding to claim FullyApplied ONLY when work status is considered healthy.
How to reproduce it (as minimally and precisely as possible):
I have a Health Interpreter that basically looks for a condition called 'ChangeApplied' to be
"True"
:It appears that ResourceBinding is marked as fully applied, even through the
resource status is not considered healthy (per my customized interpreter).
Note
.status.conditions[1]
The manifest is the final state where the operator actually catches up. So this state is correct, but per above, it was claimed FullyApplied when it shouldn't have been.
Anything else we need to know?:
Environment: Kubernetes 1.29
kubectl-karmada version
orkarmadactl version
):The text was updated successfully, but these errors were encountered: