Repository navigation
[stable/prometheus] extraSecretMounts support - #4059
Conversation
|
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Sometimes you need to monitor external services and sometimes those services have authentication mechanisms, like TLS. For example, you need to monitor external Etcd cluster. In such case it would be handy to put all the TLS files into Kubernetes Secret and then mount them into Prometheus Server pod, instead of distributing them on all the worker nodes and using hostPath mounts.
47a79d7 to
e977514
Compare
|
/ok-to-test |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: adidenko, unguiculus The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
As for failed tests, |
|
/retest |
* [stable/prometheus] extraSecretMounts support Sometimes you need to monitor external services and sometimes those services have authentication mechanisms, like TLS. For example, you need to monitor external Etcd cluster. In such case it would be handy to put all the TLS files into Kubernetes Secret and then mount them into Prometheus Server pod, instead of distributing them on all the worker nodes and using hostPath mounts. * Incrementing the chart version
* [stable/prometheus] extraSecretMounts support Sometimes you need to monitor external services and sometimes those services have authentication mechanisms, like TLS. For example, you need to monitor external Etcd cluster. In such case it would be handy to put all the TLS files into Kubernetes Secret and then mount them into Prometheus Server pod, instead of distributing them on all the worker nodes and using hostPath mounts. * Incrementing the chart version Signed-off-by: voron <[email protected]>
In order to monitor services that require authentication (like TLS) we need a way to provide Prometheus server with credentials/secrets in a secure manner. Kubernetes Secrets seem like a suitable solution for this.
For example, monitoring of external Etcd cluster with TLS auth. In such case it would be handy to put all the TLS files into Kubernetes Secret and then mount them into Prometheus Server pod. Current alternative is distributing secrets on all the worker nodes and using hostPath mounts.