This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: cluster.x-k8s.io/v1alpha4 | |
kind: Cluster | |
metadata: | |
name: test-workload-cluster | |
namespace: default | |
spec: | |
clusterNetwork: | |
pods: | |
cidrBlocks: | |
- 192.168.0.0/16 | |
serviceDomain: cluster.local | |
services: | |
cidrBlocks: | |
- 10.128.0.0/12 | |
controlPlaneRef: | |
apiVersion: controlplane.cluster.x-k8s.io/v1alpha4 | |
kind: KubeadmControlPlane | |
name: test-workload-cluster-control-plane | |
namespace: default | |
infrastructureRef: | |
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha4 | |
kind: DockerCluster | |
name: test-workload-cluster | |
namespace: default | |
--- | |
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha4 | |
kind: DockerCluster | |
metadata: | |
name: test-workload-cluster | |
namespace: default | |
--- | |
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha4 | |
kind: DockerMachineTemplate | |
metadata: | |
name: test-workload-cluster-control-plane | |
namespace: default | |
spec: | |
template: | |
spec: | |
extraMounts: | |
- containerPath: /var/run/docker.sock | |
hostPath: /var/run/docker.sock | |
--- | |
apiVersion: controlplane.cluster.x-k8s.io/v1alpha4 | |
kind: KubeadmControlPlane | |
metadata: | |
name: test-workload-cluster-control-plane | |
namespace: default | |
spec: | |
kubeadmConfigSpec: | |
clusterConfiguration: | |
apiServer: | |
certSANs: | |
- localhost | |
- 127.0.0.1 | |
controllerManager: | |
extraArgs: | |
enable-hostpath-provisioner: "true" | |
initConfiguration: | |
nodeRegistration: | |
criSocket: /var/run/containerd/containerd.sock | |
kubeletExtraArgs: | |
cgroup-driver: cgroupfs | |
eviction-hard: nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0% | |
joinConfiguration: | |
nodeRegistration: | |
criSocket: /var/run/containerd/containerd.sock | |
kubeletExtraArgs: | |
cgroup-driver: cgroupfs | |
eviction-hard: nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0% | |
machineTemplate: | |
infrastructureRef: | |
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha4 | |
kind: DockerMachineTemplate | |
name: test-workload-cluster-control-plane | |
namespace: default | |
replicas: 3 | |
version: v1.21.2 | |
--- | |
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha4 | |
kind: DockerMachineTemplate | |
metadata: | |
name: test-workload-cluster-md-0 | |
namespace: default | |
spec: | |
template: | |
spec: {} | |
--- | |
apiVersion: bootstrap.cluster.x-k8s.io/v1alpha4 | |
kind: KubeadmConfigTemplate | |
metadata: | |
name: test-workload-cluster-md-0 | |
namespace: default | |
spec: | |
template: | |
spec: | |
joinConfiguration: | |
nodeRegistration: | |
kubeletExtraArgs: | |
cgroup-driver: cgroupfs | |
eviction-hard: nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0% | |
--- | |
apiVersion: cluster.x-k8s.io/v1alpha4 | |
kind: MachineDeployment | |
metadata: | |
name: test-workload-cluster-md-0 | |
namespace: default | |
spec: | |
clusterName: test-workload-cluster | |
replicas: 3 | |
selector: | |
matchLabels: null | |
template: | |
spec: | |
bootstrap: | |
configRef: | |
apiVersion: bootstrap.cluster.x-k8s.io/v1alpha4 | |
kind: KubeadmConfigTemplate | |
name: test-workload-cluster-md-0 | |
namespace: default | |
clusterName: test-workload-cluster | |
infrastructureRef: | |
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha4 | |
kind: DockerMachineTemplate | |
name: test-workload-cluster-md-0 | |
namespace: default | |
version: v1.21.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment