Skip to content

Commit

Permalink
Merge pull request #1366 from jsturtevant/fix-1328
Browse files Browse the repository at this point in the history
Ensure kubelet restarts
  • Loading branch information
k8s-ci-robot authored May 5, 2021
2 parents 660a35f + a388164 commit 6156c33
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/cluster-template-machinepool-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,8 @@ spec:
cloud-provider: azure
pod-infra-container-image: mcr.microsoft.com/oss/kubernetes/pause:1.4.1
name: '{{ ds.meta_data["local_hostname"] }}'
postKubeadmCommands:
- nssm set kubelet start SERVICE_AUTO_START
preKubeadmCommands:
- powershell c:/create-external-network.ps1
users:
Expand Down
2 changes: 2 additions & 0 deletions templates/cluster-template-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,8 @@ spec:
cloud-provider: azure
pod-infra-container-image: mcr.microsoft.com/oss/kubernetes/pause:1.4.1
name: '{{ ds.meta_data["local_hostname"] }}'
postKubeadmCommands:
- nssm set kubelet start SERVICE_AUTO_START
preKubeadmCommands:
- powershell c:/create-external-network.ps1
users:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ spec:
- ${AZURE_SSH_PUBLIC_KEY:=""}
preKubeadmCommands:
- powershell c:/create-external-network.ps1
postKubeadmCommands:
- nssm set kubelet start SERVICE_AUTO_START
joinConfiguration:
nodeRegistration:
name: '{{ ds.meta_data["local_hostname"] }}'
Expand Down
2 changes: 2 additions & 0 deletions templates/flavors/windows/machine-deployment-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ spec:
- ${AZURE_SSH_PUBLIC_KEY:=""}
preKubeadmCommands:
- powershell c:/create-external-network.ps1
postKubeadmCommands:
- nssm set kubelet start SERVICE_AUTO_START
joinConfiguration:
nodeRegistration:
name: '{{ ds.meta_data["local_hostname"] }}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,8 @@ spec:
cloud-provider: azure
pod-infra-container-image: mcr.microsoft.com/oss/kubernetes/pause:1.4.1
name: '{{ ds.meta_data["local_hostname"] }}'
postKubeadmCommands:
- nssm set kubelet start SERVICE_AUTO_START
preKubeadmCommands:
- powershell c:/create-external-network.ps1
users:
Expand Down
2 changes: 2 additions & 0 deletions templates/test/ci/cluster-template-prow-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,8 @@ spec:
cloud-provider: azure
pod-infra-container-image: mcr.microsoft.com/oss/kubernetes/pause:1.4.1
name: '{{ ds.meta_data["local_hostname"] }}'
postKubeadmCommands:
- nssm set kubelet start SERVICE_AUTO_START
preKubeadmCommands:
- powershell c:/create-external-network.ps1
users:
Expand Down

0 comments on commit 6156c33

Please sign in to comment.