![Rishabh Kumar Jain](/assets/img/avatar_default.png)
- 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
41 lines
1.3 KiB
YAML
41 lines
1.3 KiB
YAML
---
|
|
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
|
|
kind: DockerMachineTemplate
|
|
metadata:
|
|
name: "target-cluster-control-plane"
|
|
namespace: default
|
|
spec:
|
|
template:
|
|
spec:
|
|
extraMounts:
|
|
- containerPath: "/var/run/docker.sock"
|
|
hostPath: "/var/run/docker.sock"
|
|
---
|
|
kind: KubeadmControlPlane
|
|
apiVersion: controlplane.cluster.x-k8s.io/v1alpha3
|
|
metadata:
|
|
name: "target-cluster-control-plane"
|
|
namespace: default
|
|
spec:
|
|
replicas: ${ CONTROL_PLANE_MACHINE_COUNT }
|
|
infrastructureTemplate:
|
|
kind: DockerMachineTemplate
|
|
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
|
|
name: "target-cluster-control-plane"
|
|
namespace: default
|
|
kubeadmConfigSpec:
|
|
clusterConfiguration:
|
|
controllerManager:
|
|
extraArgs: {enable-hostpath-provisioner: 'true'}
|
|
apiServer:
|
|
certSANs: [localhost, 127.0.0.1]
|
|
initConfiguration:
|
|
nodeRegistration:
|
|
criSocket: /var/run/containerd/containerd.sock
|
|
kubeletExtraArgs: {eviction-hard: 'nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0%'}
|
|
joinConfiguration:
|
|
nodeRegistration:
|
|
criSocket: /var/run/containerd/containerd.sock
|
|
kubeletExtraArgs: {eviction-hard: 'nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0%'}
|
|
version: "v1.18.6"
|