Skip to content

This is a simple three tier application that can be deployed via OpenShift GitOps

Notifications You must be signed in to change notification settings

gitops-examples/simple-app-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This is a simple three tier application that can be deployed on OpenShift via OpenShift GitOps.

alt text

Demonstration

To use this application in your own demos, simply fork this repo and then create an app in OpenShift GitOps to point to this application.

alt text

alt text

Note the Path is set to just a dot, i.e. ., ignore the cursor there it is not a pipe.

Once the application is deployed, you can demo some basic GitOps principles:

  1. Self-Healing. Try to increase the replica count of the client or the server in the OpenShift Console, note that because self-heal is enabled it is automatically reset back to 1 which is what is set in the repo.

  2. Self-Healing. Delete the client application in the OpenShift Console, note that Argo immediately recreates it

  3. In kustomization.yaml increase the replica count for either the client or server application in kustomization.yaml, push to git and refresh the app in Argo CD (or wait for 3 minute polling to kick-in). Show how the replica count has increased in the application

  4. In kustomization.yaml show how to increase resources by removing the comments around the patch and pushing it to git. Again refresh the app in Argo CD and in the OpenShift Console note how the pod was recreated with the new higher limit

About

This is a simple three tier application that can be deployed via OpenShift GitOps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published