Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPIKE] Explore Argo CD Blue/Green and/or zero-downtime Deployment for Next.js servers on EKS #16866

Closed
4 tasks done
olivereri opened this issue Jan 16, 2024 · 6 comments
Closed
4 tasks done
Assignees
Labels
Accelerated Publishing review-necessity Flag previously created tasks to see if they are still valid and needed.

Comments

@olivereri
Copy link
Contributor

olivereri commented Jan 16, 2024

Requirements

In an effort to ensure Next-Build infrastructure is immutable, meaning changes are not made in Production rather they are introduced only from the build stage, AP should explore the Blue-Green deployment method offered in ArgoCD.

Noting here that the intention is to minimize/eliminate downtime of the system; there is not a before/after testing requirement.

Acceptance criteria

Preview Give feedback
  1. 5 of 5
    Accelerated Publishing rollover
    jschmidt-civicactions

Background & implementation details

https://argoproj.github.io/argo-rollouts/features/bluegreen/

This was referenced Jan 19, 2024
@timcosgrove timcosgrove added Blocked Issues that are blocked on factors other than blocking issues. and removed Needs refining Issue status labels Jan 30, 2024
@timcosgrove
Copy link
Contributor

Questions that will inform this will be done in #17223.

@timcosgrove
Copy link
Contributor

We should observe if the server becomes unresponsive/down, and how long that period is.

@timcosgrove
Copy link
Contributor

Can we sync with CMS Deploy to minimize preview downtime?

@timcosgrove timcosgrove self-assigned this Mar 26, 2024
@timcosgrove timcosgrove added the review-necessity Flag previously created tasks to see if they are still valid and needed. label Apr 2, 2024
@jschmidt-civicactions
Copy link

Examples for ArgoCD blue/green rollout strategy:
https://github.com/argoproj/argo-rollouts/tree/master/examples/helm-blue-green

@timcosgrove timcosgrove changed the title [SPIKE] Explore Argo CD Blue Green Deployment for Dev [SPIKE] Explore Argo CD Blue Green Deployment for Next.js servers on EKS Apr 10, 2024
@timcosgrove timcosgrove changed the title [SPIKE] Explore Argo CD Blue Green Deployment for Next.js servers on EKS [SPIKE] Explore Argo CD Blue/Green and/or zero-downtime Deployment for Next.js servers on EKS Apr 10, 2024
@nfpappas-oddball nfpappas-oddball removed the Blocked Issues that are blocked on factors other than blocking issues. label Apr 22, 2024
@nfpappas-oddball
Copy link
Contributor

Changes were made to Staging. Everything seems to work. To test I created a production tag. This triggered a new image to be built. When the image was built, i synced the project in argocd. Argo noticed the change and started creating new pods. It left 2 pods available , removed 2 pods, and stood 2 pods up.

Image

@nfpappas-oddball
Copy link
Contributor

As testing was successful , I proceeded to make this change to all helm charts for next. Testing for those pieces yielded similar results to prod.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accelerated Publishing review-necessity Flag previously created tasks to see if they are still valid and needed.
Projects
None yet
Development

No branches or pull requests

4 participants