Package Details: k3s-bin 1.29.1+k3s2-1

Git Clone URL: https://aur.archlinux.org/k3s-bin.git (read-only, click to copy)
Package Base: k3s-bin
Description: Lightweight Kubernetes
Upstream URL: https://k3s.io
Keywords: kubernetes
Licenses: Apache
Conflicts: k3s-git
Submitter: duxet
Maintainer: galdor
Last Packager: galdor
Votes: 26
Popularity: 1.32
First Submitted: 2019-02-28 07:14 (UTC)
Last Updated: 2024-02-18 13:05 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

itoffshore commented on 2022-01-16 02:50 (UTC) (edited on 2022-01-16 02:51 (UTC) by itoffshore)

I think it would be useful to create a k3s-bin.install with a post_install() function that sets up the symlinks rancher's install script creates:

ln -sf /usr/bin/k3s /usr/local/bin/kubectl
ln -sf /usr/bin/k3s /usr/local/bin/ctr
ln -sf /usr/bin/k3s /usr/local/bin/crictl

If you download a snapshot of https://aur.archlinux.org/packages/arch-sign-modules/ - you can see an example of how I setup an install file & loop through a list creating symlinks. Also include in the PKGBUILD install="$pkgname.install"

galdor commented on 2022-01-07 06:31 (UTC)

I just released a new version with the two modifications:

  • Mark k3s.service.env for backup by Pacman during updates.
  • Set a finite value for LimitNOFILE in the Systemd definition file.

aber commented on 2022-01-06 19:19 (UTC)

As @amiga23 already pointed out, please do not overwrite k3s.service.env. Adding backup=("etc/systemd/system/k3s.service.env") would improve usability a lot.

nyyu commented on 2022-01-06 19:13 (UTC)

Can you add: backup=("etc/systemd/system/k3s.service.env") Every change to env file is lost after upgrade

Can you update systemd service? There is a perf issue with LimitNOFILE=infinity https://github.com/k3s-io/k3s/commit/b4335630b78b5cf927e79724067803a6c0d7c04f

Thanks.

galdor commented on 2022-01-03 06:36 (UTC)

Updated to 1.22.5+k3s1.

galdor commented on 2021-12-09 08:38 (UTC)

Updated to 1.22.4+k3s1.

galdor commented on 2021-11-05 08:24 (UTC)

Updated to 1.22.3+k3s1.

francescortiz commented on 2021-10-08 11:27 (UTC)

Awesome, thanks!

galdor commented on 2021-10-08 10:45 (UTC)

Got it. Including this script would be indeed a good idea. The problem is that it currently is generated by the k3s install script, meaning that we cannot easily make it part of the package.

I have open an issue on the k3s repository; I will add it to the package as soon as they start releasing this script.

francescortiz commented on 2021-10-07 13:53 (UTC)

It is part of the official k3s tooling. You can check it here: https://rancher.com/docs/k3s/latest/en/upgrades/killall/

Also, it is referenced inside the install script of k3s: https://get.k3s.io/ (look for KILLALL_K3S_SH).