You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Blubber/Deployment

From Wikitech-static
Jump to navigation Jump to search

Deploying blubber(oid) to Production

Blubberoid is deployed to kubernetes in the staging, codfw, and eqiad clusters.

Follow the instructions on Deployments_on_kubernetes to deploy to each cluster.

Testing the deployments

If you supply a blubberfile, testing each deployment can be done from the deployment server by curling staging.svc.eqiad.wmnet:4666, blubberoid.svc.codfw.wmnet, and blubberoid.svc.eqiad.wmnet, respectively. For example:

curl -s "https://staging.svc.eqiad.wmnet:4666/v1/production" -H 'content-type: application/yaml' --data-binary @- <<__EOF__
version: v4
base: docker-registry.wikimedia.org/wikimedia-stretch

variants:
  production:
    entrypoint: [echo, "Hello, world!"]
__EOF__