airshipctl/manifests/function/k8scontrol-capd/cluster.yaml
Rishabh Kumar Jain 809b6234a5 Integrate docker provider (capd) with airshipctl
* add documentation for docker provider (capd)
  * add manifests for docker provider (capd)
  * add cluster templates for control plane and workers
  * add site definition to use docker provider (capd) with
    control plane and workers

Change-Id: I36a643774ce2e468b70ab29568bface3da537d41
2020-09-10 21:24:40 +00:00

27 lines
588 B
YAML

apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
kind: DockerCluster
metadata:
name: "dtc"
---
apiVersion: cluster.x-k8s.io/v1alpha3
kind: Cluster
metadata:
name: "dtc"
spec:
clusterNetwork:
pods:
cidrBlocks:
- 172.17.0.0/16
serviceDomain: cluster.local
services:
cidrBlocks:
- 10.0.0.0/24
infrastructureRef:
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
kind: DockerCluster
name: "dtc"
controlPlaneRef:
kind: KubeadmControlPlane
apiVersion: controlplane.cluster.x-k8s.io/v1alpha3
name: "dtc-control-plane"