Skip to content

Instantly share code, notes, and snippets.

@tomellis
Created June 19, 2020 10:28
Show Gist options
  • Save tomellis/180675b096acc408f322de8ee1ffacf0 to your computer and use it in GitHub Desktop.
Save tomellis/180675b096acc408f322de8ee1ffacf0 to your computer and use it in GitHub Desktop.
Windows Worker Userdata
sh-4.2# base64 --decode userdata
<powershell>
[string]$EKSBootstrapScriptFile = "$env:ProgramFiles\Amazon\EKS\Start-EKSBootstrap.ps1"
& $EKSBootstrapScriptFile -EKSClusterName "windows-test" -KubeletExtraArgs "--register-with-taints= --node-labels=alpha.eksctl.io/nodegroup-name=ng-ec53ef23,alpha.eksctl.io/cluster-name=windows-test" 3>&1 4>&1 5>&1 6>&1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment