Skip to main content

Posts

Showing posts with the label Prometheus

Install Prometheus on AWS EKS using Helm

Create Namespace for Prometheus kubectl create ns prometheus Persistent Storage We'll store Prometheus data on AWS EBS as persistent storage, for that create we'll create storage class and persitent volument claim. We need to create 2 SC and PVC for 2 different component of Prometheus - Server and AlertManager. StorageClass - AlertManager apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: prometheus-alertmanager provisioner: kubernetes.io/aws-ebs parameters: type: gp2 fsType: ext4 allowVolumeExpansion: true StorageClass - Server apiVersion: storage.k8s.io/v1 kind: StorageClass metad...