kubean icon indicating copy to clipboard operation
kubean copied to clipboard

bug/feature: add retry when kubean-operator read related configmap, to avoid failure when create cluster

Open wenting-guo opened this issue 2 years ago • 1 comments

Describe the version version about:

  1. kubean v0.2.7

  2. Probability low accidental

  3. steps: 3.1 prepare the 4 yaml files(vars- in one folder and excute "kubectl apply -f ./" 3.2 the kubean-operator received the create cluster event, but can not read related configmap 3.3 excute cmd: "kubectl -n kubean-system get cm" to check whether the cm is exists. 3.4 excute cmd" kubectl delete -f ${installYamlPath}" , and then reapply the folder 3.5 every thing goes right, and the cluster created successfully

  4. suggestion : kubean should guarantee the cm is created before the clusterops (or add retry when operator read the cm)

image

wenting-guo avatar Oct 17 '22 10:10 wenting-guo

/kind feature

wenting-guo avatar Oct 17 '22 10:10 wenting-guo

/kind bug /priority important-soon

YunShiHang avatar Oct 20 '22 03:10 YunShiHang

/priority important-soon

wenting-guo avatar Oct 25 '22 07:10 wenting-guo

the bug still exists

wenting-guo avatar Oct 25 '22 08:10 wenting-guo