Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add extramanifests for kubelet-serving-cert-approver #787

Merged
merged 1 commit into from
Nov 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
131 changes: 46 additions & 85 deletions bootstrap/talos/talconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,59 @@ nodes:
ipAddress: 192.168.1.90
installDisk: /dev/sda
controlPlane: true

- hostname: worker-01
ipAddress: 192.168.1.91
installDisk: /dev/sda

- hostname: worker-02
ipAddress: 192.168.1.92
installDisk: /dev/sda

patches:
- |-
- op: add
path: /machine/kubelet/extraArgs
value:
rotate-server-certificates: "true"
- op: add
path: /cluster/extraManifests
value:
- "https://raw.githubusercontent.com/alex1989hu/kubelet-serving-cert-approver/main/deploy/standalone-install.yaml"
- op: add
path: /machine/kubelet/extraMounts
value:
- destination: /var/local/openebs
type: bind
source: /var/local/openebs
options:
- rbind
- rshared
- rw
- op: add
path: /machine/sysctls
value:
vm.nr_hugepages: "1024"
- op: add
path: /machine/nodeLabels
value:
openebs.io/engine: mayastor
- op: add
path: /machine/disks
value:
- device: /dev/sda
- op: add
path: /machine/network/interfaces
value:
- deviceSelector:
physical: true
dhcp: true
- |
cluster:
network:
cni:
name: none
proxy:
disabled: true

controlPlane:
schematic:
customization:
Expand All @@ -36,48 +80,6 @@ controlPlane:
- siderolabs/intel-ucode
- siderolabs/i915-ucode
- siderolabs/qemu-guest-agent
patches:
- |-

- op: add
path: /machine/kubelet/extraArgs
value:
rotate-server-certificates: "true"
- op: add
path: /machine/kubelet/extraMounts
value:
- destination: /var/local/openebs
type: bind
source: /var/local/openebs
options:
- rbind
- rshared
- rw
- op: add
path: /machine/sysctls
value:
vm.nr_hugepages: "1024"
- op: add
path: /machine/nodeLabels
value:
openebs.io/engine: mayastor
- op: add
path: /machine/disks
value:
- device: /dev/sda
- op: add
path: /machine/network/interfaces
value:
- deviceSelector:
physical: true
dhcp: true
- |
cluster:
network:
cni:
name: none
proxy:
disabled: true
worker:
schematic:
customization:
Expand All @@ -88,44 +90,3 @@ worker:
- siderolabs/intel-ucode
- siderolabs/i915-ucode
- siderolabs/qemu-guest-agent
patches:
- |-
- op: add
path: /machine/kubelet/extraArgs
value:
rotate-server-certificates: "true"
- op: add
path: /machine/kubelet/extraMounts
value:
- destination: /var/local/openebs
type: bind
source: /var/local/openebs
options:
- rbind
- rshared
- rw
- op: add
path: /machine/sysctls
value:
vm.nr_hugepages: "1024"
- op: add
path: /machine/nodeLabels
value:
openebs.io/engine: mayastor
- op: add
path: /machine/disks
value:
- device: /dev/sda
- op: add
path: /machine/network/interfaces
value:
- deviceSelector:
physical: true
dhcp: true
- |
cluster:
network:
cni:
name: none
proxy:
disabled: true