Skip to content

Latest commit

 

History

History
84 lines (73 loc) · 4.7 KB

README.md

File metadata and controls

84 lines (73 loc) · 4.7 KB

Nephio PoCs

License GitHub Super-Linter Ruby Style Guide

visitors

The goal of this project is to provision a Nephio Management cluster for testing different use cases and scenarios.

Open in GitHub Codespaces

The following diagram shows the initial state of the Sandbox:

+---------------------------------+     +---------------------------------+
| gitea (k8s)                     |     | mgmt (k8s)                      |
| +-----------------------------+ |     | +-----------------------------+ |
| | gitea-control-plane         | |     | | mgmt-control-plane          | |
| | podSubnet: 10.244.0.0/24    | |     | | podSubnet: 10.244.0.0/24    | |
| | serviceSubnet: 10.96.0.0/16 | |     | | serviceSubnet: 10.96.0.0/16 | |
| +-----------------------------+ |     | +-----------------------------+ |
| | eth0(172.18.0.2/24)         | |     | | eth0(172.18.0.4/24)         | |
| +------------+----------------+ |     | +------------+----------------+ |
|              |                  |     |              |                  |
+--------------+------------------+     +--------------+------------------+
               |                                       |
     +=========+=======================================+==================+
     |                        kind (bridge)                               |
     |                        172.18.0.0/24                               |
     +====================================================================+

+=======================+
|       host(host)      |
+===========+===========+
            |
+-----------------------+
| cloud-provider (kind) |
+-----------------------+
|                       |
+-----------------------+

After creating the KCD Clusters package variant set, Cluster API services will processed the request and create core01 cluster.

$ kubectl apply -f tests/e2e/cluster.yaml
packagevariantset.config.porch.kpt.dev/kcd-clusters created
+---------------------------------+     +---------------------------------+     +---------------------------------+
| gitea (k8s)                     |     | mgmt (k8s)                      |     | core01 (k8s)                    |
| +-----------------------------+ |     | +-----------------------------+ |     | +-----------------------------+ |
| | gitea-control-plane         | |     | | mgmt-control-plane          | |     | | core01-control-plane        | |
| | podSubnet: 10.244.0.0/24    | |     | | podSubnet: 10.244.0.0/24    | |     | | podSubnet: 10.244.0.0/24    | |
| | serviceSubnet: 10.96.0.0/16 | |     | | serviceSubnet: 10.96.0.0/16 | |     | | serviceSubnet: 10.96.0.0/16 | |
| +-----------------------------+ |     | +-----------------------------+ |     | +-----------------------------+ |
| | eth0(172.18.0.2/24)         | |     | | eth0(172.18.0.4/24)         | |     | | eth0(172.18.0.5/24)         | |
| +------------+----------------+ |     | +------------+----------------+ |     | +------------+----------------+ |
|              |                  |     |              |                  |     |              |                  |
+--------------+------------------+     +--------------+------------------+     +--------------+------------------+
               |                                       |                                       |
     +=========+=======================================+=======================================+===========+
     |                                            kind (bridge)                                            |
     |                                            172.18.0.0/24                                            |
     +=====================================================================================================+

+=======================+
|       host(host)      |
+===========+===========+
            |
+-----------------------+
| cloud-provider (kind) |
+-----------------------+
|                       |
+-----------------------+