This commit is contained in:
Angela Li 2019-09-04 15:32:25 -07:00
parent 54d9f9a75b
commit 1d27242967

View File

@ -127,18 +127,16 @@ try {
StartProcess-WriteSshKeys StartProcess-WriteSshKeys
} }
# Even if Stackdriver is already installed, the function will still [re]start the service.
if (IsLoggingEnabled $kube_env) {
InstallAndStart-LoggingAgent
}
Set-EnvironmentVars Set-EnvironmentVars
Create-Directories Create-Directories
Download-HelperScripts Download-HelperScripts
# Even if Stackdriver is already installed, the function will still [re]start the service.
if (IsLoggingEnabled $kube_env) {
Install-LoggingAgent Install-LoggingAgent
Configure-LoggingAgent Configure-LoggingAgent
Restart-LoggingAgent Restart-LoggingAgent
}
Create-DockerRegistryKey Create-DockerRegistryKey
Configure-Dockerd Configure-Dockerd