• Jimmy Cuadra's avatar
    Clarify that the in_cluster option only affects discovery. · f0109fb5
    Jimmy Cuadra authored
    It wasn't clear to me that the `in_cluster` option for a
    `kubernetes_sd_config` only affected authentication for service
    discovery, and that to actually scrape the targets, it was still
    necessary to explicitly set authentication options like `tls_config` and
    `bearer_token_file`, for example, when scraping the Kubernetes
    apiserver.
    
    This patch clarifies that in the documentation for `in_cluster`, and
    adds a link to the example Prometheus configuration for Kubernetes in
    the Prometheus repo that explained this distinction better, and also
    provides a useful real-world example of how to monitor a Kubernetes
    cluster with Prometheus.
    f0109fb5
Name
Last commit
Last update
content Loading commit data...
layouts Loading commit data...
lib Loading commit data...
specs Loading commit data...
static Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
AUTHORS.md Loading commit data...
CONTRIBUTING.md Loading commit data...
Dockerfile Loading commit data...
Gemfile Loading commit data...
Gemfile.lock Loading commit data...
Guardfile Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
NOTICE Loading commit data...
README.md Loading commit data...
Rules Loading commit data...
nanoc.yaml Loading commit data...
prometheus_rsa.enc Loading commit data...