-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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
Powershell script to start kubelet and kube-proxy #36250
Powershell script to start kubelet and kube-proxy #36250
Conversation
cc: @brendandburns |
@brendondburns I'm traveling until next week. Can't figure out how to reassign in the mobile UI... |
@jbhurat I have a question about launch kubelet on window, how can i configure kubelet output log to window Event Log, and i see that there is RedirectStandError flag in script, How can i redirect kubelet log to Event Log using this flag? thanks |
@dragon9783 I don't think there is way the output logs be configured to log to Event Log, without having an intermediary process which would tail the log file and write to event log. |
@jbhurat thank you |
Updated the script to use nssm service manager instead of Start-Process as it supports log rotation and auto restart of Services on host reboot
Jenkins kops AWS e2e failed for commit 3a8ba99. Full PR test history. The magic incantation to run this job again is |
@k8s-bot kops aws e2e test this |
Can nssm limit the number of logfiles? That's mean, if the number exceeds N, the new log file will replace the oldest one. |
@xiaolou86 I went through the documentation for |
Fixed the issue where log files where being rotated every 1mb instead of 1gb
Jenkins CRI GCE e2e failed for commit a6f50e0. Full PR test history. The magic incantation to run this job again is |
@k8s-bot test this |
@k8s-bot cri e2e test this /lgtm |
Automatic merge from submit-queue |
What this PR does / why we need it:
This PR adds a powershell script to run kubelet and kube-proxy on Windows. It expects the required arguments like
API Server
location and uses appropriate defaults.Which issue this PR fixes :
fixes # #34270
Special notes for your reviewer:
This PR is for supporting Windows Server Containers for k8s, the work for which is covered under kubernetes/enhancements#116
This PR should be merged after #31707 and #36079 PRs are merged
Release note:
This change is