Start these steps from the root directory of the repo.
-
Create namespace
kubectl create ns reddog
-
Create ConfigMap
export DEPLOY_UNIQUE_SUFFIX=12345 kubectl apply -f ./outputs/config-map-reddog-java-spring-$DEPLOY_UNIQUE_SUFFIX.yaml
-
Deploy Services
kubectl apply -f ./manifests/ # or kubectl apply -f ./manifests/accounting-service.yaml kubectl apply -f ./manifests/loyalty-service.yaml kubectl apply -f ./manifests/make-line-service.yaml kubectl apply -f ./manifests/order-service.yaml kubectl apply -f ./manifests/receipt-generation-service.yaml kubectl apply -f ./manifests/virtual-customers.yaml kubectl apply -f ./manifests/virtual-worker.yaml kubectl apply -f ./manifests/ui.yaml kubectl apply -f ./manifests/openai-service.yaml
-
Deploy GitOps and Config
export RG='reddog-java-spring-12345' export AKS_NAME='aksreddog12345briar12345' az k8s-configuration flux create \ --resource-group $RG \ --cluster-name $AKS_NAME \ --cluster-type managedClusters \ --scope cluster \ --name reddog-java-apps \ --namespace flux-system \ --url https://github.com/appdevgbb/reddog-code-spring.git \ --branch main \ --kustomization name=kustomize path=./manifests/ prune=true
-
Ingress