Skip to content

Instantly share code, notes, and snippets.

@RoyLDD
Created June 28, 2020 14:05
Show Gist options
  • Save RoyLDD/aa6d233e3b9731b7bece65babd034fde to your computer and use it in GitHub Desktop.
Save RoyLDD/aa6d233e3b9731b7bece65babd034fde to your computer and use it in GitHub Desktop.
EKS node user data
#!/bin/bash
set -o xtrace
/etc/eks/bootstrap.sh --apiserver-endpoint '<CLUSTER_ENDPOINT>' --b64-cluster-ca '<CLUSTER_CA>' '<CLUSTER_NAME>' --kubelet-extra-args '--register-with-taints=dedicated=app:NoSchedule --node-labels=kube/nodetype=app'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment