Sign inSign up

dailyhotel/labelgun

By dailyhotel

•Updated over 9 years ago

Insert AWS metadata as Kubernetes Labels

Image
1

10K+

dailyhotel/labelgun repository overview

⁠labelgun

Insert AWS EC2 Tags as Kubernetes Node Labels.

This is the improved version of Vungle/labelgun⁠ in several aspects:

  • DaemonSet⁠ is not required. Just launch a single pod and save the rest of your computational resources.
  • Kubernetes version v1.5.x is supported
  • Fine-grained logging
  • Private base image Vungle/kubectl is removed
  • Better developer support using Makefile and glide.yaml
⁠Supported:

⁠Configure

Edit the labelgun.yml with appropriate Environment Variable values for LABELGUN_ERR_THRESHOLD⁠ and LABELGUN_INTERVAL in seconds.

⁠Launch the DaemonSet

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: labelgun
spec:
  replicas: 1
  template:
    metadata:
      labels:
        app: labelgun 
    spec:
      containers:
        - image: dailyhotel/labelgun:latest
          imagePullPolicy: Always
          name: labelgun
          env:
            - name: LABELGUN_ERR_THRESHOLD
              value: "INFO"
            - name: LABELGUN_INTERVAL
              value: "60"

kubectl create -f labelgun.yml

Tag summary

Content type

Image

Digest

Size

24.3 MB

Last updated

over 9 years ago

docker pull dailyhotel/labelgun