openebs / monitoring

OpenEBS Monitoring add-on. A set of Grafana, Prometheus, and alert manager plugins.
Apache License 2.0
28 stars 20 forks source link

update(docs): add instructions for helm template #65

Closed kmova closed 2 years ago

kmova commented 2 years ago

Refactor the readme to include examples that can be used as quick start with concrete commands.

Update the default namespace as openebs for the charts.

Update with steps to install using kubectl from generated manifests.

Signed-off-by: kmova kiran.mova@mayadata.io

kmova commented 2 years ago

Verified by running the steps mentioned in the doc on a GKE cluster.

make clean
make generate
kubectl apply -f manifests/setup
kubectl apply -f kubectl apply -f manifests/openebs-addons
kubectl apply -f manifests/openebs-addons

Output:

kiran_mova_mayadata_io@kmova-dev:monitoring$ kubectl get pods -n openebs
NAME                                   READY   STATUS    RESTARTS   AGE
alertmanager-main-0                    2/2     Running   0          18m
alertmanager-main-1                    2/2     Running   0          18m
alertmanager-main-2                    2/2     Running   0          18m
grafana-7c45dc6b55-gzn25               1/1     Running   0          18m
kube-state-metrics-76f6cb7996-726kh    3/3     Running   0          18m
node-exporter-d56n5                    2/2     Running   0          18m
node-exporter-g9ftb                    2/2     Running   0          18m
node-exporter-mv7v5                    2/2     Running   0          18m
prometheus-k8s-0                       2/2     Running   1          18m
prometheus-k8s-1                       2/2     Running   1          18m
prometheus-operator-7775c66ccf-wfw9x   2/2     Running   0          19m
kiran_mova_mayadata_io@kmova-dev:monitoring$ kubectl get svc -n openebs | grep grafana
grafana                 NodePort    10.3.251.38    <none>        3000:30902/TCP               19m

Verified that dashboards are showing values by accessing grafana over node port.

image