Examples: Add v1 Kubernetes bluegreen example - #7236
Conversation
Signed-off-by: rahulshendre <rahulshendre789@gmail.com>
✅ Deploy Preview for pipecd-site canceled.
|
There was a problem hiding this comment.
Pull request overview
Adds a new PipeCD v1 (plugin-based piped) Kubernetes BlueGreen example application under examples/v1/, expanding the set of runnable reference configurations for users preparing pipedv1 setups.
Changes:
- Added a BlueGreen pipeline example using canary rollout + traffic routing + approval stages.
- Added Kubernetes manifests (Deployment + Service) wired for variant-based traffic switching.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| examples/v1/kubernetes/bluegreen/app.pipecd.yaml | Defines the v1 Application and BlueGreen pipeline stages, plus plugin manifest inputs and references. |
| examples/v1/kubernetes/bluegreen/deployment.yaml | Adds the base Deployment manifest labeled for PRIMARY variant rollout. |
| examples/v1/kubernetes/bluegreen/service.yaml | Adds the Service manifest selecting the PRIMARY variant and enabling traffic switching via label changes. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| - name: helloworld | ||
| image: ghcr.io/pipe-cd/helloworld:v0.30.0 | ||
| args: |
| This app demonstrates how to deploy a Kubernetes app by BlueGreen strategy without requiring any mesh. | ||
| References: [adding a new app](https://pipecd.dev/docs-v1.0.x/user-guide/managing-application/adding-an-application/), [app configuration](https://pipecd.dev/docs-v1.0.x/user-guide/managing-application/configuration-reference/) |
There was a problem hiding this comment.
The v1 example uses versioned docs-v1.0.x paths since the unversioned docs URLs redirect to the latest stable release, which right now is v0 itself.
Keeping them pinned to docs-v1.0.x makes sure that the links are correct for v1 users
Signed-off-by: rahulshendre <rahulshendre789@gmail.com>
Signed-off-by: rahulshendre <rahulshendre789@gmail.com>
|
Thank you for contributing to PipeCD, @rahulshendre! The changes in this pull request will be part of the upcoming release! |
What this PR does:
Add bluegreen deployment strategy example for v1
Why we need it:
Adding more examples
Which issue(s) this PR fixes:
Part of #6266
Does this PR introduce a user-facing change?: