Skip to main content

VKPR prometheus-stack install

Description

Install kube-prometheus-stack into cluster. For more information about prometheus-stack, click here.

Kube-prometheus-stack is a monitoring application package, containing:

This formula also installs Loki alongside the prometheus-stack unifying metrics and logs in a single stack. For more information about Loki click here.

Info

If VKPR does not find any instances of Loki within the cluster, it will install one to use alongside prometheus-stack.

Commands

Interactive inputs:

  vkpr prometheus-stack install [flags]

Non-interactive without setting values or using VKPR Values:

  vkpr prometheus-stack install --default

Argument Reference

Flags

  --default           Use to automatically fill inputs with default values.
--dry_run Simulate an install.
--domain Specifies the domain to use in the application.
--secure Specifies if the application will have HTTPS.
--alertmanager Enable Alert-manager to be installed.
--HA Specifies if the Alert-manager will have High Availability.
--grafana_password Specifies the Super Admin password.
--ssl Specifies if the grafana will be using internal SSL certificates
--crt_file Specifies the grafana .crt file path.
--key_file Specifies the grafana .key file path.

Values File

Globals

The following arguments are supported by the globals:

  • domain - (Required) Define the domain used by the application. The default is localhost.
  • secure - (Required) Specifies if the services from the application will expose HTTPS ports inside the cluster. The default is false.
  • namespace - (Optional) Define where the application will be provisioned. The default is vkpr.
  • ingressClassName - (Optional) Define which ingress controller will expose the application. The default is nginx.

Local

The following arguments are supported:

  • enabled - (Optional) Enables the installation if performed with the command vkpr apply.
  • namespace - (Optional) Define where the application will be provisioned. The default is vkpr.
  • ingressClassName - (Optional) Define which ingress controller will expose the application. The default is nginx.
  • k8sExporters - (Optional) Enable kubernetes metrics crawlers. The default is true.
  • alertManager
    • enabled - (Required) Provides Endpoint for application access. The default is false.
    • HA - (Optional) Specifies if the application will have High Availability. The default is false.
    • persistence
      • enabled - (Optional) Specifies if the content from the application will be storage in a volume. The default is false.
      • size - (Optional) Specifies the volume size to be provisioned. The default is 2Gi.
    • ssl
      • enabled - (Optional) Enable the manual certificate into ingress. The default is false.
      • crt - Specify the certificate path.
      • key - Specify the key path.
      • secretName - (Optional) Specifies if the content from the application will be storage in a volume.
  • grafana
    • adminPassword - (Required) Specify the grafana admin password. The default is vkpr123.
    • persistence
      • enabled - (Optional) Specifies if the content from the application will be storage in a volume. The default is false.
      • size - (Optional) Specifies the volume size to be provisioned. The default is 8Gi.
    • ssl
      • enabled - (Optional) Enable the manual certificate into ingress. The default is false.
      • crt - Specify the certificate path.
      • key - Specify the key path.
      • secretName - (Optional) Specifies if the content from the application will be storage in a volume.
  • prometheus
    • enabled - (Required) Provides Endpoint for application access. The default is false.
    • persistence
      • enabled - (Optional) Specifies if the content from the application will be storage in a volume. The default is false.
      • size - (Optional) Specifies the volume size to be provisioned. The default is 8Gi.
    • ssl
      • enabled - (Optional) Enable the manual certificate into ingress. The default is false.
      • crt - Specify the certificate path.
      • key - Specify the key path.
      • secretName - (Optional) Specifies if the content from the application will be storage in a volume.
  • helmArgs - (Optional) Used when you need to change some value or add a new value to the helm values used by the formula.
caution

Using helmArgs the application may behave in a way that VKPR may not be used in the best way it was designed. Use it when you know what you're doing

Environment values

The following variables are supported:

  • ingressClassName - VKPR_ENV_PROMETHEUS_STACK_INGRESS_CLASS_NAME
  • namespace - VKPR_ENV_PROMETHEUS_STACK_NAMESPACE
  • k8sExporters - VKPR_ENV_PROMETHEUS_STACK_EXPORTERS
  • alertManager
    • enabled - VKPR_ENV_ALERTMANAGER
    • HA - VKPR_ENV_ALERTMANAGER_HA
    • ssl
      • enabled - VKPR_ENV_ALERTMANAGER_SSL
      • crt - VKPR_ENV_ALERTMANAGER_CERTIFICATE
      • key - VKPR_ENV_ALERTMANAGER_KEY
      • secretName - VKPR_ENV_ALERTMANAGER_SSL_SECRET
  • grafana
    • adminPassword - VKPR_ENV_GRAFANA_PASSWORD
    • persistence - VKPR_ENV_GRAFANA_PERSISTENCE
    • ssl
      • enabled - VKPR_ENV_GRAFANA_SSL
      • crt - VKPR_ENV_GRAFANA_CERTIFICATE
      • key - VKPR_ENV_GRAFANA_KEY
      • secretName - VKPR_ENV_GRAFANA_SSL_SECRET
  • prometheus
    • enabled - VKPR_ENV_PROMETHEUS
    • persistence - VKPR_ENV_PROMETHEUS_PERSISTENCE
    • ssl
      • enabled - VKPR_ENV_PROMETHEUS_SSL
      • crt - VKPR_ENV_PROMETHEUS_CERTIFICATE
      • key - VKPR_ENV_PROMETHEUS_KEY
      • secretName - VKPR_ENV_PROMETHEUS_SSL_SECRET

About the Formula

Chart Version: 45.20.0
Application Version: v0.63.0
Helm Chart: prometheus-community/kube-prometheus-stack

See Also