You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org
Miscweb
This page is about the new service miscweb on kubernetes.
It was requested in task T281538 to replace the legacy service miscweb running on Ganeti VMs in production.
Also see: miscweb1002, miscweb2002
The first of the sites hosted on it that is moving over is static-bugzilla.
Where does the code live?
The docker image is is built by the Deployment Pipeline/CI from the repo operations/container/miscweb. This is also where the actual content and webserver config can be found.
The helm charts for kubernetes are together with the other services in operations/deployment-charts.
How to deploy changes
Staging
- ssh deploy1002.eqiad.wmnet
- [deploy1002:~] $ kube_env miscweb staging
- [deploy1002:~] $ helmfile -e staging diff
- [deploy1002:~] $ helmfile -e staging -i apply
And wait.. either it works after a little while or it will automatically revert after 5 minutes.
Production
- ssh deploy1002.eqiad.wmnet
- [deploy1002:~] $ kube_env miscweb codfw
- [deploy1002:~] $ helmfile -e codfw diff
- [deploy1002:~] $ helmfile -e codfw -i apply
And wait.. either it works after a little while or it will automatically revert after 5 minutes.
- [deploy1002:~] $ kube_env miscweb eqiad
- [deploy1002:~] $ helmfile -e eqiad diff
- [deploy1002:~] $ helmfile -e eqiad -i apply
And wait.. either it works after a little while or it will automatically revert after 5 minutes.
Service names
miscweb.svc.eqiad.wmnet has address 10.2.2.58
miscweb.svc.codfw.wmnet has address 10.2.1.58