...
Code Block |
---|
apiVersion: v1 kind: Pod # (...) metadata: name: '<POD_NAME>' annotations: ad.datadoghq.com/<CONTAINER_IDENTIFIER>.check_names: '["kf_openmetrics"]' ad.datadoghq.com/<CONTAINER_IDENTIFIER>.init_configs: '[{}]' ad.datadoghq.com/<CONTAINER_IDENTIFIER>.instances: '[ { "openmetrics_endpoint": "<http://%%host%%:%%port%%/metrics>"} ]' # (...) spec: containers: - name: '<CONTAINER_IDENTIFIER>' # (...) |
Advance monitoring
...
using Knight
Enable kubernetes_state_metrics
Advance monitoring (Kfuse 1.3 or higher) currently has dependency on kubernetes_state_metrics (KSM) check which is not enabled in the newer version of the agent (2.0) by default. Please ensure that the agent continues to capture these metrics through KSM. To do that, please add/update the dd-agent values file as follows:
Code Block |
---|
datadog: kubeStateMetricsEnabled: true kubeStateMetricsCore: enabled: true ignoreLegacyKSMCheck: false |
Enable Knight based monitoring in kfuse
Add knightEnabled
in the custom-values.yaml
and then upgrade the cluster.
Code Block |
---|
ingester:
replicaCount: 1
config:
knightEnabled: true |