Skip to content

Add Grafana and Prometheus install to Docs #107

@suse-coder

Description

@suse-coder

As many need that and it is a very easy way to have all preinstalled Grafana Dashboards to see it would be great if there is in the docs (like metric-server) a section for that so new users can easily install and dont walk into problems that for example they have to set priviledge label for the ns.

helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update

kubectl create ns monitoring
kubectl label namespace monitoring pod-security.kubernetes.io/enforce=privileged --overwrite

# install the stack
helm install kp prometheus-community/kube-prometheus-stack \
  --namespace monitoring --create-namespace \
  --set prometheus.prometheusSpec.maximumStartupDurationSeconds=60

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions