Prometheus
Customize Verrazzano Prometheus settings
Verrazzano installs Prometheus components, including Prometheus Operator and Prometheus, using the kube-prometheus-stack Helm chart. You can customize the installation configuration using Helm overrides specified in the Verrazzano custom resource. For example, the following Verrazzano custom resource overrides the number of Prometheus replicas.
apiVersion: install.verrazzano.io/v1beta1
kind: Verrazzano
metadata:
name: custom-prometheus
spec:
profile: prod
components:
prometheusOperator:
overrides:
- values:
prometheus:
prometheusSpec:
replicas: 3
To enable Alertmanager, use the following Verrazzano custom resource:
apiVersion: install.verrazzano.io/v1beta1
kind: Verrazzano
metadata:
name: custom-prometheus
spec:
profile: prod
components:
prometheusOperator:
overrides:
- values:
alertmanager:
enabled: true
alertmanagerSpec:
podMetadata:
annotations:
sidecar.istio.io/inject: "false"
For more information about setting component overrides, see Customizing the Chart Before Installing.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.