-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Enable scraping of weave metrics #7326
Enable scraping of weave metrics #7326
Conversation
Hi @zacblazic. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions 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. |
Thank you! Can you bump the kops/upup/pkg/fi/cloudup/bootstrapchannelbuilder.go Lines 673 to 679 in 44723c3
/ok-to-test |
Hi @rifelpet, to confirm should the change be as follows? versions := map[string]string{
- "pre-k8s-1.6": "2.3.0-kops.2",
- "k8s-1.6": "2.3.0-kops.2",
- "k8s-1.7": "2.5.1-kops.1",
- "k8s-1.8": "2.5.1-kops.1",
- "k8s-1.12": "2.5.1-kops.1",
- }
+ "pre-k8s-1.6": "2.3.0-kops.3",
+ "k8s-1.6": "2.3.0-kops.3",
+ "k8s-1.7": "2.5.1-kops.2",
+ "k8s-1.8": "2.5.1-kops.2",
+ "k8s-1.12": "2.5.1-kops.2",
+ } Also, should I bump the versions in channel builder weave manifest as well? |
Yes, your proposed change is good. And, yes the versions in manifest.yaml will need updating along with the https://api.travis-ci.org/v3/job/564013596/log.txt search for |
This looks great - thank you! FYI, we also have the (As a side note, the intent of this testing to materialize changes so that they can be inspected in code-review. I'm not sure there's a ton of review we can do on the hashes, so maybe we should mask them out in our e2e testing.) Anyway, thanks @zacblazic :-) /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: justinsb, zacblazic The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Cherry pick of #7326 onto release-1.14
Weave has some useful metrics that it exposes on two ports:
6782
- Weave router6781
- Weave network policy controllerThis change annotates the weave pod, making it a target for scraping by prometheus.
It also adds two container ports, one for each container, which prometheus will probe for
/metrics
endpoints. This gets around the limitation that you can only have oneprometheus.io/port
annotation per pod. I've also given the ports the name "metrics" so that if necessary, users can adjust their prometheus configuration to target them more directly.