-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Copy pathcluster-runtimesdk.yaml
42 lines (42 loc) · 1.11 KB
/
cluster-runtimesdk.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
apiVersion: cluster.x-k8s.io/v1beta1
kind: Cluster
metadata:
name: '${CLUSTER_NAME}'
namespace: default
labels:
cni: "${CLUSTER_NAME}-crs-0"
spec:
clusterNetwork:
services:
cidrBlocks: ['${DOCKER_SERVICE_CIDRS}']
pods:
cidrBlocks: ['${DOCKER_POD_CIDRS}']
serviceDomain: '${DOCKER_SERVICE_DOMAIN}'
topology:
class: "quick-start-runtimesdk"
version: "${KUBERNETES_VERSION}"
controlPlane:
metadata: {}
nodeDeletionTimeout: "30s"
replicas: ${CONTROL_PLANE_MACHINE_COUNT}
workers:
machineDeployments:
- class: "default-worker"
name: "md-0"
nodeDeletionTimeout: "30s"
replicas: ${WORKER_MACHINE_COUNT}
failureDomain: fd4
machinePools:
- class: "default-worker"
name: "mp-0"
nodeDeletionTimeout: "30s"
nodeVolumeDetachTimeout: "5m"
minReadySeconds: 5
replicas: ${WORKER_MACHINE_COUNT}
failureDomains:
- fd4
variables:
- name: kubeadmControlPlaneMaxSurge
value: "1"
- name: imageRepository
value: "kindest"