fix k3s installer scripts #41

Open
opened 2025-05-29 20:12:27 +00:00 by GhostPLACEHOLDER · 0 comments

They are broken and install wrong k3s components.

Before running install script we need to create some configs:

$ cat /etc/rancher/k3s/config.yaml
# https://docs.k3s.io/installation/registry-mirror
embedded-registry: true

disable:
  - traefik
  - servicelb
$ cat /etc/rancher/k3s/registries.yaml
# https://docs.k3s.io/installation/registry-mirror
# https://docs.k3s.io/installation/private-registry
mirrors:
  '*':

It's easier to maintain those settings in a file which is copied to the server instead of using all those script args.
It 's also easier to change settings by simply changing the config on server and restart k3s service.

They are broken and install wrong k3s components. Before running install script we need to create some configs: ```sh $ cat /etc/rancher/k3s/config.yaml # https://docs.k3s.io/installation/registry-mirror embedded-registry: true disable: - traefik - servicelb $ cat /etc/rancher/k3s/registries.yaml # https://docs.k3s.io/installation/registry-mirror # https://docs.k3s.io/installation/private-registry mirrors: '*': ``` It's easier to maintain those settings in a file which is copied to the server instead of using all those script args. It 's also easier to change settings by simply changing the config on server and restart k3s service.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: infrastructure/k8s-cluster#41
No description provided.