Code Monkey home page Code Monkey logo

cms-k8s's Introduction

Deprecation Notice

This repo is DEPRECATED and all configuration should be migrated to lsst-it/k8s-cookbook.

Centralized Monitoring System over Kubernetes

Depending on the site to be deployed, it will install graylog, grafana, influxdb, telegraf, kube-prometheus and/or fluent-bit

Grafana+InfluxDB Deployment

Install influxdb by using the deploy.sh script inside the site you want to deploy. Once is up and running (wait condition of the following command is met), will need to provision influxdb with a database and a username, which has been written into init_influxdb.sh

cd it/ls/influxdb
./deploy.sh
./init_influxdb.sh

Once the Installation/Initialization of influx is done, proceed with the deployment of Grafana. This installation has already been configured so it connects with influxdb upon the first run:

cd it/ls/grafana
./deploy.sh
./init_grafana.sh

Graylog-Stack Deployment

In order to deploy the graylog stack (Graylog + MongoDB + Elasticsearch), move into the folder and run the deploy.sh script:

cd it/ls/graylog-stack
./deploy.sh

Fluent-bit Deployment

To deploy fluent-bit, move into the folder and run the deploy.sh script:

cd it/cp/fluent-bit
./deploy.sh

Charts Deployment

In order to deploy the charts, the resources folders must be created:

cd it/ls/grafana/resources
./folders_generator.sh

Now that the folder's ID are stored, the servers, services, and clusters may be deployed:

cd it/ls/grafana/resources/clusters
./cluster.sh
cd it/ls/grafana/resources/services
./cluster.sh
cd it/ls/grafana/resources/servers
./servers.sh

Uninstall

To delete everything, run the undeploy.sh script in both folders, and then delete the namespaces:

it/ls/influxdb/undeploy.sh
it/ls/grafana/undeploy.sh
it/ls/graylog-stack/undeploy.sh
kubectl delete ns it-influxdb
kubectl delete ns it-grafana
kubectl delete ns graylog

cms-k8s's People

Contributors

hreinking avatar jhoblitt avatar csilva-cl avatar

Stargazers

Mauricio Trindade avatar Herbert Huang avatar

Watchers

James Cloos avatar Carlos Barria avatar  avatar wil avatar

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.