# Licensed under the Apache License, Version 2.0 (the "License");
# Licensed under the Apache License, Version 2.0 (the "License");
...
@@ -14,7 +12,8 @@
...
@@ -14,7 +12,8 @@
# See the License for the specific language governing permissions and
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
# kube-startup.ps1 is used to run kubelet and kubeproxy as a process. The processes can be viewed using TaskManager(Taskmgr.exe).
# kube-startup.ps1 is used to run kubelet and kubeproxy as a process. It uses nssm (https://nssm.cc/) process manager to register kubelet and kube-proxy process,
# The processes can be viewed using TaskManager(Taskmgr.exe).
# Please note that this startup script does not start the API server. Kubernetes control plane currently runs on Linux
# Please note that this startup script does not start the API server. Kubernetes control plane currently runs on Linux
# and only Kubelet and Kube-Proxy can be run on Windows
# and only Kubelet and Kube-Proxy can be run on Windows
...
@@ -30,17 +29,63 @@ param (
...
@@ -30,17 +29,63 @@ param (
[string]$KubeProxyExePath=".\kube-proxy.exe"
[string]$KubeProxyExePath=".\kube-proxy.exe"
)
)
# CONTAINER_NETWORK environment variable is used by kubelet and is used to determine the Docker network to be used by PODs