-
Notifications
You must be signed in to change notification settings - Fork 196
[CPCG-344]: Gateway example for client switchover using Blue/Green Deployment strategy. #414
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a comprehensive example demonstrating client switchover using CPC Gateway with a Blue/Green deployment strategy. The example showcases how to migrate Kafka clients from a source cluster to a destination cluster with minimal downtime using Confluent Cluster Linking for replication.
Key Changes
- Introduces Gateway Blue and Green deployment configurations for atomic traffic cutover
- Implements LoadBalancer service for switching traffic between Blue and Green gateways
- Provides detailed documentation covering migration procedures, client impact analysis, and troubleshooting
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
| gateway/client-switchover/loadbalancer-service.yaml | Defines LoadBalancer service with port mappings for both source and destination Kafka clusters |
| gateway/client-switchover/gateway-blue.yaml | Configures Blue Gateway instance pointing to source Kafka cluster |
| gateway/client-switchover/gateway-green.yaml | Configures Green Gateway instance pointing to destination Kafka cluster |
| gateway/client-switchover/README.md | Comprehensive documentation covering setup, migration procedure, client impact, and troubleshooting |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
What
This PR adds a CFK example for CPC Gateway for client switchover using Blue/Green Deployment strategy.
Ref: https://confluentinc.atlassian.net/wiki/spaces/OAAC/pages/4792713908/CPC-Gateway+Restart+Impact+Analysis+Target+Cluster+Change+with+Confluent+Cluster+Linking