GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - aperture-sci/loan-app: The loan-interest application doe demo

BranchesTags
Open more actions menu

Latest commit

 

History

13,958 Commits
13,958 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
accounts
accounts
 
 
interest
interest
 
 
loan
loan
 
 
membership
membership
 
 
orders
orders
 
 
README.md
README.md
 
 
codefresh.yml
codefresh.yml
 
 

Repository files navigation

Using Argo Rollouts with many microservices

Example with Argo Rollouts with backend and frontend

Dashboard

Run only the backend manually

Install GoLang locally

cd src/interest
APP_VERSION=1.2  go run .

You can now acces the backend at http://localhost:8080

Run only the frontend manually

Install GoLang locally

cd src/loan
APP_VERSION=1.4 PORT=9000 BACKEND_HOST=localhost go run .

You can now access the backend at http://localhost:9000

Run both of them at the same time

Install Docker compose (no need for local GoLang installation)

cd src
docker compose up

And now you can use the same URLs as above to access the services.

Run on Kubernetes as deployments

cd manifests/plain
kubectl create ns plain
kubectl apply -f . -n plain
kubectl port-forward svc/my-plain-backend-service 8000:8080 -n plain
kubectl port-forward svc/my-plain-frontend-service 9000:8080 -n plain

You can now access the backend at http://localhost:8000 and the backend at http://localhost:9000

Run on Kubernetes as Rollouts (modern app)

cd manifests/modern
kubectl create ns modern
kubectl apply -f . -n modern
kubectl port-forward svc/backend-active 8000:8080 -n modern
kubectl port-forward svc/backend-preview 8050:8080 -n modern

kubectl port-forward svc/frontend-active 9000:8080 -n modern
kubectl port-forward svc/frontend-preview 9050:8080 -n modern

You can now access the backend at http://localhost:8000 (old) and http://localhost:8050 (new) and the backend at http://localhost:9000 (old) and http://localhost:9050 (new)

To see what the rollouts are doing

kubectl-argo-rollouts get rollout my-frontend -n modern
kubectl-argo-rollouts get rollout my-backend -n modern

Run on Kubernetes as Rollouts (legacy app)

cd manifests/legacy
kubectl create ns legacy
kubectl apply -f manifests/legacy/rollout-be.yml -n legacy
kubectl apply -k manifests/legacy/. -n legacy
kubectl port-forward svc/backend-active 8000:8080 -n legacy
kubectl port-forward svc/backend-preview 8050:8080 -n legacy

kubectl port-forward svc/frontend-active 9000:8080 -n legacy
kubectl port-forward svc/frontend-preview 9050:8080 -n legacy

You can now access the backend at http://localhost:8000 (old) and http://localhost:8050 (new) and the backend at http://localhost:9000 (old) and http://localhost:9050 (new)

To see what the rollouts are doing

kubectl-argo-rollouts get rollout my-frontend -n legacy
kubectl-argo-rollouts get rollout my-backend -n legacy

About

The loan-interest application doe demo

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

2 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.