-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Incosistnet tabs or new line characters are displayd when checking v1beta2 conditions of cluster resources #12031
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
Comments
This issue is currently awaiting triage. If CAPI contributors determine this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
When I check the conditions I see
Properly displayed where as
Only difference I see the multi line character (|-) infront of message |
Regarding
E.g. it does not split up conditions and it is hard to see which line is part of which condition. However, on top of that, Regarding I tried to reproduce your above output
But was not able to. For me a multi-line message in conditionns (including message: |-
The
multiline message For me it always rendered to: - lastTransitionTime: "2025-03-25T19:00:42Z"
message: |-
* Machine quick-start-cluster-class-4c5fzs:
* InfrastructureReady:
* VirtualMachineProvisioned: Provisioning
* NodeHealthy: Waiting for Cluster control plane to be initialized
* Control plane components: Waiting for Cluster control plane to be initialized
* EtcdMemberHealthy: Waiting for Cluster control plane to be initialized
observedGeneration: 3
reason: NotReady
status: "False"
type: ControlPlaneMachinesReady What makes me curious in your output is the additional I tried the following kubectl versions, all having the same output:
|
Thank you, I was trying with 1.29.3 V, May be I will upgrade the version and update the behavior. |
(For other readers) there's also discussion on the thread: https://kubernetes.slack.com/archives/C8TSNPY4T/p1742908238199499 It could also be that there is some weird escaping happening. It would be grate to see the representation from I doubt earlier versions of kubectl have a different output. |
Regarding:
It could be that #11990 fixed this behaviour. |
There's nothing we can do here. This depends on terminal width and could only be done in kubectl |
What steps did you take and what happened?
While creating a IBMPowerVSCluster, Observed some inconsistency in formatting of conditions and its hard to understand
What did you expect to happen?
Properly indent the condition messages
Cluster API version
Used tilt with latest main branch on 26th March.
Kubernetes version
Client Version: v1.31.2
Kustomize Version: v5.4.2
Server Version: v1.31.0
Anything else you would like to add?
Also observed some changes in IBMPowerVSMachine resource where a Message filed is randomly generated
for v1beta2 which I feel is confusing. Not sure if I missed some configurations while setting.
Label(s) to be applied
/kind bug
One or more /area label. See https://github.com/kubernetes-sigs/cluster-api/labels?q=area for the list of labels.
The text was updated successfully, but these errors were encountered: