The module has 5 alerts.
The module is not enabled by default in any bundles.
The module is configured using the ModuleConfig custom resource named flant-integration
(learn more about setting up Deckhouse…).
Example of the ModuleConfig/flant-integration
resource for configuring the module:
apiVersion: deckhouse.io/v1alpha1
kind: ModuleConfig
metadata:
name: flant-integration
spec:
version: 1
enabled: true
settings: # <-- Module parameters from the "Parameters" section below.
Parameters
Schema version: 1
- auxiliaryCluster
This cluster is auxiliary.
Default:
false
- clusterType
Sets the cluster type in exported metrics, disabling automatic detection.
Allowed values:
Cloud
,Hybrid
,Static
Example:
clusterType: Cloud
- contacts
The number of contact persons for which we need to charge.
Default:
0
- doNotChargeForRockSolid
Is the RockSolid release channel included in the price, or should we charge for it separately.
Default:
false
- grafanaAlertsToMadisonEnabled
In addition to Prometheus, also send all Grafana alerts to Madison.
Default:
false
- kubeall
Parameters for generating the kubeall registry.
- kubeall.context
Which
context
to use from the specifiedkubeconfig
.Default:
""
- kubeall.host
Required value
The hostname on which to run
kubectl
.Example:
host: hostA
- kubeall.kubeconfig
The path to the
kubeconfig
file.Default:
"/root/.kube/config"
- kubeall.kubectl
Kubectl command (with sudo if needed).
Default:
"sudo kubectl"
- licenseKey
Client license key.
- logs
Logs parameters or
false
to disable logs distribution.- logs.url
URL for sending logs in Loki compatible storage.
Default:
"https://connect.deckhouse.io/v1/loki_push"
- madisonAuthKey
Key to access Madison alertmanager, or
false
to disable integration. Leave empty to autogenerate upon registration.Use kubectl to reveal generated key:
kubectl -n d8-system exec svc/deckhouse-leader -c deckhouse -- deckhouse-controller module values flant-integration -o json | jq '.flantIntegration.internal.madisonAuthKey'
Example:
madisonAuthKey: abc
- metrics
Metrics parameters or
false
to disable metrics distribution.- metrics.url
URL for sending metrics in Prometheus remote_write format.
Default:
"https://connect.deckhouse.io/v1/remote_write"
- nodesDiscount
Discount for nodes as a percentage, without the % symbol. For example: 10, 20, 30.
Default:
0
- planIsBoughtAsBundle
Whether a “package” has been purchased.
Default:
false
Example of configuration
apiVersion: deckhouse.io/v1alpha1
kind: ModuleConfig
metadata:
name: flant-integration
spec:
version: 1
enabled: true
settings:
licenseKey: s6f8766314a9426faa2b3
kubeall:
host: myproject.kube-master-0
kubeconfig: /etc/kubernetes/admin.conf