This check monitors Kube_metrics_server v0.3.0+, a component used by the Kubernetes control plane.
The Kube_metrics_server check is included in the Datadog Agent package. No additional installation is needed on your server.
Follow the instructions below to configure this check for an Agent running on a host. For containerized environments, see the Containerized section.
-
Edit the
kube_metrics_server.d/conf.yaml
file, in theconf.d/
folder at the root of your Agent's configuration directory to start collecting your kube_metrics_server performance data. See the sample kube_metrics_server.d/conf.yaml for all available configuration options.
For containerized environments, see the Kubernetes Autodiscovery Integration Templates for guidance on applying the parameters below.
Parameter | Value |
---|---|
<INTEGRATION_NAME> |
kube_metrics_server |
<INIT_CONFIG> |
blank or {} |
<INSTANCE_CONFIG> |
{"prometheus_url": "https://%%host%%:443/metrics"} |
If your endpoint is secured, additional configuration is required:
-
Identify the certificate used for securing the metric endpoint.
-
Mount the related certificate file in the Agent pod.
-
Apply your SSL configuration. Refer to the default configuration file for more information.
Run the Agent's status subcommand and look for kube_metrics_server
under the Checks section.
See metadata.csv for a list of metrics provided by this integration.
kube_metrics_server.prometheus.health
:
Returns CRITICAL if the Agent cannot reach the metrics endpoints.
kube_metrics_server does not include any events.
Need help? Contact Datadog support.