-
Notifications
You must be signed in to change notification settings - Fork 11
/
join.yaml
61 lines (61 loc) · 1.88 KB
/
join.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
version: v1alpha1
debug: false
persist: true # Indicates whether to pull the machine config upon every boot.
machine:
type: worker
token: {{MACHINE_TOKEN}}
kubelet:
extraArgs:
rotate-server-certificates: true
network:
hostname: {{WORKER_HOSTNAME}}
interfaces:
- interface: eth0
cidr: {{WORKER_IP}}/24
routes:
- network: 0.0.0.0/0
gateway: {{NET_GATEWAY}}
nameservers:
- {{NET_NAMESERVER}}
install:
disk: /dev/mmcblk0
image: ghcr.io/talos-systems/installer:v0.10.0
bootloader: true # Indicates if a bootloader should be installed.
wipe: false # Indicates if the installation disk should be wiped at installation time.
extraKernelArgs:
- talos.platform=metal
- talos.board=rpi_4
# Optionally, pull-through cache for the container image registries will help speed things up.
# See the Talos docs for more info: https://www.talos.dev/docs/v0.10/guides/configuring-pull-through-cache
# registries:
# mirrors:
# docker.io:
# endpoints:
# - http://192.168.57.2:5000
# k8s.gcr.io:
# endpoints:
# - http://192.168.57.2:5001
# quay.io:
# endpoints:
# - http://192.168.57.2:5002
# gcr.io:
# endpoints:
# - http://192.168.57.2:5003
# ghcr.io:
# endpoints:
# - http://192.168.57.2:5004
cluster:
controlPlane:
endpoint: https://{{CLUSTER_VIP}}:6443
network:
dnsDomain: cluster.local
podSubnets:
- 10.244.0.0/16
serviceSubnets:
- 10.96.0.0/12
token: {{CLUSTER_TOKEN}} # The [bootstrap token](https://kubernetes.io/docs/reference/access-authn-authz/bootstrap-tokens/) used to join the cluster.
aescbcEncryptionSecret: "" # Not used on worker nodes
# The base64 encoded root certificate authority used by Kubernetes.
ca:
crt: {{CA_CERT}}
key: "" # Not used on worker nodes