Study. uk . com
  1. Home
  2. All questions
  3. Question 961

CKA study material · question 961 of 1000

A control plane component does not expose /metrics for scraping. Which flag opens it?

  1. --bind-address
  2. --enable-metrics
  3. --secure-port
  4. --feature-gates=ComponentMetrics=true
Show the answer

Answer: A. --bind-address

Components that do not expose the endpoint by default are opened up with --bind-address, after which they serve Prometheus-format metrics on /metrics.

Source: Metrics For Kubernetes System Components (Kubernetes) — Metrics in Kubernetes

Challenge yourself on this topic → Study as cards