Make kubeadm init and join output the same error after failing to wait for control plane components #3149
Labels
area/cli
kind/feature
Categorizes issue or PR as related to a new feature.
priority/backlog
Higher priority than priority/awaiting-more-evidence.
Milestone
Currently, during
kubeadm init
, if waiting for the control plane components to start fails, we output a templated error message.Ref: https://github.com/kubernetes/kubernetes/blob/50fc400f178d2078d0ca46aee955ee26375fc437/cmd/kubeadm/app/cmd/phases/init/waitcontrolplane.go#L39-L58
However, during
kubeadm join
, if waiting for the control plane components to start fails, we output a raw error message.Ref: https://github.com/kubernetes/kubernetes/blob/50fc400f178d2078d0ca46aee955ee26375fc437/cmd/kubeadm/app/cmd/phases/join/waitcontrolplane.go#L73-L77
We aim to ensure that
kubeadm init
andkubeadm join
output the same error message format when waiting for the control plane components to start fails.This can be implemented after the merge of kubernetes/kubernetes#129620.
The text was updated successfully, but these errors were encountered: