diff --git a/bootstrap/talos/talconfig.yaml b/bootstrap/talos/talconfig.yaml index ee591071..254b4570 100644 --- a/bootstrap/talos/talconfig.yaml +++ b/bootstrap/talos/talconfig.yaml @@ -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: @@ -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: @@ -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