Page MenuHomePhabricator

Migrate an example chart to the Calico network policies template
Closed, ResolvedPublic

Description

After having created the helm template allowing any chart to inject Calico NetworkPolicy resources allowing egress to external services, we need to migrate a chart to this new way of defining firewalls in Kubernetes.

I volunteer the superset chart as tribute, as it has many egress policies defined in its helmfile values, and we'd greatly benefit from having them simplified.

Event Timeline

Change 1009290 had a related patch set uploaded (by Brouberol; author: Brouberol):

[operations/deployment-charts@master] Superset: migrate external services egress to Calico network policies

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

Change 1009292 had a related patch set uploaded (by Brouberol; author: Brouberol):

[operations/puppet@production] global_config: add presto, druid and IDP node IPs to the kubernetes global config

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

Gehel triaged this task as Medium priority.Mar 8 2024, 10:09 AM

Change #1009292 merged by Brouberol:

[operations/puppet@production] global_config: rework external services data structure

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

Change #1009290 merged by Brouberol:

[operations/deployment-charts@master] Superset: migrate external services egress to Calico network policies

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

Change #1013947 had a related patch set uploaded (by Brouberol; author: Brouberol):

[operations/deployment-charts@master] superset: Bump chart version

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

Change #1013947 merged by Brouberol:

[operations/deployment-charts@master] superset: Bump chart version

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

Both superset-staging and superset-production have been migrated to Calico NetworkPolicy resources. I checked that all database connection tested alright, and ran a couple of saved queries. Everything ran fine.