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:
- Prometheus
- Alert-Manager
- Grafana
- Kubernetes Exporters
This formula also installs Loki alongside the prometheus-stack unifying metrics and logs in a single stack. For more information about Loki click here.
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 islocalhost
.secure
- (Required) Specifies if the services from the application will expose HTTPS ports inside the cluster. The default isfalse
.namespace
- (Optional) Define where the application will be provisioned. The default isvkpr
.ingressClassName
- (Optional) Define which ingress controller will expose the application. The default isnginx
.
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 isvkpr
.ingressClassName
- (Optional) Define which ingress controller will expose the application. The default isnginx
.k8sExporters
- (Optional) Enable kubernetes metrics crawlers. The default istrue
.alertManager
enabled
- (Required) Provides Endpoint for application access. The default isfalse
.HA
- (Optional) Specifies if the application will have High Availability. The default isfalse
.persistence
enabled
- (Optional) Specifies if the content from the application will be storage in a volume. The default isfalse
.size
- (Optional) Specifies the volume size to be provisioned. The default is2Gi
.
ssl
enabled
- (Optional) Enable the manual certificate into ingress. The default isfalse
.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 isvkpr123
.persistence
enabled
- (Optional) Specifies if the content from the application will be storage in a volume. The default isfalse
.size
- (Optional) Specifies the volume size to be provisioned. The default is8Gi
.
ssl
enabled
- (Optional) Enable the manual certificate into ingress. The default isfalse
.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 isfalse
.persistence
enabled
- (Optional) Specifies if the content from the application will be storage in a volume. The default isfalse
.size
- (Optional) Specifies the volume size to be provisioned. The default is8Gi
.
ssl
enabled
- (Optional) Enable the manual certificate into ingress. The default isfalse
.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.
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_NAMEnamespace
- VKPR_ENV_PROMETHEUS_STACK_NAMESPACEk8sExporters
- VKPR_ENV_PROMETHEUS_STACK_EXPORTERSalertManager
enabled
- VKPR_ENV_ALERTMANAGERHA
- VKPR_ENV_ALERTMANAGER_HAssl
enabled
- VKPR_ENV_ALERTMANAGER_SSLcrt
- VKPR_ENV_ALERTMANAGER_CERTIFICATEkey
- VKPR_ENV_ALERTMANAGER_KEYsecretName
- VKPR_ENV_ALERTMANAGER_SSL_SECRET
grafana
adminPassword
- VKPR_ENV_GRAFANA_PASSWORDpersistence
- VKPR_ENV_GRAFANA_PERSISTENCEssl
enabled
- VKPR_ENV_GRAFANA_SSLcrt
- VKPR_ENV_GRAFANA_CERTIFICATEkey
- VKPR_ENV_GRAFANA_KEYsecretName
- VKPR_ENV_GRAFANA_SSL_SECRET
prometheus
enabled
- VKPR_ENV_PROMETHEUSpersistence
- VKPR_ENV_PROMETHEUS_PERSISTENCEssl
enabled
- VKPR_ENV_PROMETHEUS_SSLcrt
- VKPR_ENV_PROMETHEUS_CERTIFICATEkey
- VKPR_ENV_PROMETHEUS_KEYsecretName
- VKPR_ENV_PROMETHEUS_SSL_SECRET
Chart Version
: 45.20.0
Application Version
: v0.63.0
Helm Chart
: prometheus-community/kube-prometheus-stack
See Also
- VKPR prometheus-stack remove - Uninstall prometheus-stack from the cluster.