Skip to content

Commit 9ab93c8

Browse files
authored
Merge pull request #37608 from DebarghoGhosh/verifying-argo-cd-steps-modification-3311
RHDEVDOCS - 3311 Steps added to modify the spring petclininc under verifying argo cd
2 parents 858cc74 + ae18a8a commit 9ab93c8

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

modules/gitops-verifying-argo-cd-self-healing-behavior.adoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,17 @@ You can test and observe the self-healing behavior in Argo CD.
2323

2424
. Modify the Spring PetClinic deployment and commit the changes to the `app/` directory of the Git repository. Argo CD will automatically deploy the changes to the cluster.
2525

26+
.. Fork the link:https://github.com/redhat-developer/openshift-gitops-getting-started[OpenShift GitOps getting started repository].
27+
28+
.. In the `deployment.yaml` file, change the `failureThreshold` value to `5`.
29+
30+
.. In the deployment cluster, run the following command to verify the changed value of the `failureThreshold` field:
31+
+
32+
[source,terminal]
33+
----
34+
$ oc edit deployment spring-petclinic -n spring-petclinic
35+
----
36+
2637
. Test the self-healing behavior by modifying the deployment on the cluster and scaling it up to two pods while watching the application in the {product-title} web console.
2738
+
2839
.. Run the following command to modify the deployment:

0 commit comments

Comments
 (0)