In this section, we will install the Prometheus operator. In this example, we have added two 100G disks to each node. Note: Ensure that you have two disks with the required capacity is added to the corresponding nodes prior to Prometheus installation. The Storage Class openebs-device has been chosen to deploy Prometheus Operator in the Kubernetes cluster. You can customize which devices will be discovered and managed by OpenEBS using the instructions here. Select this option when you want to dedicate a complete block device on a node to a Prometheus application pod and other device for Alert manager. Openebs-device - Using this option, it will create Kubernetes Local PVs using the block devices attached to the node. If you would like to customize the directory where data will be saved, create a new OpenEBS Local PV storage class using the instructions mentioned here. Select this option, if you don’t have any additional block devices attached to Kubernetes nodes. Openebs-hostpath - Using this option, it will create Kubernetes Persistent Volumes that will store the data into OS host path directory at: /var/openebs//. There are 2 ways to use OpenEBS Local PV. Configure OpenEBS Local PV StorageClass # In this document, we are deploying Prometheus Operator using OpenEBS Local PV device.
0 Comments
Leave a Reply. |