With T352956: Handling inbound IPIP traffic on low traffic LVS k8s based realservers completed and verified on wikikube-staging we now need to migrate all other kubernetes related LVS VIPs to IPIP encapsulation.
I've captured the required steps at:
https://wikitech.wikimedia.org/wiki/Kubernetes/Clusters/IPIP
- apiserves (and the apiserver service) have been migrated to IPIP
- Prep work (enabling IPIP support on all workers) fo workload is done, we now need to migrate services to IPIP
Services
- apertium
- citoid
- cxserver
- echostore
- eventgate-analytics
- eventgate-logging-external
- eventgate-analytics-external
- eventgate-main
- eventstreams
- k8s-ingress-wikikube
- kartotherian-k8s-ssl
- kubemaster
- mathoid (hold because T431372: Mark Mathoid endpoints as deprecated)
- mobileapps
- mwdebug
- mwdebug-next
- mw-web
- mw-web-next
- mw-api-ext
- mw-api-ext-next
- mw-api-int
- mw-jobrunner
- proton
- push-notifications
- recommendation-api
- sessionstore
- shellbox
- shellbox-constraints
- shellbox-media
- shellbox-syntaxhighlight
- shellbox-timeline
- shellbox-video
- tegola-vector-tiles
- termbox
- thumbor
- toolhub
- wikifeeds
- zotero
- linkrecommendation
- linkrecommendation-external
- device-analytics
- rest-gateway
import yaml with open("hieradata/common/service.yaml", "r", encoding="utf8") as f: data = yaml.safe_load(f) services = data.get("service::catalog", {}) for name, config in services.items(): lvs = config.get("lvs", {}) conftool = lvs.get("conftool", {}) ipip = lvs.get("ipip_encapsulation", []) if conftool.get("cluster") != "kubernetes": continue if "eqiad" in ipip and "codfw" in ipip: print(f"[x] {name}") continue print(f"[ ] {name}")