sigs.k8s.io/cluster-api@v1.7.1/cmd/clusterctl/client/cluster/assets/topology-test/objects-in-different-namespaces.yaml (about)

     1  apiVersion: cluster.x-k8s.io/v1beta1
     2  kind: Cluster
     3  metadata:
     4    name: "my-cluster"
     5    namespace: namespace-one
     6    labels:
     7      cni: kindnet
     8  spec:
     9    clusterNetwork:
    10      services:
    11        cidrBlocks: ["10.128.0.0/12"]
    12      pods:
    13        cidrBlocks: ["192.168.0.0/16"]
    14      serviceDomain: "cluster.local"
    15    topology:
    16      class: my-cluster-class
    17      version: v1.21.2
    18      controlPlane:
    19        metadata: {}
    20        replicas: 1
    21  ---
    22  apiVersion: cluster.x-k8s.io/v1beta1
    23  kind: Cluster
    24  metadata:
    25    name: "my-second-cluster"
    26    namespace: namespace-two
    27    labels:
    28      cni: kindnet
    29  spec:
    30    clusterNetwork:
    31      services:
    32        cidrBlocks: ["10.128.0.0/12"]
    33      pods:
    34        cidrBlocks: ["192.168.0.0/16"]
    35      serviceDomain: "cluster.local"
    36    topology:
    37      class: my-second-cluster-class
    38      version: v1.21.2
    39      controlPlane:
    40        metadata: {}
    41        replicas: 1