Continuous deployment

As we have seen, there is a lot of work to get a Cloud Run for Anthos up and running in comparison with Cloud Run. What happens if we want to deploy another revision of the code? Do we need to go through the whole process once again? Well no: the deployment of the service is the only aspect that needs to be repeated. Taking some time to explore this in more detail will be interesting and will provide an understanding of what is happening when multiple revisions are available to the cluster:

  1. Our previous image was version 0.1, so let's implement a small change (I added a +1 to the response string) and see the impact this has on the deployment process and rollout to the cluster:
const express = require('express');const ...

Get Hands-On Serverless Computing with Google Cloud now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.