-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathworker.yaml.tpl
59 lines (48 loc) · 1.04 KB
/
worker.yaml.tpl
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
machine:
certSANs:
- ${hostname}
- ${node_ip}
kubelet:
extraArgs:
v: 5
node-ip: ${node_ip}
extraConfig:
serverTLSBootstrap: true
allowedUnsafeSysctls:
- net.ipv4.ip_forward
maxPods: ${available_hosts_per_subnet}
nodeIP:
validSubnets:
- ${node_ip}/32
network:
hostname: ${hostname}
interfaces:
- interface: eth0
addresses:
- ${node_ip}/${element(split("/", network_cidr), 1)}
nameservers: ${jsonencode(network_dns_servers)}
time:
servers:
- time.google.com
features:
kubePrism:
enabled: true
port: 7445
cluster:
discovery:
enabled: true
registries:
kubernetes:
disabled: false
service:
disabled: true
network:
dnsDomain: ${kubernetes_cluster_domain}
podSubnets: ${format("%#v",split(",",pod_cidr))}
serviceSubnets: ${format("%#v",split(",",service_cidr))}
cni:
name: custom
proxy:
disabled: true
externalCloudProvider:
enabled: true