airshipctl/manifests/function/workers-capd/workers.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

46 lines
1.2 KiB
YAML

apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
kind: DockerMachineTemplate
metadata:
name: "target-cluster-md-0"
namespace: default
spec:
template:
spec: {}
---
apiVersion: bootstrap.cluster.x-k8s.io/v1alpha3
kind: KubeadmConfigTemplate
metadata:
name: "target-cluster-md-0"
namespace: default
spec:
template:
spec:
joinConfiguration:
nodeRegistration:
kubeletExtraArgs: {eviction-hard: 'nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0%'}
---
apiVersion: cluster.x-k8s.io/v1alpha3
kind: MachineDeployment
metadata:
name: "target-cluster-md-0"
spec:
clusterName: "target-cluster"
replicas: ${ WORKER_MACHINE_COUNT }
selector:
matchLabels:
template:
spec:
clusterName: "target-cluster"
version: "v1.18.6"
bootstrap:
configRef:
name: "target-cluster-md-0"
namespace: default
apiVersion: bootstrap.cluster.x-k8s.io/v1alpha3
kind: KubeadmConfigTemplate
infrastructureRef:
name: "target-cluster-md-0"
namespace: default
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
kind: DockerMachineTemplate