Installing Prometheus

Prometheus provides monitoring on the system. It is used in the auto-scaling feature, but can also be used to monitor your system usage and performance.

About this task

The Prometheus application must be installed to deploy the autoscaler and deploy Grafana on a Sametime Kubernetes environment.

The procedures in this topic install the Kube-Prometheus stack using Helm and the default helm charts. Refer to the prometheus-operator / kube-prometheus readme for the default settings. To customize the configuration, the prometheus-community/helm-charts can be downloaded and modified before installing them.

Procedure

  1. From the machine where Helm is installed, run the following commands in the directory where you decompress the the HCL Sametime product image file.
  2. Add the prometheus-community helm repository.
    helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
  3. Create a namespace for monitoring.
    kubectl create namespace monitoring
  4. Run the following command to install Prometheus. The command must be entered as a single line.
    helm install -n monitoring prometheus --set prometheus.prometheusSpec.serviceMonitorSelectorNilUsesHelmValues=false prometheus-community/kube-prometheus-stack