Giter VIP home page Giter VIP logo

docker-cloud-health-agent's Introduction

Docker Cloud Health

Run cloud health client in a docker containr in an ec2 instance, bonus points if you run it in kubernetes.

At docker boot the cht_perfmon is started with the

Run in docker

docker run -e CLOUD_HEALTH_SECRET="YOUR_SECRET" --rm quay.io/coveo/cloud-health

Install in a Kubernetes clusters

K8S_NAMESPACE=<yourwantednamespace>
# Create the app secret
kubectl create secret -n $K8S_NAMESPACE generic cloud-health-perfmon --from-literal=cloud-health-secret="YOUR_SECRET"
# Deploy the app
kubectl apply -n $K8S_NAMESPACE -f k8s-cloud-health-perfmon-daemonset.yaml

Sadly there is a bug in facter that makes it impossible to run in a docker in a ec2 machine and still make facter know about ec2 stats. The ec2_hack.rb fixes that problem until cloud-health officially supports it.

It adds docker to the regex to match virtual container space.

      Facter.value(:virtual).match /^(xen|kvm|docker)/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.