Add pipedv1 Kubernetes multicluster simple example#6796
Open
Akshats-git wants to merge 1 commit into
Open
Conversation
Signed-off-by: Akshat <akshatgupta099@gmail.com>
5d3f0a0 to
8753900
Compare
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds a new pipedv1 “simple” example for the kubernetes-multicluster plugin, including manifests, app config, and a sample Piped plugin configuration.
Changes:
- Added a minimal NGINX Deployment/Service manifest pair for multicluster quick-sync
- Added a
pipedv1app.pipecd.yamldemonstratingkubernetes_multiclusterquickSync with two targets - Added README +
.piped/config-example.yamlto document and illustrate the expected Piped plugin configuration
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| examples/kubernetes_multicluster/simple/service.yaml | Adds a simple ClusterIP Service for the example workload |
| examples/kubernetes_multicluster/simple/deployment.yaml | Adds an NGINX Deployment used by the multicluster example |
| examples/kubernetes_multicluster/simple/app.pipecd.yaml | Adds a pipedv1 KubernetesApp configured for multicluster quickSync targeting two clusters |
| examples/kubernetes_multicluster/simple/README.md | Documents what the example demonstrates and how it differs from v0 |
| examples/kubernetes_multicluster/simple/.piped/config-example.yaml | Provides a sample “flat” Piped config for the multicluster plugin + deploy targets |
| spec: | ||
| containers: | ||
| - name: nginx | ||
| image: nginx:stable |
| @@ -0,0 +1,15 @@ | |||
| # Kubernetes Multi-Cluster Simple Example | |||
|
|
|||
| This example shows the first pipedv1 Kubernetes multicluster app in PipeCD. It deploys the same nginx manifests to two clusters through the kubernetes-multicluster plugin, using `cluster-a` and `cluster-b` as deploy targets. | |||
Contributor
|
whats the main purpose of this pr @Akshats-git ? |
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.
Summary
This PR adds the first
pipedv1example for thekubernetes-multiclusterplugin underexamples/kubernetes_multicluster/simple.Part of #6266
It includes:
app.pipecd.yamlfor a quick-sync multicluster application targetingcluster-aandcluster-bdeployment.yamlandservice.yamlfor a simple NGINX workloadREADME.mddocumenting what the example demonstrates and how it differs from v0 examples.piped/config-example.yamlshowing the expected flat Piped configuration structure for the multicluster pluginValidation
pipedv1multicluster quick-sync workflowDoes this PR introduce a user-facing change?
Yes
How are users affected by this change?
Users now have a concrete
pipedv1example for thekubernetes-multiclusterplugin, along with a companion Piped configuration sample that they can adapt for local setups or other examples.Is this a breaking change?
No
How to migrate (if breaking change)
N/A