From 1fdf783e8801d0b3e8569befbcb19074de38e951 Mon Sep 17 00:00:00 2001 From: William Rizzo Date: Thu, 16 Jan 2025 06:30:15 +0100 Subject: [PATCH 01/16] add k0s packages Signed-off-by: William Rizzo --- packages/k8s/k0s/build.yaml | 42 ++++++++++++++++++++++++++++++++ packages/k8s/k0s/collection.yaml | 27 ++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 packages/k8s/k0s/build.yaml create mode 100644 packages/k8s/k0s/collection.yaml diff --git a/packages/k8s/k0s/build.yaml b/packages/k8s/k0s/build.yaml new file mode 100644 index 000000000..4f1a647c3 --- /dev/null +++ b/packages/k8s/k0s/build.yaml @@ -0,0 +1,42 @@ +requires: +- name: "toolchain-go-ubuntu" + category: "development" + version: ">=0" +env: + # Remove any possible "+N" from the end of the version. We only bump that to + # avoid overwritting existing images when we want the package to be rebuilt. + - K0S_VERSION=v{{ regexReplaceAll "\\+\\d+$" .Values.version "" }}+k0s.{{.Values.k0s_version}} + {{$arch:=(default "amd64" .Values.arch)}} + {{ if eq $arch "arm" }} + - ARCH=arm64 + {{ else }} + - ARCH={{ $arch }} + {{ end }} +steps: + - c + # Let the installer script install service files for openrc or systemd: + # https://github.com/k3s-io/k3s/blob/36645e7311e9bdbbf2adb79ecd8bd68556bc86f6/install.sh#L114-L122 + {{ if eq .Values.name "k0s-openrc" }} + - touch /sbin/openrc-run && chmod +x /sbin/openrc-run + {{ else }} + - touch /bin/systemctl && chmod +x /bin/systemctl + - mkdir -p /etc/systemd/system/ + {{ end }} + - bash installer.sh + - bash installer.sh agent + - rm -rf installer.sh + - chmod +x /usr/local/bin/k0s + - upx -1 /usr/local/bin/k0s + +includes: +- ^/usr/local/bin/k0s +{{ if eq .Values.name "k0s-openrc" }} +- ^/etc/init.d/$ +- ^/etc/init.d/k0s* +- ^/etc/k0s/$ +- ^/etc/k0s/k0s$ +{{ else }} +- ^/etc/systemd$ +- ^/etc/systemd/system$ +- ^/etc/systemd/system/k0s*.service$ +{{ end }} diff --git a/packages/k8s/k0s/collection.yaml b/packages/k8s/k0s/collection.yaml new file mode 100644 index 000000000..9ef6c058f --- /dev/null +++ b/packages/k8s/k0s/collection.yaml @@ -0,0 +1,27 @@ +packages: + - name: k0s-openrc + category: k8s + version: "1.31.3" + k3s_version: "0" + labels: + github.owner: "k0sproject" + github.repo: "k0s" + autobump.sed_script: 's/\+k0s.[0-9]//g' + autobump.skip_if_contains: '["k0s"]' # disable autobump + uri: + - https://github.com/k0sproject/k0s + license: "APL-2" + description: " The Zero Friction Kubernetes " + - name: k0s-systemd + category: k8s + version: "1.31.3" + k3s_version: "0" + labels: + github.owner: "k0sproject" + github.repo: "k0s" + autobump.sed_script: 's/\+k0s.[0-9]//g' + autobump.skip_if_contains: '["k0s"]' # disable autobump + uri: + - https://github.com/k0sproject/k0s + license: "APL-2" + description: " The Zero Friction Kubernetes " From 7d88df24bc2b7c2aee4501e704c4016a3969b23d Mon Sep 17 00:00:00 2001 From: William Rizzo Date: Thu, 16 Jan 2025 06:58:44 +0100 Subject: [PATCH 02/16] add k0s v1.30.7 and v1.29.11 --- packages/k8s/k0s/collection.yaml | 54 +++++++++++++++++++++++++++++++- 1 file changed, 53 insertions(+), 1 deletion(-) diff --git a/packages/k8s/k0s/collection.yaml b/packages/k8s/k0s/collection.yaml index 9ef6c058f..2958ae773 100644 --- a/packages/k8s/k0s/collection.yaml +++ b/packages/k8s/k0s/collection.yaml @@ -12,6 +12,32 @@ packages: - https://github.com/k0sproject/k0s license: "APL-2" description: " The Zero Friction Kubernetes " + - name: k0s-openrc + category: k8s + version: "1.30.7" + k3s_version: "0" + labels: + github.owner: "k0sproject" + github.repo: "k0s" + autobump.sed_script: 's/\+k0s.[0-9]//g' + autobump.skip_if_contains: '["k0s"]' # disable autobump + uri: + - https://github.com/k0sproject/k0s + license: "APL-2" + description: " The Zero Friction Kubernetes " + - name: k0s-openrc + category: k8s + version: "1.29.11" + k3s_version: "0" + labels: + github.owner: "k0sproject" + github.repo: "k0s" + autobump.sed_script: 's/\+k0s.[0-9]//g' + autobump.skip_if_contains: '["k0s"]' # disable autobump + uri: + - https://github.com/k0sproject/k0s + license: "APL-2" + description: " The Zero Friction Kubernetes " - name: k0s-systemd category: k8s version: "1.31.3" @@ -24,4 +50,30 @@ packages: uri: - https://github.com/k0sproject/k0s license: "APL-2" - description: " The Zero Friction Kubernetes " + description: " The Zero Friction Kubernetes " + - name: k0s-systemd + category: k8s + version: "1.30.7" + k3s_version: "0" + labels: + github.owner: "k0sproject" + github.repo: "k0s" + autobump.sed_script: 's/\+k0s.[0-9]//g' + autobump.skip_if_contains: '["k0s"]' # disable autobump + uri: + - https://github.com/k0sproject/k0s + license: "APL-2" + description: " The Zero Friction Kubernetes " + - name: k0s-systemd + category: k8s + version: "1.29.11" + k3s_version: "0" + labels: + github.owner: "k0sproject" + github.repo: "k0s" + autobump.sed_script: 's/\+k0s.[0-9]//g' + autobump.skip_if_contains: '["k0s"]' # disable autobump + uri: + - https://github.com/k0sproject/k0s + license: "APL-2" + description: " The Zero Friction Kubernetes " From 0f2bcdc3012b417e0d83eda84c0669ac13e0c4a7 Mon Sep 17 00:00:00 2001 From: William Rizzo Date: Thu, 16 Jan 2025 07:02:31 +0100 Subject: [PATCH 03/16] fix typos and comments Signed-off-by: William Rizzo --- packages/k8s/k0s/build.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/k8s/k0s/build.yaml b/packages/k8s/k0s/build.yaml index 4f1a647c3..c523fc843 100644 --- a/packages/k8s/k0s/build.yaml +++ b/packages/k8s/k0s/build.yaml @@ -3,8 +3,6 @@ requires: category: "development" version: ">=0" env: - # Remove any possible "+N" from the end of the version. We only bump that to - # avoid overwritting existing images when we want the package to be rebuilt. - K0S_VERSION=v{{ regexReplaceAll "\\+\\d+$" .Values.version "" }}+k0s.{{.Values.k0s_version}} {{$arch:=(default "amd64" .Values.arch)}} {{ if eq $arch "arm" }} @@ -14,8 +12,6 @@ env: {{ end }} steps: - c - # Let the installer script install service files for openrc or systemd: - # https://github.com/k3s-io/k3s/blob/36645e7311e9bdbbf2adb79ecd8bd68556bc86f6/install.sh#L114-L122 {{ if eq .Values.name "k0s-openrc" }} - touch /sbin/openrc-run && chmod +x /sbin/openrc-run {{ else }} From c50cdd906cfffc0ccd58da1a032f8ecd2b119610 Mon Sep 17 00:00:00 2001 From: William Rizzo Date: Sat, 18 Jan 2025 09:15:19 +0100 Subject: [PATCH 04/16] add installer download Signed-off-by: William Rizzo --- packages/k8s/k0s/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/k8s/k0s/build.yaml b/packages/k8s/k0s/build.yaml index c523fc843..c317dd5d9 100644 --- a/packages/k8s/k0s/build.yaml +++ b/packages/k8s/k0s/build.yaml @@ -11,7 +11,7 @@ env: - ARCH={{ $arch }} {{ end }} steps: - - c + - curl -sfL https://get.k0s.io > installer.sh {{ if eq .Values.name "k0s-openrc" }} - touch /sbin/openrc-run && chmod +x /sbin/openrc-run {{ else }} From 2bcc3577b7cd51a39b7ace7056a256ea50fd1aa8 Mon Sep 17 00:00:00 2001 From: Mauro Morales Date: Tue, 21 Jan 2025 10:06:44 +0100 Subject: [PATCH 05/16] Rename variable for k0s Signed-off-by: Mauro Morales --- packages/k8s/k0s/collection.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/k8s/k0s/collection.yaml b/packages/k8s/k0s/collection.yaml index 2958ae773..04a163200 100644 --- a/packages/k8s/k0s/collection.yaml +++ b/packages/k8s/k0s/collection.yaml @@ -2,7 +2,7 @@ packages: - name: k0s-openrc category: k8s version: "1.31.3" - k3s_version: "0" + k0s_version: "0" labels: github.owner: "k0sproject" github.repo: "k0s" @@ -15,7 +15,7 @@ packages: - name: k0s-openrc category: k8s version: "1.30.7" - k3s_version: "0" + k0s_version: "0" labels: github.owner: "k0sproject" github.repo: "k0s" @@ -28,7 +28,7 @@ packages: - name: k0s-openrc category: k8s version: "1.29.11" - k3s_version: "0" + k0s_version: "0" labels: github.owner: "k0sproject" github.repo: "k0s" @@ -41,7 +41,7 @@ packages: - name: k0s-systemd category: k8s version: "1.31.3" - k3s_version: "0" + k0s_version: "0" labels: github.owner: "k0sproject" github.repo: "k0s" @@ -54,7 +54,7 @@ packages: - name: k0s-systemd category: k8s version: "1.30.7" - k3s_version: "0" + k0s_version: "0" labels: github.owner: "k0sproject" github.repo: "k0s" @@ -67,7 +67,7 @@ packages: - name: k0s-systemd category: k8s version: "1.29.11" - k3s_version: "0" + k0s_version: "0" labels: github.owner: "k0sproject" github.repo: "k0s" From 2e1aeecf279401b74ea17f7d466d29c230d16ea7 Mon Sep 17 00:00:00 2001 From: Mauro Morales Date: Tue, 21 Jan 2025 10:31:13 +0100 Subject: [PATCH 06/16] Change url Signed-off-by: Mauro Morales --- packages/k8s/k0s/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/k8s/k0s/build.yaml b/packages/k8s/k0s/build.yaml index c317dd5d9..991446fdc 100644 --- a/packages/k8s/k0s/build.yaml +++ b/packages/k8s/k0s/build.yaml @@ -11,7 +11,7 @@ env: - ARCH={{ $arch }} {{ end }} steps: - - curl -sfL https://get.k0s.io > installer.sh + - curl -sfL https://get.k0s.sh > installer.sh {{ if eq .Values.name "k0s-openrc" }} - touch /sbin/openrc-run && chmod +x /sbin/openrc-run {{ else }} From eb785b13c1f3381127fc03aef981b34f0894768e Mon Sep 17 00:00:00 2001 From: Mauro Morales Date: Tue, 21 Jan 2025 18:08:36 +0100 Subject: [PATCH 07/16] Force systemd service Signed-off-by: Mauro Morales --- packages/k8s/k0s/build.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/k8s/k0s/build.yaml b/packages/k8s/k0s/build.yaml index 991446fdc..3c45de876 100644 --- a/packages/k8s/k0s/build.yaml +++ b/packages/k8s/k0s/build.yaml @@ -17,10 +17,12 @@ steps: {{ else }} - touch /bin/systemctl && chmod +x /bin/systemctl - mkdir -p /etc/systemd/system/ + # force systemd service check by k0s installer + - mkdir -p /run/systemd/system {{ end }} - bash installer.sh - - bash installer.sh agent - rm -rf installer.sh + - k0s install controller --single --debug --verbose - chmod +x /usr/local/bin/k0s - upx -1 /usr/local/bin/k0s From e4e5138cd960cc7202ab797c8fcfde364774e8c0 Mon Sep 17 00:00:00 2001 From: Mauro Morales Date: Wed, 22 Jan 2025 09:38:55 +0100 Subject: [PATCH 08/16] Feedback Signed-off-by: Mauro Morales --- packages/k8s/k0s/build.yaml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/packages/k8s/k0s/build.yaml b/packages/k8s/k0s/build.yaml index 3c45de876..d78916f67 100644 --- a/packages/k8s/k0s/build.yaml +++ b/packages/k8s/k0s/build.yaml @@ -4,18 +4,12 @@ requires: version: ">=0" env: - K0S_VERSION=v{{ regexReplaceAll "\\+\\d+$" .Values.version "" }}+k0s.{{.Values.k0s_version}} - {{$arch:=(default "amd64" .Values.arch)}} - {{ if eq $arch "arm" }} - - ARCH=arm64 - {{ else }} - - ARCH={{ $arch }} - {{ end }} steps: - curl -sfL https://get.k0s.sh > installer.sh {{ if eq .Values.name "k0s-openrc" }} - touch /sbin/openrc-run && chmod +x /sbin/openrc-run {{ else }} - - touch /bin/systemctl && chmod +x /bin/systemctl + - apt-get update && apt-get install -y systemctl - mkdir -p /etc/systemd/system/ # force systemd service check by k0s installer - mkdir -p /run/systemd/system From 7e4cb9399a062cc0c0b0e594a77ee3bcdd505051 Mon Sep 17 00:00:00 2001 From: Mauro Morales Date: Wed, 22 Jan 2025 10:09:36 +0100 Subject: [PATCH 09/16] Add comments about karianos/service for future ref Signed-off-by: Mauro Morales --- packages/k8s/k0s/build.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/k8s/k0s/build.yaml b/packages/k8s/k0s/build.yaml index d78916f67..5bb620ffb 100644 --- a/packages/k8s/k0s/build.yaml +++ b/packages/k8s/k0s/build.yaml @@ -7,11 +7,12 @@ env: steps: - curl -sfL https://get.k0s.sh > installer.sh {{ if eq .Values.name "k0s-openrc" }} - - touch /sbin/openrc-run && chmod +x /sbin/openrc-run + # required by https://github.com/kardianos/service/blob/becf2eb62b83ed01f5e782cb8da7bb739ded2bb5/service_openrc_linux.go#L17 + - touch /sbin/openrc-init && chmod +x /sbin/openrc-init {{ else }} - apt-get update && apt-get install -y systemctl - mkdir -p /etc/systemd/system/ - # force systemd service check by k0s installer + # required by https://github.com/kardianos/service/blob/becf2eb62b83ed01f5e782cb8da7bb739ded2bb5/service_systemd_linux.go#L23 - mkdir -p /run/systemd/system {{ end }} - bash installer.sh From 4c535c1981336bf5d08332e32e30c17501915aa7 Mon Sep 17 00:00:00 2001 From: Mauro Morales Date: Wed, 22 Jan 2025 10:19:56 +0100 Subject: [PATCH 10/16] Move k0s under /usr/bin Otherwise /usr/local/bin gets shadowed by persistent Signed-off-by: Mauro Morales --- packages/k8s/k0s/build.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/k8s/k0s/build.yaml b/packages/k8s/k0s/build.yaml index 5bb620ffb..6fcde1670 100644 --- a/packages/k8s/k0s/build.yaml +++ b/packages/k8s/k0s/build.yaml @@ -20,9 +20,10 @@ steps: - k0s install controller --single --debug --verbose - chmod +x /usr/local/bin/k0s - upx -1 /usr/local/bin/k0s + - mv /usr/local/bin/k0s /usr/bin/k0s includes: -- ^/usr/local/bin/k0s +- ^/usr/bin/k0s {{ if eq .Values.name "k0s-openrc" }} - ^/etc/init.d/$ - ^/etc/init.d/k0s* From 01dd4a2e9685cdf003e0d917691f1c9bffabe1a9 Mon Sep 17 00:00:00 2001 From: Mauro Morales Date: Wed, 22 Jan 2025 10:22:48 +0100 Subject: [PATCH 11/16] Add override for k0s unit Signed-off-by: Mauro Morales --- packages/static/kairos-overlay-files/collection.yaml | 2 +- .../systemd/system/k0scontroller.service.d/override.conf | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 packages/static/kairos-overlay-files/files/etc/systemd/system/k0scontroller.service.d/override.conf diff --git a/packages/static/kairos-overlay-files/collection.yaml b/packages/static/kairos-overlay-files/collection.yaml index f9545ee18..d000ddec3 100644 --- a/packages/static/kairos-overlay-files/collection.yaml +++ b/packages/static/kairos-overlay-files/collection.yaml @@ -1,4 +1,4 @@ packages: - name: "kairos-overlay-files" category: "static" - version: "1.6.3" + version: "1.6.4" diff --git a/packages/static/kairos-overlay-files/files/etc/systemd/system/k0scontroller.service.d/override.conf b/packages/static/kairos-overlay-files/files/etc/systemd/system/k0scontroller.service.d/override.conf new file mode 100644 index 000000000..14c3c0eb9 --- /dev/null +++ b/packages/static/kairos-overlay-files/files/etc/systemd/system/k0scontroller.service.d/override.conf @@ -0,0 +1,7 @@ +[Unit] +ConditionFileIsExecutable= +ConditionFileIsExecutable=/usr/bin/k0s + +[Service] +ExecStart= +ExecStart=/usr/bin/k0s controller --debug=true --single=true --verbose=true From 95ed7c347e249f67956c51b290da3fb77966490b Mon Sep 17 00:00:00 2001 From: Mauro Morales Date: Wed, 22 Jan 2025 10:48:32 +0100 Subject: [PATCH 12/16] Use alpine for openrc Signed-off-by: Mauro Morales --- packages/k8s/k0s/build.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/k8s/k0s/build.yaml b/packages/k8s/k0s/build.yaml index 6fcde1670..cb14676f4 100644 --- a/packages/k8s/k0s/build.yaml +++ b/packages/k8s/k0s/build.yaml @@ -1,16 +1,19 @@ requires: +{{ if eq .Values.name "k0s-openrc" }} - name: "toolchain-go-ubuntu" category: "development" version: ">=0" +{{ else }} +image: "alpine" +{{ end }} env: - K0S_VERSION=v{{ regexReplaceAll "\\+\\d+$" .Values.version "" }}+k0s.{{.Values.k0s_version}} steps: - curl -sfL https://get.k0s.sh > installer.sh {{ if eq .Values.name "k0s-openrc" }} - # required by https://github.com/kardianos/service/blob/becf2eb62b83ed01f5e782cb8da7bb739ded2bb5/service_openrc_linux.go#L17 - - touch /sbin/openrc-init && chmod +x /sbin/openrc-init + - apk add openrc {{ else }} - - apt-get update && apt-get install -y systemctl + - apt-get update && apt-get install -y systemctl - mkdir -p /etc/systemd/system/ # required by https://github.com/kardianos/service/blob/becf2eb62b83ed01f5e782cb8da7bb739ded2bb5/service_systemd_linux.go#L23 - mkdir -p /run/systemd/system From d07ebdfe3e776a11a224f089b7d0cdc8e990f28e Mon Sep 17 00:00:00 2001 From: Mauro Morales Date: Wed, 22 Jan 2025 11:13:49 +0100 Subject: [PATCH 13/16] Add packages on alpine Signed-off-by: Mauro Morales --- packages/k8s/k0s/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/k8s/k0s/build.yaml b/packages/k8s/k0s/build.yaml index cb14676f4..bb4f341e8 100644 --- a/packages/k8s/k0s/build.yaml +++ b/packages/k8s/k0s/build.yaml @@ -11,7 +11,7 @@ env: steps: - curl -sfL https://get.k0s.sh > installer.sh {{ if eq .Values.name "k0s-openrc" }} - - apk add openrc + - apk add openrc curl upx {{ else }} - apt-get update && apt-get install -y systemctl - mkdir -p /etc/systemd/system/ From ccee8e25d7d81c960446291395e09814075c367c Mon Sep 17 00:00:00 2001 From: Mauro Morales Date: Wed, 22 Jan 2025 11:24:41 +0100 Subject: [PATCH 14/16] Order --- packages/k8s/k0s/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/k8s/k0s/build.yaml b/packages/k8s/k0s/build.yaml index bb4f341e8..9661fcbc0 100644 --- a/packages/k8s/k0s/build.yaml +++ b/packages/k8s/k0s/build.yaml @@ -9,7 +9,6 @@ image: "alpine" env: - K0S_VERSION=v{{ regexReplaceAll "\\+\\d+$" .Values.version "" }}+k0s.{{.Values.k0s_version}} steps: - - curl -sfL https://get.k0s.sh > installer.sh {{ if eq .Values.name "k0s-openrc" }} - apk add openrc curl upx {{ else }} @@ -18,6 +17,7 @@ steps: # required by https://github.com/kardianos/service/blob/becf2eb62b83ed01f5e782cb8da7bb739ded2bb5/service_systemd_linux.go#L23 - mkdir -p /run/systemd/system {{ end }} + - curl -sfL https://get.k0s.sh > installer.sh - bash installer.sh - rm -rf installer.sh - k0s install controller --single --debug --verbose From ab8e0d5473de17c86357fa86deaa710f0092087f Mon Sep 17 00:00:00 2001 From: Mauro Morales Date: Wed, 22 Jan 2025 11:33:43 +0100 Subject: [PATCH 15/16] Add an update Signed-off-by: Mauro Morales --- packages/k8s/k0s/build.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/k8s/k0s/build.yaml b/packages/k8s/k0s/build.yaml index 9661fcbc0..4f7c6f21c 100644 --- a/packages/k8s/k0s/build.yaml +++ b/packages/k8s/k0s/build.yaml @@ -10,6 +10,7 @@ env: - K0S_VERSION=v{{ regexReplaceAll "\\+\\d+$" .Values.version "" }}+k0s.{{.Values.k0s_version}} steps: {{ if eq .Values.name "k0s-openrc" }} + - apk update - apk add openrc curl upx {{ else }} - apt-get update && apt-get install -y systemctl From 111f5d843aec9c64409e3fe6d4be41b394d83aee Mon Sep 17 00:00:00 2001 From: Mauro Morales Date: Wed, 22 Jan 2025 11:58:56 +0100 Subject: [PATCH 16/16] :facepalm: Signed-off-by: Mauro Morales --- packages/k8s/k0s/build.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/k8s/k0s/build.yaml b/packages/k8s/k0s/build.yaml index 4f7c6f21c..34c86e3a5 100644 --- a/packages/k8s/k0s/build.yaml +++ b/packages/k8s/k0s/build.yaml @@ -1,10 +1,10 @@ -requires: {{ if eq .Values.name "k0s-openrc" }} +image: "alpine" +{{ else }} +requires: - name: "toolchain-go-ubuntu" category: "development" version: ">=0" -{{ else }} -image: "alpine" {{ end }} env: - K0S_VERSION=v{{ regexReplaceAll "\\+\\d+$" .Values.version "" }}+k0s.{{.Values.k0s_version}} @@ -19,12 +19,13 @@ steps: - mkdir -p /run/systemd/system {{ end }} - curl -sfL https://get.k0s.sh > installer.sh - - bash installer.sh + - sh installer.sh - rm -rf installer.sh - k0s install controller --single --debug --verbose - chmod +x /usr/local/bin/k0s - upx -1 /usr/local/bin/k0s - mv /usr/local/bin/k0s /usr/bin/k0s + - ls -las /usr/bin/k0s includes: - ^/usr/bin/k0s