Replies: 1 comment
-
There is no "right" way to do conditions, they are implementation specific by design. Anything that treats an unknown condition is an error when the status is true is making an unchecked assumption. See the discussion at longhorn/longhorn#7290 (comment)
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I know #8033 added this condition to K3s, and that issue had comments about using an annotation vs a new status condition. But it seems that the new status condition is considered an error/issue by other applications.
Examples
My question, is do the other apps really have this wrong?
When I use Kubernetes LENS, it's a warning:
If I use k8sgpt its an error condition:
These are just a few tools I use, its probably likely that other tools report this issue as well.
I guess the k3s community has to open issues with other projects and try to explain / convince them the issue is with how they handle/report conditions to clean things up?
What if instead of K3s using a condition status of
True
(which I assume causes the confusion?)EtcdIsVoter: True
if it wasEtcdIsLearner: False
would that reduce the noise from other applications? (or was using an annotation a better option?)Beta Was this translation helpful? Give feedback.
All reactions