Demo proposal - SLO-Gated Canary Rollback in Kubernetes using ArgoCD - #2993
Merged
Conversation
Collaborator
|
Looks interesting and useful for application deployment. Looking forward to the presentation. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Assignment Proposal
Title
Demo proposal - SLO-Gated Canary Rollback in Kubernetes using ArgoCD
Names and KTH ID
Deadline
Category
Description
We want to demonstrate how canary deployment can be used in Kubernetes cluster containing nodes of the
same application using metrics provided by Prometheus to determine whether the new version of the application
should be rolled back or to become fully deployed. Our approach would involve deploying the new version to only 20% of the pods, while keeping current stable version in the rest of the nodes, and redirecting the same proportions of incoming traffic to those two clusters. Then, we plan to use Argo Rollouts to automatically detect whether the newly deployed version nodes adhere to the expected levels of service level objectives (SLOs) based on Prometheus metrics provided by each node. In case of incompliance of such SLOs, automatic rollback would be initiated. Otherwise, new version would be deployed to all available pods (or replace existing ones). We also plan to discuss drawbacks and benefits of such approach during our presentation.
Relevance
This demo reflects DevOPS principles by showing how observability data (i.e., in this case metrics) can be used to detect deviations from the expected metrics requirements and automatically issue rollbacks if needed. This approach provides the development teams with the ability to reduce the blast radius of possibly faulty deployments in production with the assumption that such faults were not detected before production.