Page MenuHomePhabricator

tools-prometheus can't connect to tools-worker-* on port 10255 for Kubernetes metrics
Open, NormalPublic

Description

modules/role/manifests/toollabs/k8s/worker.pp allows $master_hosts_ferm to connect to port 10255, which isn't right.

Due to this, Prometheus-Labs is missing statistics about k8s workers.

Event Timeline

GTirloni created this task.Jan 23 2019, 7:39 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 23 2019, 7:39 PM

Change 486142 had a related patch set uploaded (by GTirloni; owner: GTirloni):
[operations/puppet@production] toollabs::k8s::worker - Allow prometheus to access read-only metrics port 10255

https://gerrit.wikimedia.org/r/486142

Change 486142 had a related patch set uploaded (by GTirloni; owner: GTirloni):
[operations/puppet@production] toollabs::k8s::worker - Allow prometheus to access read-only metrics port 10255

https://gerrit.wikimedia.org/r/486142

GTirloni updated the task description. (Show Details)Mar 21 2019, 1:14 AM
GTirloni triaged this task as Normal priority.

Change 486142 abandoned by GTirloni:
toollabs::k8s::worker - Allow prometheus to access read-only metrics port 10255

Reason:
Linter won't allow fix without refactoring role into role/profile. Toolforge k8s is to be refactored soon in another task.

https://gerrit.wikimedia.org/r/486142