Platform Engineering Team/Event Platform Value Stream/Pyflink Enrichment Service Deployment

This page documents the deployment process of https://gitlab.wikimedia.org/repos/data-engineering/mediawiki-event-enrichment

Prerequisite:

- ssh access to production systems

- Gitlab access

- Gerrit access

mediawiki-event-enrichment
mediawiki-event-enrichment is deployed as pod on DSE k8s.

A new deployment would typically involve


 * 1) Gitlab MR: modifying the application via Gitlab MR
 * 2) Tag gmodena, ottomata, tchin as reviewers
 * 3) make a new release by pushing a git tag
 * 4) git tag -a vX.Y.Z -m 'Version X.Y.Z. .'
 * 5) git push --tags
 * 6) upon release CI will build and push as new mediawiki-event-enrichment  docker image to  https://docker-registry.wikimedia.org/repos/data-engineering/mediawiki-event-enrichment/tags/
 * 7) deployment-charts CR: the helmchart in deployment-charts should point to the new docker image tag https://gerrit.wikimedia.org/r/plugins/gitiles/operations/deployment-charts/+/refs/heads/master/helmfile.d/dse-k8s-services/mediawiki-page-content-change-enrichment/values.yaml#3
 * 8) Tag gmodena, ottomata, tchin as reviewers
 * 9) After the deployment charts CR has been updated, the service is ready  to deploy.
 * 10) ssh deployment.eqiad.wmnet

Post deployment checks
Check metrics? Ssh into Flink Job Manager?

ssh -t  -N -L8081::8081 deploy1002.eqiad.wmnet