mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Merge pull request #85084 from barney-s/win-stackdriver-startup-fix
Reorder stackdriver setup in windows startup script
This commit is contained in:
commit
814ebe7678
@ -131,13 +131,6 @@ try {
|
||||
Create-Directories
|
||||
Download-HelperScripts
|
||||
|
||||
# Even if Stackdriver is already installed, the function will still [re]start the service.
|
||||
if (IsLoggingEnabled $kube_env) {
|
||||
Install-LoggingAgent
|
||||
Configure-LoggingAgent
|
||||
Restart-LoggingAgent
|
||||
}
|
||||
|
||||
Create-DockerRegistryKey
|
||||
Configure-Dockerd
|
||||
DownloadAndInstall-KubernetesBinaries
|
||||
@ -151,6 +144,12 @@ try {
|
||||
Configure-GcePdTools
|
||||
Configure-Kubelet
|
||||
|
||||
# Even if Stackdriver is already installed, the function will still [re]start the service.
|
||||
if (IsLoggingEnabled $kube_env) {
|
||||
Install-LoggingAgent
|
||||
Configure-LoggingAgent
|
||||
Restart-LoggingAgent
|
||||
}
|
||||
Start-WorkerServices
|
||||
Log-Output 'Waiting 15 seconds for node to join cluster.'
|
||||
Start-Sleep 15
|
||||
|
Loading…
Reference in New Issue
Block a user