mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-20 09:05:26 +00:00
Merge pull request #99793 from pjh/log-message-fix
Repair quotes for some Windows log messages
This commit is contained in:
commit
7c4a9823f5
@ -1758,12 +1758,12 @@ function DownloadAndInstall-LoggingAgents {
|
|||||||
function Create-LoggingAgentServices {
|
function Create-LoggingAgentServices {
|
||||||
cd $LOGGINGAGENT_ROOT
|
cd $LOGGINGAGENT_ROOT
|
||||||
|
|
||||||
Log-Output 'Creating service: ${LOGGINGAGENT_SERVICE}'
|
Log-Output "Creating service: ${LOGGINGAGENT_SERVICE}"
|
||||||
sc.exe create $LOGGINGAGENT_SERVICE binpath= "${LOGGINGAGENT_ROOT}\bin\fluent-bit.exe -c \fluent-bit\conf\fluent-bit.conf"
|
sc.exe create $LOGGINGAGENT_SERVICE binpath= "${LOGGINGAGENT_ROOT}\bin\fluent-bit.exe -c \fluent-bit\conf\fluent-bit.conf"
|
||||||
sc.exe failure $LOGGINGAGENT_SERVICE reset= 30 actions= restart/5000
|
sc.exe failure $LOGGINGAGENT_SERVICE reset= 30 actions= restart/5000
|
||||||
Write-VerboseServiceInfoToConsole -Service $LOGGINGAGENT_SERVICE
|
Write-VerboseServiceInfoToConsole -Service $LOGGINGAGENT_SERVICE
|
||||||
|
|
||||||
Log-Output 'Creating service: ${LOGGINGEXPORTER_SERVICE}'
|
Log-Output "Creating service: ${LOGGINGEXPORTER_SERVICE}"
|
||||||
sc.exe create $LOGGINGEXPORTER_SERVICE binpath= "${LOGGINGEXPORTER_ROOT}\flb-exporter.exe --kubernetes-separator=_ --stackdriver-resource-model=k8s --enable-pod-label-discovery --logtostderr --winsvc --pod-label-dot-replacement=_"
|
sc.exe create $LOGGINGEXPORTER_SERVICE binpath= "${LOGGINGEXPORTER_ROOT}\flb-exporter.exe --kubernetes-separator=_ --stackdriver-resource-model=k8s --enable-pod-label-discovery --logtostderr --winsvc --pod-label-dot-replacement=_"
|
||||||
sc.exe failure $LOGGINGEXPORTER_SERVICE reset= 30 actions= restart/5000
|
sc.exe failure $LOGGINGEXPORTER_SERVICE reset= 30 actions= restart/5000
|
||||||
Write-VerboseServiceInfoToConsole -Service $LOGGINGEXPORTER_SERVICE
|
Write-VerboseServiceInfoToConsole -Service $LOGGINGEXPORTER_SERVICE
|
||||||
|
Loading…
Reference in New Issue
Block a user