Revert "Apply runtime class for kube-apiserver when installing ca cert"
This reverts commit3bf25e423c
. There is an issue when installing subclouds where kubeadm tries to execute kubernetes commands while kube-apiserver is restarting. The cause of the restart is executing the runtime class introduced in the reverted commit. The issue is intermittent. Change-Id: I332ea9257de3fdfa327c5405cb45bb414b422c23 Closes-Bug: 1955744 Signed-off-by: Jerry Sun <jerry.sun@windriver.com> (cherry picked from commitf671ec5ab6
)
This commit is contained in:
parent
6437316312
commit
aeec7da431
|
@ -12603,17 +12603,6 @@ class ConductorManager(service.PeriodicService):
|
|||
config_uuid,
|
||||
config_dict,
|
||||
force=True)
|
||||
|
||||
personalities = [constants.CONTROLLER]
|
||||
config_uuid = self._config_update_hosts(context, personalities)
|
||||
config_dict = {
|
||||
"personalities": personalities,
|
||||
"classes": ['platform::kubernetes::master::apiserver::runtime']
|
||||
}
|
||||
self._config_apply_runtime_manifest(context,
|
||||
config_uuid,
|
||||
config_dict)
|
||||
|
||||
elif mode == constants.CERT_MODE_DOCKER_REGISTRY:
|
||||
LOG.info("Docker registry certificate install")
|
||||
# docker registry requires a PKCS1 key for the token server
|
||||
|
|
Loading…
Reference in New Issue