Skip to content

Add pipedv1 Kubernetes multicluster simple example#6796

Open
Akshats-git wants to merge 1 commit into
pipe-cd:masterfrom
Akshats-git:pipedv1-multicluster-example
Open

Add pipedv1 Kubernetes multicluster simple example#6796
Akshats-git wants to merge 1 commit into
pipe-cd:masterfrom
Akshats-git:pipedv1-multicluster-example

Conversation

@Akshats-git
Copy link
Copy Markdown

Summary

This PR adds the first pipedv1 example for the kubernetes-multicluster plugin under examples/kubernetes_multicluster/simple.

Part of #6266

It includes:

  • app.pipecd.yaml for a quick-sync multicluster application targeting cluster-a and cluster-b
  • deployment.yaml and service.yaml for a simple NGINX workload
  • README.md documenting what the example demonstrates and how it differs from v0 examples
  • .piped/config-example.yaml showing the expected flat Piped configuration structure for the multicluster plugin

Validation

  • Parsed all new YAML files successfully
  • Kept the example focused on the pipedv1 multicluster quick-sync workflow

Does this PR introduce a user-facing change?

Yes

How are users affected by this change?

Users now have a concrete pipedv1 example for the kubernetes-multicluster plugin, 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

@Akshats-git Akshats-git requested a review from a team as a code owner May 19, 2026 14:25
Copilot AI review requested due to automatic review settings May 19, 2026 14:25
@Akshats-git Akshats-git requested a review from a team as a code owner May 19, 2026 14:25
Signed-off-by: Akshat <akshatgupta099@gmail.com>
@Akshats-git Akshats-git force-pushed the pipedv1-multicluster-example branch from 5d3f0a0 to 8753900 Compare May 19, 2026 14:33
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 pipedv1 app.pipecd.yaml demonstrating kubernetes_multicluster quickSync with two targets
  • Added README + .piped/config-example.yaml to 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.
@mohammedfirdouss
Copy link
Copy Markdown
Contributor

whats the main purpose of this pr @Akshats-git ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants