Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure kubelet restarts #1366

Merged
merged 1 commit into from
May 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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