Merge pull request 'fix: gate kubelet startup until kubeadm config exists' (#82) from stage into master
Some checks failed
Terraform Apply / Terraform Apply (push) Failing after 18m56s
Some checks failed
Terraform Apply / Terraform Apply (push) Failing after 18m56s
Reviewed-on: #82
This commit was merged in pull request #82.
This commit is contained in:
@@ -230,6 +230,7 @@ in
|
|||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
wants = [ "network-online.target" ];
|
wants = [ "network-online.target" ];
|
||||||
after = [ "containerd.service" "network-online.target" ];
|
after = [ "containerd.service" "network-online.target" ];
|
||||||
|
unitConfig.ConditionPathExists = "/var/lib/kubelet/config.yaml";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Environment = "KUBELET_CONFIG_ARGS=--config=/var/lib/kubelet/config.yaml";
|
Environment = "KUBELET_CONFIG_ARGS=--config=/var/lib/kubelet/config.yaml";
|
||||||
EnvironmentFile = [
|
EnvironmentFile = [
|
||||||
|
|||||||
Reference in New Issue
Block a user