This is a GitOps repository representing a development environment for the Coffee Shop demo. It represents a single source of truth for the environment, and can be used to deploy all of microservices that make up the demo. For more information on the Coffee Shop scenario, see Design and deliver an event-driven, cloud-native application at lightning speed and for more information on GitOps, see Introduction to accelerators for cloud-native solutions.
This GitOps project assumes that the following already exists in your deployment OpenShift cluster:
- The base infrastructure found on the infrastructure repo.
oc create namespace coffeeshop
oc apply -f environments/coffeeshop-dev/apps/coffeeshop/base/kafka/kafka.yaml
To deploy the application after completing the prerequisites above, issue the following command:
oc apply -k environments
You can set up Tekton pipelines to build each microservice when changes are made, and to deploy the whole application. For more information, See the pipelines repo
Alternatively, you use ArgoCD to deploy the application
For instructions on how to monitor the application, see the infrastructure repo.