summaryrefslogtreecommitdiffstats
path: root/recipes-containers/k3s
Commit message (Collapse)AuthorAgeFilesLines
* k3s: update to v1.21.3Bruce Ashfield2021-07-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping k3s to version v1.21.3+k3s1, which comprises the following commits: 786f91b997 Fix multiple bootstrap keys found b9cc6409f4 Bump containerd to v1.4.8-k3s1 c15259d925 Fix to allow prune to correctly cleanup custom named snapshots (#3649) (#3672) 659002f153 [release-1.21] Upgrade k3s-root version 9c981b0184 [release-1.21] Bump Kubernetes to v1.21.3 (#3652) 9859ec7a81 [release-1.21] - Backport Fix storing bootstrap data with empty token string (#3514) 5a88b5b3ea Emit events for AddOn lifecycle ab0520f44e Add comments, clean up imports and function names 411d7e6753 Tidy up function calls with many args ff0451c4dd Add nodename to UA string for deploy controller c3d134a405 prevent snapshot save when snapshots are disabled (#3475) (#3610) 267adf64dc Bump the packaged runc binary version 42ab13a869 Update etcd snapshot error message to be more informative when etcd database is not found (#3592) bbd4fb9888 Dispatch to rancher/system-agent-installer-k3s when tagged 0c5577a8ec [Backport 1.21] Update embedded kube-router (#3557) (#3595) 04d425289f Fix spelling to satisfy codespell check 733ca42b6a go mod vendor 9863b92eb4 Bump rancher/klipper-helm image in airgap image-list.txt 0a5bca7ea2 Bump helm-controller to v0.10.1 0c2d8376d0 Changes local storage pods to have 700 permissions (#3537) (#3548) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k3s: bump to 1.21.2Bruce Ashfield2021-07-081-2/+2
| | | | | | | | | | | | | | | | Bumping k3s to version v1.21.2+k3s1-6-g0c2d8376d0, which comprises the following commits: 0c2d8376d0 Changes local storage pods to have 700 permissions (#3537) (#3548) 65e521140a [Backport 1.21] Move cloud-controller-manager into an embedded executor (#3530) 3224f6b56d fix possible race where bootstrap data might not save 5a67e8dc47 Update to v1.21.2 (#3479) c35761d169 Renamed client-cloud-controller crt and key (#3472) 8651d6af5f Send systemd notifications for both server and agent (#3430) (#3460) 32b02d1baf Send systemd notifications for both server and agent (#3430) c012e6ec6f Changed iptables version check for fail if version is between 1.8.0 and 1.8.3 and using nf_tables mode (#3454) eac48f69bc Add kubernetes.default.svc to serving certs Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k3s: update to 1.21 latestBruce Ashfield2021-06-141-1/+1
| | | | | | | | | | | | | | Bumping k3s to version v1.21.1+k3s1-10-geac48f69bc, which comprises the following commits: eac48f69bc Add kubernetes.default.svc to serving certs 16ae282c7a Fix RBAC cloud-controller-manager name 3308 (#3388) (#3408) ff54d8c96d Add a path for wireguard's privatekey 1932979f44 Update flannel version 8fd180e0d9 move object channel defer close to goroutine 69795277be add retention default and wire in s3 prune 58649c5e85 add etcd snapshot save subcommand Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k3s: update to v1.21.xBruce Ashfield2021-06-041-3/+3
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k3s: update to v1.20.6Bruce Ashfield2021-04-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | Bumping to the latest 1.20.x release, which comprises the following commits: b06a5ffc2f Update to v1.20.6 77390596e6 add cloud controller manager fixes from master ef28edaf9a Update to v1.20.6 1521e3b085 Resolve local retention issue when S3 in use. 221c9ae589 add hidden attribute to disable flags 9a572ecae0 delete nocluster file and remove build tag 3f73665131 remove hidden attribute from cluster flags and related code 29f6275aae add etcd s3 secret and access key flags and env vars to secret data 355fff3017 Update to Kubernetes v1.20.5 (#3094) c09142a3a7 put etcd bootstrap save call in goroutine and update comment a2b1d28c68 [release 1.20] containerd: v1.4.4-k3s1 (#3086) 62839b302a remove duplicate method 0167f86f5d Have Bootstrap Data Stored in etcd at Completed Start (#3038) 1da86eaa0b Etcd Snapshot/Restore to/from S3 Compatible Backends (#2902) 0a3360fc6f Add ability to perform an etcd on-demand snapshot via cli (#2819) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k3s: clean up READMEBruce Ashfield2021-03-161-11/+41
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k3s: rrecommend required kernel modulesBruce Ashfield2021-03-161-1/+11
| | | | | | | | If the required modules aren't in the image, k3s will fail to start. Set the requirements as RRECOMMENDS for image types that don't install the kernel-modules meta-package. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k3s: drop ctr symlinkBruce Ashfield2021-03-161-0/+3
| | | | | | | We build and depend on our own containerd, we don't need the ctr symlink to k3s for proper operation. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k3s: add additional build tagsBruce Ashfield2021-03-161-1/+5
| | | | | | | | To more closely align with the rancher/upstream build, we add additional tags to the build. To make them easier to manage, we also introduce a variable and use it in the go build line. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k3s: add seccomp distro feature requirementBruce Ashfield2021-03-161-0/+3
| | | | | | | | | k3s requires seccomp, and a runc with seccomp enabled for proper operation. runc has a distro feature check to enable seccomp, so if we enforce it as k3s feature, we'll also get a properly built runc and we'll work out of the box. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k3s: bump to v1.20.4Bruce Ashfield2021-03-151-3/+3
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k3s: bump to v1.19.5Bruce Ashfield2021-03-151-2/+2
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k3s: bump to v1.19Bruce Ashfield2021-03-152-17/+14
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k3s: add kernel module rrecommends (and PV fix)Bruce Ashfield2021-03-151-2/+5
| | | | | | | | | | Fixing up the PV to use SRCPV for tracking future version bumps, if the tree is dirty or not, git will tell us. We also add some additional kernel module rrecommends, so that the tools called by k3s can find the support they need (mainly iptools) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k3s: add notes / tips to READMEBruce Ashfield2021-03-151-0/+208
| | | | | | | Clarify some limitations / tweaks to get up and running in a qemu virtual machine. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k3s: package remaining binaries into 'k3s'Bruce Ashfield2021-03-151-0/+1
| | | | | | | | Grab any remaning binaries into the main k3s package. Both k3s-agent and k3s-server rdepend on it, so we'll be sure to get them intalled in both scenarios. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k3s: use cni-networking bbclass to install / package networking configurationBruce Ashfield2021-03-151-1/+4
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k3s: drop symlink to 'ctr'Bruce Ashfield2021-03-151-1/+0
| | | | | | | | | | containerd itself provides 'ctr', and it is in our rdepends. So on target, we have a conflict for the provider of the ctr binary. Dropping the ctr link from k3s, since having the actual containerd package provide its binary .. makes sense. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* containers: introduce k3s recipeJoakim Roubert2021-03-158-0/+342
See recipes-containers/k3s/README.md for basic usage and testing instructions. Signed-off-by: Joakim Roubert <joakimr@axis.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>