mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
⬆️ talos v1.5.x
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
<div align="center">
|
<div align="center">
|
||||||
|
|
||||||
[](https://discord.gg/k8s-at-home)
|
[](https://discord.gg/k8s-at-home)
|
||||||
[](https://talos.dev/)
|
[](https://talos.dev/)
|
||||||
[](https://github.com/auricom/home-ops/actions/workflows/renovate.yaml)
|
[](https://github.com/auricom/home-ops/actions/workflows/renovate.yaml)
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@@ -1,10 +1,20 @@
|
|||||||
---
|
---
|
||||||
clusterName: cluster-0
|
clusterName: cluster-0
|
||||||
|
|
||||||
talosVersion: v1.4.0
|
talosVersion: v1.5.4
|
||||||
kubernetesVersion: v1.27.1
|
kubernetesVersion: v1.28.3
|
||||||
endpoint: https://cluster-0.${domainName}:6443
|
endpoint: https://cluster-0.${domainName}:6443
|
||||||
|
|
||||||
|
# Image URL rendered on https://factory.talos.dev
|
||||||
|
# customization:
|
||||||
|
# extraKernelArgs:
|
||||||
|
# - net.ifnames=0
|
||||||
|
# systemExtensions:
|
||||||
|
# officialExtensions:
|
||||||
|
# - siderolabs/i915-ucode
|
||||||
|
# - siderolabs/intel-ucode
|
||||||
|
talosImageURL: factory.talos.dev/installer/22b1d04da881ef7c57edb0f24d1f3ba2c78a8e22cbe3fa9af4f42d487b2863f7
|
||||||
|
|
||||||
cniConfig:
|
cniConfig:
|
||||||
name: none
|
name: none
|
||||||
|
|
||||||
@@ -16,10 +26,10 @@ additionalMachineCertSans:
|
|||||||
- cluster-0.${domainName}
|
- cluster-0.${domainName}
|
||||||
|
|
||||||
nodes:
|
nodes:
|
||||||
- hostname: talos-node-1
|
# - hostname: talos-node-1
|
||||||
ipAddress: 192.168.9.101
|
# ipAddress: 192.168.9.101
|
||||||
controlPlane: true
|
# controlPlane: true
|
||||||
installDisk: /dev/sda
|
# installDisk: /dev/sda
|
||||||
- hostname: talos-node-2
|
- hostname: talos-node-2
|
||||||
ipAddress: 192.168.9.102
|
ipAddress: 192.168.9.102
|
||||||
controlPlane: true
|
controlPlane: true
|
||||||
@@ -35,55 +45,85 @@ nodes:
|
|||||||
|
|
||||||
controlPlane:
|
controlPlane:
|
||||||
patches:
|
patches:
|
||||||
|
# Disable search domain everywhere
|
||||||
|
- |-
|
||||||
|
machine:
|
||||||
|
network:
|
||||||
|
disableSearchDomain: true
|
||||||
|
|
||||||
|
# Configure NTP
|
||||||
|
- |-
|
||||||
|
machine:
|
||||||
|
time:
|
||||||
|
disabled: false
|
||||||
|
servers:
|
||||||
|
- 192.168.8.1
|
||||||
|
|
||||||
|
# Enable KubePrism
|
||||||
|
- |-
|
||||||
|
machine:
|
||||||
|
features:
|
||||||
|
kubePrism:
|
||||||
|
enabled: true
|
||||||
|
port: 7445
|
||||||
|
|
||||||
|
# Configure cluster loopback
|
||||||
- |-
|
- |-
|
||||||
cluster:
|
|
||||||
allowSchedulingOnMasters: true
|
|
||||||
apiServer:
|
|
||||||
extraArgs:
|
|
||||||
feature-gates: MixedProtocolLBService=true
|
|
||||||
controllerManager:
|
|
||||||
extraArgs:
|
|
||||||
feature-gates: MixedProtocolLBService=true
|
|
||||||
discovery:
|
|
||||||
registries:
|
|
||||||
service:
|
|
||||||
disabled: true
|
|
||||||
proxy:
|
|
||||||
disabled: true
|
|
||||||
extraArgs:
|
|
||||||
feature-gates: MixedProtocolLBService=true,EphemeralContainers=True
|
|
||||||
scheduler:
|
|
||||||
extraArgs:
|
|
||||||
feature-gates: MixedProtocolLBService=true,EphemeralContainers=True
|
|
||||||
|
|
||||||
machine:
|
machine:
|
||||||
files:
|
|
||||||
- content: |
|
|
||||||
[plugins."io.containerd.grpc.v1.cri"]
|
|
||||||
enable_unprivileged_ports = true
|
|
||||||
enable_unprivileged_icmp = true
|
|
||||||
path: /var/cri/conf.d/allow-unpriv-ports.toml
|
|
||||||
op: create
|
|
||||||
kubelet:
|
|
||||||
extraArgs:
|
|
||||||
feature-gates: GracefulNodeShutdown=true,MixedProtocolLBService=true
|
|
||||||
rotate-server-certificates: "true"
|
|
||||||
install:
|
|
||||||
extraKernelArgs:
|
|
||||||
- "talos.logging.kernel=udp://192.168.169.108:6050/"
|
|
||||||
logging:
|
|
||||||
destinations:
|
|
||||||
- endpoint: "udp://192.168.169.108:6051/"
|
|
||||||
format: json_lines
|
|
||||||
network:
|
network:
|
||||||
extraHostEntries:
|
extraHostEntries:
|
||||||
- ip: ${clusterEndpointIP}
|
- ip: ${clusterEndpointIP}
|
||||||
aliases:
|
aliases:
|
||||||
- cluster-0.${domainName}
|
- cluster-0.${domainName}
|
||||||
|
|
||||||
|
# Cluster configuration
|
||||||
|
- |-
|
||||||
|
cluster:
|
||||||
|
allowSchedulingOnMasters: true
|
||||||
|
proxy:
|
||||||
|
disabled: true
|
||||||
|
|
||||||
|
# Configure containerd
|
||||||
|
- |-
|
||||||
|
machine:
|
||||||
|
files:
|
||||||
|
- op: create
|
||||||
|
path: /etc/cri/conf.d/20-customization.part
|
||||||
|
content: |
|
||||||
|
[plugins]
|
||||||
|
[plugins."io.containerd.grpc.v1.cri"]
|
||||||
|
enable_unprivileged_ports = true
|
||||||
|
enable_unprivileged_icmp = true
|
||||||
|
|
||||||
|
# Disable default API server admission plugins.
|
||||||
|
- |-
|
||||||
|
- op: remove
|
||||||
|
path: /cluster/apiServer/admissionControl
|
||||||
|
|
||||||
|
# Kubelet configuration
|
||||||
|
- |-
|
||||||
|
machine:
|
||||||
|
kubelet:
|
||||||
|
extraArgs:
|
||||||
|
feature-gates: CronJobTimeZone=true,GracefulNodeShutdown=true,NewVolumeManagerReconstruction=false
|
||||||
|
rotate-server-certificates: "true"
|
||||||
|
extraConfig:
|
||||||
|
maxPods: 150
|
||||||
|
|
||||||
|
# Custom sysctls
|
||||||
|
- |-
|
||||||
|
machine:
|
||||||
sysctls:
|
sysctls:
|
||||||
fs.inotify.max_user_watches: "1048576"
|
fs.inotify.max_user_watches: "1048576"
|
||||||
fs.inotify.max_user_instances: "8192"
|
fs.inotify.max_user_instances: "8192"
|
||||||
time:
|
|
||||||
disabled: false
|
# # Redirect logs
|
||||||
servers:
|
# - |-
|
||||||
- 192.168.8.1
|
# machine:
|
||||||
|
# install:
|
||||||
|
# extraKernelArgs:
|
||||||
|
# - "talos.logging.kernel=udp://192.168.169.108:6050/"
|
||||||
|
# logging:
|
||||||
|
# destinations:
|
||||||
|
# - endpoint: "udp://192.168.169.108:6051/"
|
||||||
|
# format: json_lines
|
||||||
|
Reference in New Issue
Block a user