commit a1b99570ae0fd387cb0fe975d8974dcb4edbf367
Author: Mihnea Saracin <email address hidden>
Date: Sat Dec 4 17:12:27 2021 +0200
Wait for kube apiserver after apply service parameter
When doing a: "system service-parameter-apply kubernetes"
the kube apiserver will be restarted but the service
parameter command will return regardless of the apiserver
state. And if we run some 'kubectl' commands after that, they will
fail until the apiserver is back online.
To avoid these bad scenarios, we will wait for the kube apiserver
to be up after we apply the service parameter.
Reviewed: https:/ /review. opendev. org/c/starlingx /stx-puppet/ +/820418 /opendev. org/starlingx/ stx-puppet/ commit/ a1b99570ae0fd38 7cb0fe975d8974d cb4edbf367
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit a1b99570ae0fd38 7cb0fe975d8974d cb4edbf367
Author: Mihnea Saracin <email address hidden>
Date: Sat Dec 4 17:12:27 2021 +0200
Wait for kube apiserver after apply service parameter
When doing a: "system service- parameter- apply kubernetes"
the kube apiserver will be restarted but the service
parameter command will return regardless of the apiserver
state. And if we run some 'kubectl' commands after that, they will
fail until the apiserver is back online.
To avoid these bad scenarios, we will wait for the kube apiserver
to be up after we apply the service parameter.
Closes-Bug: 1953183 3a06f268c904680 f30c40b5d44
Change-Id: Ic3cc3728a8eb36
Signed-off-by: Mihnea Saracin <email address hidden>