airshipctl/manifests/function/k8scontrol-capd/cluster.yaml
Rishabh Kumar Jain ffe763b96a Update docker base template (CAPD)
- update cluster, controlplane and workers
  template
- update includes removing machine
  health check crd
- update pod and service cidr
- remove cni application as post kubeadm command

Relates-To: #452
Change-Id: I04f0a3ed0966cdb6a58d618e50381b45b80f1f10
2021-03-04 18:05:20 +00:00

30 lines
721 B
YAML

---
apiVersion: cluster.x-k8s.io/v1alpha3
kind: Cluster
metadata:
name: "target-cluster"
namespace: default
spec:
clusterNetwork:
services:
cidrBlocks: ["10.128.0.0/12"]
pods:
cidrBlocks: ["192.168.0.0/16"]
serviceDomain: "cluster.local"
infrastructureRef:
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
kind: DockerCluster
name: "target-cluster"
namespace: default
controlPlaneRef:
kind: KubeadmControlPlane
apiVersion: controlplane.cluster.x-k8s.io/v1alpha3
name: "target-cluster-control-plane"
namespace: default
---
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
kind: DockerCluster
metadata:
name: "target-cluster"
namespace: default