Skip to content

Commit

Permalink
Add kube01 worker
Browse files Browse the repository at this point in the history
  • Loading branch information
allenporter committed Nov 29, 2024
1 parent 151913d commit 0afae25
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 12 deletions.
2 changes: 2 additions & 0 deletions bootstrap/talos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ $ talosctl -n 10.10.100.1 disks --insecure
$ talosctl apply-config --insecure -n 10.10.100.1 --file bootstrap/talos/clusterconfig/k8s-cluster-kapi01.yaml
$ talosctl apply-config --insecure -n 10.10.100.2 --file bootstrap/talos/clusterconfig/k8s-cluster-kapi02.yaml
$ talosctl apply-config --insecure -n 10.10.100.3 --file bootstrap/talos/clusterconfig/k8s-cluster-kapi03.yaml
$ talosctl apply-config --insecure -n 10.10.100.4 --file bootstrap/talos/clusterconfig/k8s-cluster-kube01.
yaml
```

## Kubernetes bootstrap
Expand Down
1 change: 1 addition & 0 deletions bootstrap/talos/clusterconfig/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ k8s-cluster-kapi01.yaml
k8s-cluster-kapi02.yaml
k8s-cluster-kapi03.yaml
talosconfig
k8s-cluster-kube01.yaml
32 changes: 20 additions & 12 deletions bootstrap/talos/talconf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,24 @@ nodes:
# /dev/nvme0n1
nodeAnnotations:
accelerator: intel
# - hostname: kube01
# ipAddress: 10.10.100.4
# controlPlane: false
# installDisk: /dev/sda
# # NVidia extensions for older hardware that uses older proprietary drivers
# nodeAnnotations:
# accelerator: nvidia
# kernelModules:
# - name: nvidia
# - name: nvidia_uvm
# - name: nvidia_drm
# - name: nvidia_modeset
- hostname: kube01
ipAddress: 10.10.100.4
controlPlane: false
installDisk: /dev/sdb
nodeAnnotations:
accelerator: nvidia
# NVidia extensions for older hardware that uses older proprietary drivers
# kernelModules:
# - name: nvidia
# - name: nvidia_uvm
# - name: nvidia_drm
# - name: nvidia_modeset
# patches:
# - |-
# machine:
# install:
# image: factory.talos.dev/installer/26124abcbd408be693df9fe852c80ef1e6cc178e34d7d7d8430a28d1130b4227:v1.8.3

cniConfig:
name: none
controlPlane:
Expand All @@ -62,6 +68,7 @@ controlPlane:
- siderolabs/intel-ice-firmware
# Note: Renamed in new version
- siderolabs/i915-ucode

worker:
networkInterfaces:
- interface: eth0
Expand All @@ -70,6 +77,7 @@ worker:
customization:
extraKernelArgs:
- net.ifnames=0

patches:
- |-
cluster:
Expand Down

0 comments on commit 0afae25

Please sign in to comment.