Skip to content

Commit

Permalink
Show proper usernum in output
Browse files Browse the repository at this point in the history
  • Loading branch information
gnunn1 committed Oct 30, 2023
1 parent 63b805e commit 53fe0c9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
13 changes: 6 additions & 7 deletions documentation/modules/ROOT/pages/03-bluegreen-rollout.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ oc get routes -n user%USERNUM%-prod
[source,bash,subs="attributes+,+macros"]
----
NAME HOST/PORT PATH SERVICES PORT TERMINATION WILDCARD
active active-user1-prod.apps.cluster-nh5nw.nh5nw.sandbox2534.opentlc.com active http edge/Redirect None
preview preview-user1-prod.apps.cluster-nh5nw.nh5nw.sandbox2534.opentlc.com preview http edge/Redirect None
active active-user%USERNUM%-prod.apps.cluster-nh5nw.nh5nw.sandbox2534.opentlc.com active http edge/Redirect None
preview preview-user%USERNUM%-prod.apps.cluster-nh5nw.nh5nw.sandbox2534.opentlc.com preview http edge/Redirect None
----

Copy the value of the `HOST/PORT` of each route into an individual browser tab to confirm that both display the application with blue squares.
Expand Down Expand Up @@ -156,7 +156,7 @@ metadata:
labels:
app: rollouts-demo
name: active
namespace: user1-prod
namespace: user%USERNUM%-prod
spec:
clusterIP: 172.30.104.238
clusterIPs:
Expand Down Expand Up @@ -232,7 +232,7 @@ This command should output something similar to the following:
[source,bash,subs="attributes+,+macros"]
----
Name: rollouts-demo
Namespace: user1-prod
Namespace: user%USERNUM%-prod
Status: ✔ Healthy
Strategy: BlueGreen
Images: quay.io/openshiftdemos/rollouts-demo:blue (stable, active)
Expand Down Expand Up @@ -399,7 +399,7 @@ This should return the following output:
[source,bash,subs="attributes+,+macros"]
----
Name: rollouts-demo
Namespace: user1-prod
Namespace: user%USERNUM%-prod
Status: ॥ Paused
Message: BlueGreenPause
Strategy: BlueGreen
Expand Down Expand Up @@ -521,8 +521,7 @@ Once this command is run, if you look at the dashboard you will see a new revisi

image::argo-rollouts-rollback.png[]

Like Kubernetes Deployments, Argo Rollouts treats a rollback as a roll forward by creating a new revision for the desired state. This
enables
Like Kubernetes Deployments, Argo Rollouts treats a rollback as a roll forward by creating a new revision for the desired state.

[#cleanup]
== Clean-up
Expand Down
4 changes: 2 additions & 2 deletions documentation/modules/ROOT/pages/04-analysis.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ This will display output similar to the following assuming the analysis run has
[source,bash,subs="attributes+,+macros"]
----
Name: rollouts-demo
Namespace: user1-prod
Namespace: user%USERNUM%-prod
Status: ✔ Healthy
Strategy: BlueGreen
Images: quay.io/openshiftdemos/rollouts-demo:green (stable, active)
Expand Down Expand Up @@ -298,7 +298,7 @@ Will now show the following:
[source,bash,subs="attributes+,+macros"]
----
Name: rollouts-demo
Namespace: user1-prod
Namespace: user%USERNUM%-prod
Status: ✖ Degraded
Message: RolloutAborted: Rollout aborted update to revision 3: Metric "success-rate" assessed Failed due to failed (1) > failureLimit (0)
Strategy: BlueGreen
Expand Down
8 changes: 4 additions & 4 deletions documentation/modules/ROOT/pages/05-canary-rollout.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ The console should return something similar to:
[source,bash,subs="attributes+,+macros"]
----
Name: rollouts-demo
Namespace: user1-prod
Namespace: user%USERNUM%-prod
Status: ✔ Healthy
Strategy: Canary
Step: 8/8
Expand Down Expand Up @@ -207,7 +207,7 @@ You should see output similar to the following:
[source,bash,subs="attributes+,+macros"]
----
Name: rollouts-demo
Namespace: user1-prod
Namespace: user%USERNUM%-prod
Status: ॥ Paused
Message: CanaryPauseStep
Strategy: Canary
Expand Down Expand Up @@ -374,7 +374,7 @@ You should see output as follows:
[source,bash,subs="attributes+,+macros"]
----
Name: rollouts-demo
Namespace: user1-prod
Namespace: user%USERNUM%-prod
Status: ✔ Healthy
Strategy: Canary
Step: 7/7
Expand Down Expand Up @@ -442,7 +442,7 @@ Information about the rollout will appear as follows:
[source,bash,subs="attributes+,+macros"]
----
Name: rollouts-demo
Namespace: user1-prod
Namespace: user%USERNUM%-prod
Status: ✔ Healthy
Strategy: Canary
Step: 7/7
Expand Down

0 comments on commit 53fe0c9

Please sign in to comment.