/labelgun

Insert AWS metadata as Kubernetes Labels

Primary LanguageGo

labelgun

Insert AWS metadata as Kubernetes Labels

Supported:

  • ec2tags
  • availability zone
  • instance type

Configure

Edit the labelgun.yml with approriate Environment Variable valuess for KUBE_MASTER, AWS_REGION and LABELGUN_INTERVAL in seconds

Launch the DaemonSet

kubectl create -f labelgun.yml

Note: this requries you have DaemonSets enabled https://github.com/kubernetes/kubernetes/blob/master/docs/design/daemon.md

Known Bugs

No validation of aws tags to node tags ( ex. spaces are not supported in kube tags but they are for aws tags) #1