From 153882b153431f21bccd0f196eb3eaf27e689d3c Mon Sep 17 00:00:00 2001 From: Matt McEuen Date: Mon, 13 Jan 2020 22:46:50 -0600 Subject: [PATCH] Remove kubelet restart from join.sh The kubelet restart at the end of the join script appears to be unnecessary, since the only action taken by the script between that and the previous kubelet start is node labelling (which doesn't require a kubelet restart). In addition, the timing of this restart may be triggering a kubernetes state synchronization bug, where a pod's status isn't updated to reflect the readiness of all of its containers. Change-Id: I480d1b345e5ddcce0cac961ff9c2b76526c5b76f --- promenade/templates/scripts/join.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/promenade/templates/scripts/join.sh b/promenade/templates/scripts/join.sh index 88dfa6e8..180bfc8b 100644 --- a/promenade/templates/scripts/join.sh +++ b/promenade/templates/scripts/join.sh @@ -33,8 +33,6 @@ register_labels {{ config['KubernetesNode:hostname'] }} 3600 {{ config['Kubernet sleep 60 -{% include "cleanup.sh" with context %} - set +x log log === Finished join process ===