Add Windows support (#555)

* Add Windows support

* Assign eks:kube-proxy-windows group to worker nodes

* Add Instructions for adding Windows Workers at FAQ.md

* Remove unnecessary variables from userdata_windows.tpl

* Update CHANGELOG.md
This commit is contained in:
Joonsung Lee
2019-10-28 22:16:45 +09:00
committed by Thierno IB. BARRY
parent be6fa61d0d
commit 2d52e06786
11 changed files with 84 additions and 8 deletions

View File

@@ -0,0 +1,11 @@
<powershell>
${pre_userdata}
[string]$EKSBinDir = "$env:ProgramFiles\Amazon\EKS"
[string]$EKSBootstrapScriptName = 'Start-EKSBootstrap.ps1'
[string]$EKSBootstrapScriptFile = "$EKSBinDir\$EKSBootstrapScriptName"
& $EKSBootstrapScriptFile -EKSClusterName ${cluster_name} -KubeletExtraArgs '${kubelet_extra_args}' 3>&1 4>&1 5>&1 6>&1
$LastError = if ($?) { 0 } else { $Error[0].Exception.HResult }
${additional_userdata}
</powershell>

View File

@@ -3,3 +3,6 @@
groups:
- system:bootstrappers
- system:nodes
%{~ if platform == "windows" ~}
- eks:kube-proxy-windows
%{~ endif ~}