Code Monkey home page Code Monkey logo

cms-grafana-builder's Introduction

No longer actively maintained, you can follow the alicloud official Grafanan plugin.

cms-grafana

English | 简体中文

grafana

Aliyun CMS Grafana Dashboard

Current chart version is 0.5.1

Introduction

This chart helps you run a grafana server that include aliyun cms dashboard.

Quick Start

You can use the docker to experience the full functionality, with this should only be applied to local, production environments please use helm.

docker run -d -p 3000:3000 -e ACCESS_KEY_ID={your_access_key_id} -e ACCESS_SECRET={your_access_secret}  guoxudongdocker/grafana-cms-run:0.5.0

Installing the Chart

Helm v3

Download cms-grafana-0.5.0.tgz package to install in release.

To install the chart with the release name my-release:

# start
$ helm install my-release cms-grafana-0.5.0.tgz \
--namespace {your_namespace} \
--set access_key_id={your_access_key_id} \
--set access_secret={your_access_secret} \
--set region_id={your_aliyun_region_id} \
--set password={admin_password}

# set ingress and open tls
helm install my-release cms-grafana-0.5.0.tgz \
--namespace {your_namespace} \
--set access_key_id={your_access_key_id} \
--set access_secret={your_access_secret} \
--set region_id={your_aliyun_region_id} \
--set password={admin_password} \
--set ingress.enabled=true \
--set ingress.hosts[0].host="{your_host}",ingress.hosts[0].paths[0]="/" \
--set ingress.tls[0].secretName="{your_tls_secret_name}",ingress.tls[0].hosts[0]="{your_tls_host}"

Please resolve the DNS to ingress.

Viewing the Grafnan dashboard

To do without ingress, you can use kubectl port-forward.

kubectl port-forward -n {your_namespace} deployment/my-release-cms-grafana 8080:8080 &

Visit http://localhost:8080 in your web browser.

Uninstall

To uninstall/delete the my-release deployment:

$ helm uninstall my-release -n {your_namespace}

Chart Values

Key Type Default Description
access_key_id string "" Aliyun Access Key Id.
access_secret string "" Aliyun Access Secret.
affinity object {}
anonymous bool false grafana auth anonymous enables
backend_image.pullPolicy string "Always" Init image backend policy.
backend_image.repository string "guoxudongdocker/grafana-build" Image source repository of backend image.
backend_image.tag string "0.5.0" Image tag of backend image.
backend_resources.limits.cpu string "200m"
backend_resources.limits.memory string "256Mi"
backend_resources.requests.cpu string "100m"
backend_resources.requests.memory string "256Mi"
cronjob_image.repository string "guoxudongdocker/curl" Image source repository of cronjob image.
cronjob_image.tag string "latest" Image tag of cronjob image.
dashboard string "dashboard,ecs,rds,mongodb,oss,eip,redis,slb" module of dashboard
image.pullPolicy string "IfNotPresent" Image pull policy.
image.repository string "grafana/grafana" Image source repository name.
ingress.annotations object {}
ingress.enabled bool false Whether to open ingress.
ingress.hosts list [{"host":"grafana.chart-example.local","paths":["/"]}] Ingress hosts.
ingress.tls list []
init_image.pullPolicy string "Always" Init image pull policy.
init_image.repository string "guoxudongdocker/cms-grafana-jsonnet" Image source repository of init image.
init_image.tag string "0.1.0" Image tag of init image.
nodeSelector object {}
password string "admin" Grafana admin password.
plugins string "farski-blendstat-panel,grafana-simple-json-datasource,yesoreyeram-boomtheme-panel,https://github.com/sunny0826/aliyun-cms-grafana/archive/master.zip;aliyun-cms-grafana" Grafana plugin list.
region_id string "cn-shanghai" Aliyun Region Id.
replicaCount int 1 replica count.
resources.limits.cpu string "200m"
resources.limits.memory string "256Mi"
resources.requests.cpu string "100m"
resources.requests.memory string "256Mi"
schedule string "30 2 * * *" CronJob schedule.
service.port int 80
service.type string "ClusterIP"

Dashboard

Dashboard

ECS

ecs

RDS

rds

OSS

oss

SLB

Layer 4

slb

Layer 7

slb-7

EIP

eip

Redis

redis

cms-grafana-builder's People

Contributors

sunny0826 avatar dependabot[bot] 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.