feat: Bootstrap Talos k8s cluster
This commit is contained in:
parent
9ca0f7c431
commit
7d3c60325f
7 changed files with 336 additions and 0 deletions
|
|
@ -0,0 +1,43 @@
|
|||
debug: false
|
||||
machine:
|
||||
type: ${machine_type}
|
||||
install:
|
||||
disk: /dev/vda
|
||||
image: factory.talos.dev/nocloud-installer-secureboot/ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515:v${talos_version}
|
||||
network:
|
||||
hostname: ${hostname}
|
||||
nameservers:
|
||||
- 10.13.37.2
|
||||
%{ if machine_type == "controlplane" }
|
||||
interfaces:
|
||||
- interface: eth0
|
||||
dhcp: false
|
||||
vip:
|
||||
ip: ${vip_address}
|
||||
%{ endif }
|
||||
kubelet:
|
||||
extraArgs:
|
||||
pod-max-pids: 1000
|
||||
extraConfig:
|
||||
imageGCHighThresholdPercent: 75
|
||||
imageGCLowThresholdPercent: 70
|
||||
nodeLabels:
|
||||
topology.kubernetes.io/region: ${cluster_name}
|
||||
topology.kubernetes.io/zone: ${node_name}
|
||||
|
||||
cluster:
|
||||
apiServer:
|
||||
auditPolicy:
|
||||
apiVersion: audit.k8s.io/v1
|
||||
kind: Policy
|
||||
rules:
|
||||
- level: Metadata
|
||||
network:
|
||||
cni:
|
||||
name: none
|
||||
proxy:
|
||||
disabled: true
|
||||
inlineManifests:
|
||||
- name: cilium-bootstrap
|
||||
contents: |
|
||||
${indent(6, cilium_install_file)}
|
||||
Loading…
Add table
Add a link
Reference in a new issue