diff --git a/argo-rollouts-workshop/main/02-workshop-overview.html b/argo-rollouts-workshop/main/02-workshop-overview.html index 8bac06a..1795f95 100644 --- a/argo-rollouts-workshop/main/02-workshop-overview.html +++ b/argo-rollouts-workshop/main/02-workshop-overview.html @@ -273,14 +273,14 @@

<

All of the code used in this workshop will be located in:

-

~/argo-rollouts-workshop/code

+

~/argo-rollouts-workshop/docmentation/modules/ROOT/examples

-

Once you have cloned the repo, enter the argo-rollouts-workshop directory:

+

Once you have cloned the repo, enter this directory in the terminal:

-
cd argo-rollouts-workshop
+
cd argo-rollouts-workshop/docmentation/modules/ROOT/examples
@@ -315,7 +315,7 @@

D

-
ls code/deploy/base
+
ls ./deploy/base
@@ -325,19 +325,67 @@

D
link:https://github.com/OpenShiftDemos/argo-rollouts-workshop/blob/main/code/deploy/base/deploy.yaml,window='_blank']
-
Unresolved include directive in modules/ROOT/pages/02-workshop-overview.adoc - include::ROOT/../../code/deploy/base/deploy.yaml[]
+
apiVersion: apps/v1
+kind: Deployment
+metadata:
+  name: rollouts-demo
+spec:
+  replicas: 2
+  revisionHistoryLimit: 10
+  selector:
+    matchLabels:
+      app: rollouts-demo
+  template:
+    metadata:
+      labels:
+        app: rollouts-demo
+    spec:
+      containers:
+      - image: docker.io/argoproj/rollouts-demo:blue
+        imagePullPolicy: IfNotPresent
+        name: rollouts-demo
+        ports:
+        - containerPort: 8080
+          protocol: TCP
+        terminationMessagePath: /dev/termination-log
+        terminationMessagePolicy: File
+      dnsPolicy: ClusterFirst
+      schedulerName: default-scheduler
+      terminationGracePeriodSeconds: 30
link:https://github.com/OpenShiftDemos/argo-rollouts-workshop/blob/main/code/deploy/base/service.yaml,window='_blank']
-
Unresolved include directive in modules/ROOT/pages/02-workshop-overview.adoc - include::ROOT/../../code/deploy/base/service.yaml[]
+
apiVersion: v1
+kind: Service
+metadata:
+  labels:
+    app: rollouts-demo
+  name: rollouts-demo
+spec:
+  ports:
+  - port: 8080
+    protocol: TCP
+    targetPort: 8080
+    name: http
+  selector:
+    app: rollouts-demo
link:https://github.com/OpenShiftDemos/argo-rollouts-workshop/blob/main/code/deploy/base/route.yaml,window='_blank']
-
Unresolved include directive in modules/ROOT/pages/02-workshop-overview.adoc - include::ROOT/../../code/deploy/base/route.yaml[]
+
apiVersion: route.openshift.io/v1
+kind: Route
+metadata:
+  name: rollouts-demo
+spec:
+  port:
+    targetPort: http
+  to:
+    kind: Service
+    name: rollouts-demo
@@ -359,6 +407,15 @@

D the management of Kubernetes manifests. Kustomize and Helm are the two most popular yaml management tools in GitOps and we use kustomize here to simplify our deployments.

+
+
link:https://github.com/OpenShiftDemos/argo-rollouts-workshop/blob/main/code/deploy/base/kustomization.yaml,window='_blank']
+
+
resources:
+- deploy.yaml
+- route.yaml
+- service.yaml
+
+

To deploy the application in Development, run the following command in the terminal:

diff --git a/sitemap.xml b/sitemap.xml index 937528d..1e644d8 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -2,14 +2,14 @@ https://openshiftdemos.github.io/argo-rollouts-workshop/argo-rollouts-workshop/main/01-getting-started.html -2023-10-16T00:48:46.415Z +2023-10-16T01:05:24.360Z https://openshiftdemos.github.io/argo-rollouts-workshop/argo-rollouts-workshop/main/02-workshop-overview.html -2023-10-16T00:48:46.415Z +2023-10-16T01:05:24.360Z https://openshiftdemos.github.io/argo-rollouts-workshop/argo-rollouts-workshop/main/index.html -2023-10-16T00:48:46.415Z +2023-10-16T01:05:24.360Z