feelobot / labelgun

Insert AWS metadata as Kubernetes Labels

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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) Vungle#1

About

Insert AWS metadata as Kubernetes Labels


Languages

Language:Go 75.4%Language:Shell 24.6%