mateothegreat / k8-byexamples-monitoring-grafana

monitoring ain't easy.

Home Page:https://k8.matthewdavis.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clickity click Twitter Follow Skype Contact

monitoring ain't easy.

k8 by example -- straight to the point, simple execution.

Deploy and grafana will be up and running at http://grafana.infra-monitoring.svc.cluster.local.

Still proxy'ing to get access to your cluster?! Take a poke at https://github.com/mateothegreat/k8-byexamples-openvpn, secure? dns? lan access? wat?

Usage

$ make help

Usage:

  make <target>

Targets:

  install              Install all resources
  delete               Delete all resources
  dump                 Dump the final spec (make dump <spec name> from the manifests dir for more)
  disks-create         Create GCE Persistent Disk
  disks-get            Get GCE Persistent Disk Configuration Status

Install

$ make install ADMIN_PASSWORD=changeme

[ INSTALLING MANIFESTS/STORAGE-PERSISTENTVOLUMECLAIM.YAML ]: persistentvolumeclaim "grafana-persistent-storage" created
[ INSTALLING MANIFESTS/STORAGE-PERSISTENTVOLUME.YAML ]: persistentvolume "grafana-persistent-storage" created
[ INSTALLING MANIFESTS/DASHBOARDS-CONFIGMAP.YAML ]: configmap "grafana-import-dashboards" created
[ INSTALLING MANIFESTS/SERVICE.YAML ]: service "grafana" created
[ INSTALLING MANIFESTS/DEPLOYMENT.YAML ]: deployment "grafana-core" created
[ INSTALLING MANIFESTS/DASHBOARDS-JOB.YAML ]: job "grafana-import-dashboards" created

Delete

$ make delete
  
  [ DELETING MANIFESTS/STORAGE-PERSISTENTVOLUMECLAIM.YAML ]: persistentvolumeclaim "grafana-persistent-storage" deleted
  [ DELETING MANIFESTS/STORAGE-PERSISTENTVOLUME.YAML ]: persistentvolume "grafana-persistent-storage" deleted
  [ DELETING MANIFESTS/DASHBOARDS-CONFIGMAP.YAML ]: configmap "grafana-import-dashboards" deleted
  [ DELETING MANIFESTS/SERVICE.YAML ]: service "grafana" deleted
  [ DELETING MANIFESTS/DEPLOYMENT.YAML ]: deployment "grafana-core" deleted
  [ DELETING MANIFESTS/DASHBOARDS-JOB.YAML ]: job "grafana-import-dashboards" deleted

See also

About

monitoring ain't easy.

https://k8.matthewdavis.io


Languages

Language:Makefile 100.0%