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
- booleanauxiliaryCluster
This cluster is auxiliary.
Default:
false - stringclusterType
Sets the cluster type in exported metrics, disabling automatic detection.
Allowed values:
Cloud,Hybrid,StaticExample:
clusterType: Cloud - integercontacts
The number of contact persons for which we need to charge.
Default:
0 - booleandoNotChargeForRockSolid
Is the RockSolid release channel included in the price, or should we charge for it separately.
Default:
false - booleangrafanaAlertsToMadisonEnabled
In addition to Prometheus, also send all Grafana alerts to Madison.
Default:
false - objectkubeall
Parameters for generating the kubeall registry.
- stringkubeall.context
Which
contextto use from the specifiedkubeconfig.Default:
"" - stringkubeall.host
Required value
The hostname on which to run
kubectl.Example:
host: hostA - stringkubeall.kubeconfig
The path to the
kubeconfigfile.Default:
"/root/.kube/config" - stringkubeall.kubectl
Kubectl command (with sudo if needed).
Default:
"sudo kubectl"
- stringlicenseKey
Client license key.
- logs
Logs parameters or
falseto disable logs distribution.- stringlogs.url
URL for sending logs in Loki compatible storage.
Default:
"https://connect.deckhouse.io/v1/loki_push"
- madisonAuthKey
Key to access Madison alertmanager, or
falseto 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
falseto disable metrics distribution.- stringmetrics.url
URL for sending metrics in Prometheus remote_write format.
Default:
"https://connect.deckhouse.io/v1/remote_write"
- integernodesDiscount
Discount for nodes as a percentage, without the % symbol. For example: 10, 20, 30.
Default:
0 - booleanplanIsBoughtAsBundle
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