Package Details: k3s-bin 1.21.0+k3s1-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: duxet (tbrock)
Last Packager: tbrock
Votes: 17
Popularity: 1.23
First Submitted: 2019-02-28 07:14
Last Updated: 2021-05-03 14:13

Dependencies (0)

Required by (1)

Sources (5)

Latest Comments

1 2 Next › Last »

satcom886 commented on 2021-03-16 10:17

@txomon Oh yeah! Please add the backup line, that would really avoid many headaches.

txomon commented on 2021-03-16 09:42

I would recommend to just copy the original to /etc/systemd/system/k3s.service replacing there k3s server with k3s agent.

Also, please update the PKGBUILD to include a backup line like amiga23 said https://aur.archlinux.org/packages/k3s-bin/#comment-748864

satcom886 commented on 2021-02-18 15:31

@Vanilla Thanks, I also started using systemctl edit so the edits survive updates. It still seems kind of hacky tho.

Vanilla commented on 2021-02-18 13:11

@satcom886

<del>I notice the k3s.service.env installed inside /etc/systemd/system. According to the Getting Started section of the K3S docs, by specifying K3S_URL and K3S_TOKEN, the K3S can be instructed to run in agent mode. (Not tried yet.)</del>

I was wrong. That trick is only for its installation script instead of the K3S binary. In order to run a K3S agent, now I have to partially overwrite the shipped service file with systemctl edit k3s.service .

galdor commented on 2021-01-05 06:21

Would it be possible to add a k3s group and use it for /etc/rancher/k3s/k3s.yaml ? In the current state, the file is owned by root and is 0600, but this file must be readable by any kubernetes tool such as kubectl.

satcom886 commented on 2020-12-06 09:46

I have a possibly dumb question, but how do you "oficially" choose between server and agent mode?

I edited /usr/lib/systemd/system/k3s.service and replaced k3s server with k3s agent. I'm guessing that this is not the right way...

i.further commented on 2020-11-16 15:33

The some files is not removed when it removed.

amiga23 commented on 2020-06-02 07:04

Please do not override the config file during update.

backup=("etc/systemd/system/k3s.service.env")

mercutio commented on 2020-02-04 10:29

I updated the package to 1.17.2, in case someone else might find it useful: https://gist.github.com/mercutiodesign/e871496deca3002fbe7086355772d974

tbrock commented on 2020-01-03 22:27

It looks like that commit did update them, the shas must have changed since the initial publish. Anyway, they are correct now. Enjoy!