Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.
/ kube-aws-labels Public archive

Label Kubernetes nodes with their AWS instance properties

License

Notifications You must be signed in to change notification settings

grrywlsn/kube-aws-labels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

kube-aws-labels

Available on Docker Hub: https://hub.docker.com/r/grrywlsn/kube-aws-labels/

GitHub repo: https://github.com/grrywlsn/kube-aws-labels

This is a Docker container to run on a Kubernetes node's OS (eg. a CoreOS level, not as a pod), which will add a label saying whether or not the EC2 instance is a spot instance.

It can also optionally attach an elastic IP, and will add a node label if it does so. You can choose which elastic IP to add by setting an instance tag named elastic-ip-id with the eipalloc id as its value.

still to do

  • pass in Kubernetes API as variable
  • aws region as variable
  • override if AWS local-hostname is not node name

About

Label Kubernetes nodes with their AWS instance properties

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages