cd argo-rollouts-workshop
+cd argo-rollouts-workshop/docmentation/modules/ROOT/examples
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
ls code/deploy/base
+ls ./deploy/base
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
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
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
resources:
+- deploy.yaml
+- route.yaml
+- service.yaml
+To deploy the application in Development, run the following command in the terminal: