{"id":17926394,"url":"https://github.com/kostis-codefresh/multi-service-argo-rollouts-example","last_synced_at":"2025-03-24T03:31:21.572Z","repository":{"id":190446437,"uuid":"682646617","full_name":"kostis-codefresh/multi-service-argo-rollouts-example","owner":"kostis-codefresh","description":"Example with Argo Rollouts with many services","archived":false,"fork":false,"pushed_at":"2024-07-01T14:07:27.000Z","size":150,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-19T01:41:43.709Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://codefresh.io/blog/multi-service-progressive-delivery-with-argo-rollouts/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kostis-codefresh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-24T16:06:37.000Z","updated_at":"2024-07-18T18:24:19.000Z","dependencies_parsed_at":"2024-06-26T18:32:09.521Z","dependency_job_id":"8430e655-d36a-46f9-9c1d-34037ac0fe8f","html_url":"https://github.com/kostis-codefresh/multi-service-argo-rollouts-example","commit_stats":null,"previous_names":["kostis-codefresh/multi-service-argo-rollouts-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kostis-codefresh%2Fmulti-service-argo-rollouts-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kostis-codefresh%2Fmulti-service-argo-rollouts-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kostis-codefresh%2Fmulti-service-argo-rollouts-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kostis-codefresh%2Fmulti-service-argo-rollouts-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kostis-codefresh","download_url":"https://codeload.github.com/kostis-codefresh/multi-service-argo-rollouts-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245204584,"owners_count":20577374,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-28T21:00:26.814Z","updated_at":"2025-03-24T03:31:21.295Z","avatar_url":"https://github.com/kostis-codefresh.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Using Argo Rollouts with many microservices\n\nExample with Argo Rollouts with backend and frontend\n\nRead the full blog post at https://codefresh.io/blog/multi-service-progressive-delivery-with-argo-rollouts/ \n\n![Dashboard](src/loan/static/diagram.svg)\n\n## Run only the backend manually\n\nInstall [GoLang](https://go.dev/) locally\n\n```\ncd src/interest\nAPP_VERSION=1.2  go run .\n```\nYou can now acces the backend at `http://localhost:8080`\n\n## Run only the frontend manually\n\nInstall [GoLang](https://go.dev/) locally\n\n```\ncd src/loan\nAPP_VERSION=1.4 PORT=9000 BACKEND_HOST=localhost go run .\n```\n\nYou can now access the backend at `http://localhost:9000`\n\n## Run both of them at the same time\n\nInstall [Docker compose](https://docs.docker.com/compose/) (no need for local GoLang installation)\n\n```\ncd src\ndocker compose up\n```\n\nAnd now you can use the same URLs as above to access the services.\n\n## Run on Kubernetes as deployments\n\n```\ncd manifests/plain\nkubectl create ns plain\nkubectl apply -f . -n plain\nkubectl port-forward svc/my-plain-backend-service 8000:8080 -n plain\nkubectl port-forward svc/my-plain-frontend-service 9000:8080 -n plain\n```\n\nYou can now access the backend at `http://localhost:8000` and the backend at `http://localhost:9000`\n\n## Run on Kubernetes as Rollouts (modern app)\n\n```\ncd manifests/modern\nkubectl create ns modern\nkubectl apply -f . -n modern\nkubectl port-forward svc/backend-active 8000:8080 -n modern\nkubectl port-forward svc/backend-preview 8050:8080 -n modern\n\nkubectl port-forward svc/frontend-active 9000:8080 -n modern\nkubectl port-forward svc/frontend-preview 9050:8080 -n modern\n```\n\nYou can now access the backend at `http://localhost:8000` (old) and `http://localhost:8050` (new)\nand the backend at `http://localhost:9000` (old) and `http://localhost:9050` (new)\n\nTo see what the rollouts are doing\n\n```\nkubectl-argo-rollouts get rollout my-frontend -n modern\nkubectl-argo-rollouts get rollout my-backend -n modern\n```\n\n## Run on Kubernetes as Rollouts (legacy app)\n\n```\ncd manifests/legacy\nkubectl create ns legacy\nkubectl apply -f . -n legacy\nkubectl port-forward svc/backend-active 8000:8080 -n legacy\nkubectl port-forward svc/backend-preview 8050:8080 -n legacy\n\nkubectl port-forward svc/frontend-active 9000:8080 -n legacy\nkubectl port-forward svc/frontend-preview 9050:8080 -n legacy\n```\n\nYou can now access the backend at `http://localhost:8000` (old) and `http://localhost:8050` (new)\nand the backend at `http://localhost:9000` (old) and `http://localhost:9050` (new)\n\nTo see what the rollouts are doing\n\n```\nkubectl-argo-rollouts get rollout my-frontend -n legacy\nkubectl-argo-rollouts get rollout my-backend -n legacy\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkostis-codefresh%2Fmulti-service-argo-rollouts-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkostis-codefresh%2Fmulti-service-argo-rollouts-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkostis-codefresh%2Fmulti-service-argo-rollouts-example/lists"}