Open mohamedawnallah opened 1 month ago
Waiting for etcd
, the Karmada API server
, and the aggregated API server
to be ready is implemented by the functions runWaitEtcd
, runWaitKarmadaAPIServer
, and runWaitKarmadaAggregatedAPIServer
, respectively. Relevant comments can be updated to split this information across the three functions. Ask for @calvin0327 to confirm
Description
The comment in the
runWaitEtcd
function mentions that the function waits foretcd
,Karmada API server
, andaggregated API server
to be ready. However, the current implementation only waits for theetcd
pods based on theetcdLabels
. Is there anything I'm missing? Or the comment should be updated?https://github.com/karmada-io/karmada/blob/8cc712f698990251e20507f67604dd9a211a20a7/operator/pkg/tasks/init/etcd.go#L84-L100