-
Notifications
You must be signed in to change notification settings - Fork 30
/
master-dev-sc.yaml
98 lines (98 loc) · 2.84 KB
/
master-dev-sc.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
apiVersion: metal.sidero.dev/v1alpha1
kind: ServerClass
metadata:
name: master-cluster-0
spec:
qualifiers:
cpu:
- manufacturer: QEMU
version: pc-i440fx-7.2
labelSelectors:
- "master-dev": "true"
configPatches:
- op: add
path: /machine/network/interfaces
value:
- interface: eth0
dhcp: true
vip:
ip: "${CLUSTER_0_VIP}"
- interface: dummy0
addresses:
- 169.254.2.53/32
- op: add
path: /machine/network/extraHostEntries
value:
- ip: 127.0.0.1
aliases:
- api.cluster.local
- op: add
path: /machine/network/nameservers
value:
- 1.1.1.1
- 1.0.0.1
- op: replace
path: /machine/install
value:
disk: /dev/sda
extraKernelArgs: ['elevator=noop']
- op: replace
path: /cluster/network/cni
value:
name: "custom"
urls:
- "https://raw.githubusercontent.com/kubebn/talos-proxmox-kaas/main/manifests/talos/cilium.yaml"
- op: replace
path: /cluster/proxy
value:
disabled: true
- op: replace
path: /machine/kubelet/extraArgs
value:
rotate-server-certificates: true
- op: replace
path: /machine/kubelet/clusterDNS
value:
- 169.254.2.53
- 10.96.0.10
- op: replace
path: /cluster/inlineManifests
value:
- name: cilium
contents: |-
apiVersion: v1
kind: Namespace
metadata:
name: cilium
labels:
pod-security.kubernetes.io/enforce: "privileged"
- op: replace
path: /cluster/extraManifests
value:
- https://raw.githubusercontent.com/kubebn/talos-proxmox-kaas/main/manifests/talos/cert-approval.yaml
- https://raw.githubusercontent.com/kubebn/talos-proxmox-kaas/main/manifests/talos/coredns-local.yaml
- https://raw.githubusercontent.com/kubebn/talos-proxmox-kaas/main/manifests/talos/metallb-native.yaml
- https://raw.githubusercontent.com/kubebn/talos-proxmox-kaas/main/manifests/talos/metrics-server.yaml
- op: replace
path: /machine/registries/mirrors
value:
docker.io:
endpoints:
- http://${CACHE_REGISTRY}/v2/proxy-docker.io
overridePath: true
ghcr.io:
endpoints:
- http://${CACHE_REGISTRY}/v2/proxy-ghcr.io
overridePath: true
gcr.io:
endpoints:
- http://${CACHE_REGISTRY}/v2/proxy-gcr.io
overridePath: true
registry.k8s.io:
endpoints:
- http://${CACHE_REGISTRY}/v2/proxy-registry.k8s.io
overridePath: true
quay.io:
endpoints:
- http://${CACHE_REGISTRY}/v2/proxy-quay.io
overridePath: true