Details
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T340551 distributed tracing epic | |||
| Open | None | T321211 distributed tracing v1: tech debt blockers | |||
| Resolved | JMeybohm | T307943 Update Kubernetes clusters to v1.23 | |||
| Resolved | jijiki | T287491 Allow to address Kubernetes API servers from NetworkPolicy | |||
| Resolved | CDanis | T365855 Stop hardcoding k8s master (k8s API) endpoint IP addresses |
Event Timeline
Change #1035756 had a related patch set uploaded (by CDanis; author: CDanis):
[operations/deployment-charts@master] otelcol: deploy k8s attributes processor
Change #1035756 merged by jenkins-bot:
[operations/deployment-charts@master] otelcol: deploy k8sattributes processor
Change #1037179 had a related patch set uploaded (by CDanis; author: CDanis):
[operations/deployment-charts@master] freshen hardcoded IDP addresses
Change #1037179 merged by jenkins-bot:
[operations/deployment-charts@master] freshen hardcoded IDP addresses
This is basically T287491: Allow to address Kubernetes API servers from NetworkPolicy
IMHO the easiest and less intrusive way to do this with an upstream helm chart is to just add a calico networkpolicy template to the chart (the file could even be prefixed with wmf-) that just creates that one policy. The linked phab task should contain some examples for that.
I'm triaging this to high as this is the only place where wikikube k8s control-plane IPs are hardcoded and we already forgot about it once. Also it's pretty easy to fix.
@JMeybohm The best way to fix this is by adding a calico definition to the chart directory in a file whose name starts with wmf-, correct?
I think so, yes. Something like https://gerrit.wikimedia.org/r/c/operations/deployment-charts/+/974158
Change #1051820 had a related patch set uploaded (by CDanis; author: CDanis):
[operations/deployment-charts@master] otelcol: update hardcoded k8s master IPs for the last time
Change #1051820 merged by jenkins-bot:
[operations/deployment-charts@master] otelcol: update hardcoded k8s master IPs for the last time
Change #1054394 had a related patch set uploaded (by CDanis; author: CDanis):
[operations/deployment-charts@master] otelcol: Stop hardcoding k8s master IP addresses
Change #1054594 had a related patch set uploaded (by CDanis; author: CDanis):
[operations/deployment-charts@master] Fix opentelemetry-collector chart CI
Change #1054594 merged by jenkins-bot:
[operations/deployment-charts@master] Fix opentelemetry-collector chart CI
Change #1054394 merged by jenkins-bot:
[operations/deployment-charts@master] otelcol: Stop hardcoding k8s master IP addresses
Change #1054637 had a related patch set uploaded (by CDanis; author: CDanis):
[operations/deployment-charts@master] otelcol: use proper Calico selector syntax
Change #1054637 merged by CDanis:
[operations/deployment-charts@master] otelcol: use proper Calico selector syntax
Change #1054650 had a related patch set uploaded (by CDanis; author: CDanis):
[operations/deployment-charts@master] otelcol: use proper Calico selector syntax part2
Change #1054650 merged by CDanis:
[operations/deployment-charts@master] otelcol: use proper Calico selector syntax part2
As I learned today, there's apparently no validation for the supposed-to-be-internal-only crd.projectcalico.org/v1 object type. This required a few iterations in production to get right, but we're done now.