fix: address talos comments (#1253)
* fix: update cni to cilium in taskfile Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: more updates Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: more cleanup Signed-off-by: Devin Buhl <devin@buhl.casa> * chore: housekeeping Signed-off-by: Devin Buhl <devin@buhl.casa> --------- Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
1 parent
ab93b0e44e
commit
90ca5f026f
16 files changed
+126
-101
No files matched your search
@@ -9,7 +9,7 @@ spec:
|
||||
- role: controller+worker
|
||||
ssh:
|
||||
address: "#{ item.address }#"
|
||||
user: "#{ item.username }#"
|
||||
user: "#{ item.ssh.username }#"
|
||||
installFlags:
|
||||
- --disable-components=metrics-server
|
||||
- --no-taints
|
||||
@@ -24,12 +24,11 @@ spec:
|
||||
after:
|
||||
- curl -sfL https://raw.githubusercontent.com/#{ bootstrap_github_username }#/#{ bootstrap_github_repository_name }#/#{ bootstrap_advanced_flags.github_repository_branch|default('main', true) }#/kubernetes/k0s/resources/reset-system.sh | bash -s -
|
||||
#% endfor %#
|
||||
#% if bootstrap_nodes.worker | length > 0 %#
|
||||
#% for item in bootstrap_nodes.worker %#
|
||||
- role: worker
|
||||
ssh:
|
||||
address: "#{ item.address }#"
|
||||
user: "#{ item.username }#"
|
||||
user: "#{ item.ssh.username }#"
|
||||
hooks:
|
||||
apply:
|
||||
before:
|
||||
@@ -40,7 +39,6 @@ spec:
|
||||
after:
|
||||
- curl -sfL https://raw.githubusercontent.com/#{ bootstrap_github_username }#/#{ bootstrap_github_repository_name }#/#{ bootstrap_advanced_flags.github_repository_branch|default('main', true) }#/kubernetes/k0s/resources/reset-system.sh | bash -s -
|
||||
#% endfor %#
|
||||
#% endif %#
|
||||
k0s:
|
||||
# renovate: datasource=github-releases depName=k0sproject/k0s
|
||||
version: v1.28.6+k0s.0
|
||||
@@ -51,16 +49,14 @@ spec:
|
||||
enabled: false
|
||||
controllerManager:
|
||||
extraArgs:
|
||||
# Required to monitor kube-controller-manager with kube-prometheus-stack
|
||||
bind-address: "0.0.0.0"
|
||||
scheduler:
|
||||
extraArgs:
|
||||
# Required to monitor kube-scheduler with kube-prometheus-stack
|
||||
bind-address: "0.0.0.0"
|
||||
storage:
|
||||
etcd:
|
||||
extraArgs:
|
||||
listen-metrics-urls: http://0.0.0.0:2381 # Required to monitor etcd with kube-prometheus-stack
|
||||
listen-metrics-urls: http://0.0.0.0:2381
|
||||
api:
|
||||
sans:
|
||||
#% if bootstrap_kube_api_addr %#
|
||||
|
||||
@@ -25,12 +25,18 @@ nodes:
|
||||
#% for item in bootstrap_nodes.master %#
|
||||
- hostname: "#{ item.name }#"
|
||||
ipAddress: "#{ item.address }#"
|
||||
#% if item.talos.disk_device.startswith('/') %#
|
||||
installDisk: "#{ item.talos.disk_device }#"
|
||||
#% else %#
|
||||
installDiskSelector:
|
||||
serial: "#{ item.diskSerial }#"
|
||||
serial: "#{ item.talos.disk_device }#"
|
||||
#% endif %#
|
||||
controlPlane: true
|
||||
networkInterfaces:
|
||||
- interface: eth0
|
||||
dhcp: false
|
||||
addresses:
|
||||
- "#{ item.address }#/#{ bootstrap_node_cidr.split('/') | last }#"
|
||||
mtu: 1500
|
||||
routes:
|
||||
- network: 0.0.0.0/0
|
||||
@@ -38,22 +44,26 @@ nodes:
|
||||
vip:
|
||||
ip: "#{ bootstrap_kube_api_addr }#"
|
||||
#% endfor %#
|
||||
#% if bootstrap_nodes.worker | length > 0 %#
|
||||
#% for item in bootstrap_nodes.worker %#
|
||||
- hostname: "#{ item.name }#"
|
||||
ipAddress: "#{ item.address }#"
|
||||
#% if item.talos.disk_device.startswith('/') %#
|
||||
installDisk: "#{ item.talos.disk_device }#"
|
||||
#% else %#
|
||||
installDiskSelector:
|
||||
serial: "#{ item.diskSerial }#"
|
||||
serial: "#{ item.talos.disk_device }#"
|
||||
#% endif %#
|
||||
controlPlane: false
|
||||
networkInterfaces:
|
||||
- interface: eth0
|
||||
dhcp: false
|
||||
addresses:
|
||||
- "#{ item.address }#/#{ bootstrap_node_cidr.split('/') | last }#"
|
||||
mtu: 1500
|
||||
routes:
|
||||
- network: 0.0.0.0/0
|
||||
gateway: "#{ bootstrap_node_cidr | nthhost(1) }#"
|
||||
#% endfor %#
|
||||
#% endif %#
|
||||
|
||||
controlPlane:
|
||||
patches:
|
||||
|
||||
Reference in new issue
Block a user