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

Blubber/Deployment: Difference between revisions

From Wikitech-static
Jump to navigation Jump to search
imported>Jeena Huneidi
(Create page)
 
imported>JMeybohm
(Blubber is no longer reachable via HTTP, also include a blubber file here to not have to look it up)
 
Line 6: Line 6:


==Testing the deployments==
==Testing the deployments==
If you supply a blubberfile, testing each deployment can be done from the deployment server by curling staging.svc.eqiad.wmnet:8748, blubberoid.svc.codfw.wmnet, and blubberoid.svc.eqiad.wmnet, respectively.
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:
For example:
<syntaxhighlight lang="shell-session">
<syntaxhighlight lang="shell-session">
$ curl -s "blubberoid.svc.eqiad.wmnet:8748/v1/production" -H 'content-type: application/yaml' --data-binary @"blubber.yaml"
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__
</syntaxhighlight>
</syntaxhighlight>

Latest revision as of 13:35, 2 September 2021

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__