open-horizon / anax

Horizon agent control system
https://open-horizon.github.io/docs/anax/docs/
Apache License 2.0
72 stars 99 forks source link

Agent-install.sh: Agent deploymnet stucks in ROKS cluster with mutiple nodes #3998

Open LiilyZhang opened 5 months ago

LiilyZhang commented 5 months ago

When installing agent on ROKS cluster with multiple nodes, but with storageclass supporting ReadWriteOnce, the installing process stucks during the deployment patch. This is because the new agent pod scheduled in a different nodes but the old agent pod is not tear down. The new agent pod will not be successful because PVC still binding to the old agent pod