Commit Graph

18 Commits

Author SHA1 Message Date
Bruce Ashfield
9eff8e847b k3s: bump to 1.21.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>
2021-07-08 08:41:41 -04:00
Bruce Ashfield
b88e74aca7 k3s: update to 1.21 latest
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>
2021-06-14 13:53:52 -04:00
Bruce Ashfield
78f83d1e98 k3s: update to v1.21.x
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-06-04 08:42:49 -04:00
Bruce Ashfield
77f8a0b4d4 k3s: update to v1.20.6
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>
2021-04-15 22:58:31 -04:00
Bruce Ashfield
a50389a985 k3s: clean up README
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-03-16 09:30:48 -04:00
Bruce Ashfield
5d7d39943f k3s: rrecommend required kernel modules
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>
2021-03-16 09:30:48 -04:00
Bruce Ashfield
d891808b45 k3s: drop ctr symlink
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>
2021-03-16 09:30:48 -04:00
Bruce Ashfield
cad10c54f2 k3s: add additional build tags
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>
2021-03-16 09:30:48 -04:00
Bruce Ashfield
98daf1fa93 k3s: add seccomp distro feature requirement
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>
2021-03-16 09:30:48 -04:00
Bruce Ashfield
0a35ee512c k3s: bump to v1.20.4
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-03-15 23:15:42 -04:00
Bruce Ashfield
18a0ff528c k3s: bump to v1.19.5
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-03-15 23:15:42 -04:00
Bruce Ashfield
159990bfa3 k3s: bump to v1.19
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-03-15 23:15:42 -04:00
Bruce Ashfield
a0c94280cf k3s: add kernel module rrecommends (and PV fix)
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>
2021-03-15 23:15:42 -04:00
Bruce Ashfield
b1f5b022f4 k3s: add notes / tips to README
Clarify some limitations / tweaks to get up and running in a
qemu virtual machine.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-03-15 23:15:42 -04:00
Bruce Ashfield
fda5629512 k3s: package remaining binaries into 'k3s'
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>
2021-03-15 23:15:42 -04:00
Bruce Ashfield
7c92c5263f k3s: use cni-networking bbclass to install / package networking configuration
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-03-15 23:15:42 -04:00
Bruce Ashfield
96224a4acc k3s: drop symlink to 'ctr'
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>
2021-03-15 23:15:42 -04:00
Joakim Roubert
a876a2d487 containers: introduce k3s recipe
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>
2021-03-15 23:15:42 -04:00