Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Etcd default version to 3.3.x to facilitate Prometheus monitoring #753

Closed
sebastien-prudhomme opened this issue Jul 5, 2018 · 5 comments

Comments

@sebastien-prudhomme
Copy link

RKE version: 0.17

Etcd cluster is configured with client cert authentification, which is good for security but prevents Prometheus from scraping metrics as it has no dedicated client cert for that.

One solution is to use the "--listen-metrics-urls" that enable another port dedicated to monitoring and that is not using client cert authentification.

That option is available starting from Etcd 3.3.x (etcd-io/etcd#8242) and RKE uses by default Etcd 3.1.12.

@superseb
Copy link
Contributor

superseb commented Jul 5, 2018

We follow the validated etcd for a k8s release as stated in their changelog. For 1.10 this is 3.1.12, and for 1.11 this is 3.2.18.

It seems etcd 3.3 will be supported for 1.12, see kubernetes/kubernetes#61326.

Of course you are free to pick your own etcd version for your cluster.

@sebastien-prudhomme
Copy link
Author

@superseb Ok, i understand.

@sebastien-prudhomme
Copy link
Author

For information: i succesfully upgraded to v3.2 and then to v3.3, each time making an etcd snapshot with RKE.

See no regressions yet.

@estevao90
Copy link

@sebastien-prudhomme, how do you configured RKE to add the extra parameter --listen-metrics-urls in etcd?

Thanks!

@sebastien-prudhomme
Copy link
Author

@estevao90, in the cluster config:

services:
  etcd:
    extra_args:
      listen-metrics-urls: http://0.0.0.0:2381

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants