Skip to content

Commit 85bf433

Browse files
committed
Fix Mod 4 tagging confusion
Signed-off-by: Daniel Stamer <[email protected]>
1 parent 891f4f9 commit 85bf433

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

.journey/tutorial.neos.md

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1266,27 +1266,19 @@ strategy is commonly referred to as a
12661266
automatically route all traffic to the new revision if it should pass minimum
12671267
health checks.</walkthrough-info-message>
12681268

1269-
Let's begin by deploying an image we know works well, in this case the previous
1270-
version that uses the static tortune library.
1271-
1272-
```bash
1273-
gcloud run deploy jokes \
1274-
--image europe-north1-docker.pkg.dev/<walkthrough-project-id/>/my-repo/dockermultistage
1275-
```
1276-
12771269
In Cloud Run, you can tag your individual revisions. Each tagged revision can be
12781270
easily referenced to by its tag and also gets an individual endpoint, just for
12791271
itself. That means we can preview the revision even without assigning production
12801272
traffic to it.
12811273

1282-
Let's deploy a new revision of the jokes service using a different container
1283-
image. We've been told that requirements have changed dramatically for this new
1284-
version. We don't trust the image and decide to implement a canary release
1285-
strategy. We begin by marking the current revision as 'good'.
1274+
Let's begin by deploying an image we know works well, in this case the previous
1275+
version that uses the static tortune library. Let's also tag this revision as
1276+
'good'.
12861277

12871278
```bash
1288-
gcloud run services update jokes \
1289-
--tag good
1279+
gcloud run deploy jokes \
1280+
--tag good \
1281+
--image europe-north1-docker.pkg.dev/<walkthrough-project-id/>/my-repo/dockermultistage
12901282
```
12911283

12921284
Good! The revision is tagged and gets a separate URL that looks something like
@@ -1298,6 +1290,11 @@ try it by directly cURLing it:
12981290
curl $(gcloud run services describe jokes --format 'value(status.traffic[0].url)')
12991291
```
13001292

1293+
Let's assume we are now told to deploy a new version and that we've been told
1294+
that requirements have changed dramatically and it ships many changes.
1295+
Naturally, we don't trust the image and decide to implement a canary release
1296+
strategy.
1297+
13011298
Now, let's deploy the new image, tag it and **route no traffic to it**, like so:
13021299

13031300
```bash

0 commit comments

Comments
 (0)