mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-10 12:32:03 +00:00
Fixes 47182
This adds additional state guardsof the idle_status method, which will prevent it from being run until a worker has joined the relationship. Previous invocations may have some message artifacting, but will reach eventual consistency once a worker has joined. This prevents the polling loop from executing too soon, bloating the installation time by bare-minimum an additional 10 minutes.
This commit is contained in:
parent
2bcd3d1a01
commit
678c4bc8d4
@ -284,7 +284,8 @@ def set_app_version():
|
||||
hookenv.application_version_set(version.split(b' v')[-1].rstrip())
|
||||
|
||||
|
||||
@when('cdk-addons.configured')
|
||||
@when('cdk-addons.configured', 'kube-api-endpoint.connected',
|
||||
'kube-control.connected')
|
||||
def idle_status():
|
||||
''' Signal at the end of the run that we are running. '''
|
||||
if not all_kube_system_pods_running():
|
||||
|
Loading…
Reference in New Issue
Block a user