Skip to content

Instantly share code, notes, and snippets.

@martezr
Created July 14, 2024 14:21
Show Gist options
  • Save martezr/aece1b0d9469fd8eecf209ce30ade6ac to your computer and use it in GitHub Desktop.
Save martezr/aece1b0d9469fd8eecf209ce30ade6ac to your computer and use it in GitHub Desktop.
# Install K3S
curl -sfL https://get.k3s.io | sh -
# Install HELM
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
export kubeconfig=/etc/rancher/k3s/k3s.yaml
# Install Prometheus
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo add stable https://charts.helm.sh/stable
helm repo update
helm --kubeconfig /etc/rancher/k3s/k3s.yaml install prometheus prometheus-community/kube-prometheus-stack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment