Derek Nola
7bd65047c3
Match to last After keyword for parser ( #4383 )
...
* Made parser able to skip over subcommands
* Edge case coverage, reworked regex with groups
Signed-off-by: Derek Nola <derek.nola@suse.com>
2021-11-08 10:54:48 -08:00
Derek Nola
8915e4c7f7
Replace gzip with pigz for faster builds ( #4411 )
...
Signed-off-by: dereknola <derek.nola@suse.com>
2021-11-08 10:54:10 -08:00
Derek Nola
0a5c6b1088
Remove unit tests from drone CI ( #4424 )
...
Signed-off-by: dereknola <derek.nola@suse.com>
2021-11-08 11:53:37 -07:00
Luther Monson
36c6634cce
[master] updating to new signals package in wrangler ( #4399 )
...
* updating to new signals package in wrangler
Signed-off-by: Luther Monson <luther.monson@gmail.com>
2021-11-08 08:32:43 -07:00
Adam Majer
f1d6e9bc4b
install.sh: fix path detection for sle-micro ( #4398 )
...
transactional-update was always under /usr/sbin.
Signed-off-by: Adam Majer <amajer@suse.de>
2021-11-05 08:39:45 -07:00
Jacob Blain Christen
86c6924119
containerd: v1.5.7-k3s2 ( #4387 )
...
Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2021-11-03 03:58:36 +02:00
Brad Davidson
f7dcc139ff
Bump klipper-lb image for arm fix
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-11-02 18:55:09 -07:00
Derek Nola
aa3332085f
Update k3s CI to run all integration tests ( #4358 )
...
* Update k3s integration CI so all tests run
* Add check for ipv6 to skip test in Github CI
Signed-off-by: dereknola <derek.nola@suse.com>
2021-11-02 11:37:16 -07:00
Chris Wayne
94c1b988ca
Enable Epics Action to automatically check off child issues in an epic ( #4353 )
...
* Enable Epics Action to automatically check off child issues in an epic
Signed-off-by: Chris Wayne <cwayne18@gmail.com>
2021-11-01 20:46:33 -04:00
Deshi Xiao
f1622129e4
refactor: Use plain channel send or receive
...
fix issue #4369
should use a simple channel send/receive instead of select with a single
case
Signed-off-by: Deshi Xiao <xiaods@gmail.com>
2021-11-01 15:00:49 -07:00
Brad Davidson
f9f1cabe9c
Fix log/reap reexec
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-11-01 14:24:14 -07:00
Jacob Blain Christen
702fe24afe
containerd/cri: enable the btrfs snapshotter ( #4316 )
...
* vendor: btrfs
* enable the btrfs snapshotter
* testing: snapshotter/btrfs
Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2021-10-29 23:31:33 -07:00
Brad Davidson
3da1bb3af2
Fix other uses of NewForConfigOrDie in contexts where we could return err
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-10-29 15:18:14 -07:00
Brad Davidson
5acd0b9008
Watch the local Node object instead of get/sleep looping
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-10-29 15:18:14 -07:00
Brad Davidson
3fe460d080
Block scheduler startup on untainted node when using embedded CCM
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-10-29 15:18:14 -07:00
Jacob Blain Christen
52eb6cac1c
install.sh: initial support for sle-micro ( #4331 )
...
Support invoking install.sh on SLE Micro with or without SELinux
enabled. Same deal for SLES.
Additionally, easy-to-invoke assertions, via Vagrant, that the local
install.sh works correctly:
- tests/install/centos-7 (stand-in for rhel 7)
- tests/install/centos-8 (stand-in for rhel 8)
- tests/install/opensuse-leap (stand-in for sles)
- tests/install/opensuse-microos (stand-in for sle-micro)
- tests/install/ubuntu-focal
Addresses #3188
Addresses #3917
Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2021-10-29 09:47:37 -07:00
Hussein Galal
91cf835ec3
Update to v1.22.3 ( #4354 )
...
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
2021-10-29 17:14:24 +02:00
Derek Nola
7c3f21e581
K3s Integration test fixes ( #4341 )
...
* Move tests into sub folders
* Updated documentation
* Prevent infinite loop is user has not made k3s
Signed-off-by: dereknola <derek.nola@suse.com>
2021-10-28 12:35:28 -07:00
galal-hussein
ab3d25a2c5
Update peer address when running cluster-reset
...
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
2021-10-25 15:43:27 -07:00
Brian Downs
0a0b915921
reset buffer after use ( #4279 )
2021-10-22 15:56:01 -07:00
Brad Davidson
02a314c69a
Bump klipper-helm version
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-10-22 14:28:12 -07:00
Derek Nola
918945da45
Added configuration input to etcd-snapshot ( #4280 )
...
Signed-off-by: dereknola <derek.nola@suse.com>
2021-10-22 12:03:32 -07:00
Jacob Blain Christen
72a1925a34
install.sh: capture quoted environment variables ( #4275 )
...
Leverage posix builtins + grep (with regex matching) to emit quoted
environment variables to K3S_FILE_ENV, e.g.:
```shell
$ export CONTAINERD_TEST_1='one!1' K3S_TEST_2=two K3S_TEST_3='thr ee' TEST_4='!@#$%^&*()_+four!'
$ sh -c export | while read x v; do echo $v; done | grep -E '^(K3S|CONTAINERD)_'
CONTAINERD_TEST_1='one!1'
K3S_TEST_2='two'
K3S_TEST_3='thr ee'
```
Fixes #3395
Addresses rancher/k3os#708
Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2021-10-22 10:45:39 -07:00
Manuel Buil
6058ab5157
Merge pull request #4258 from manuelbuil/update_flannel
...
Update to the newest flannel (v0.15.1)
2021-10-21 09:02:02 +02:00
Manuel Buil
6e410fad49
Update to the newest flannel
...
Fixes issues such as the internode connectivity
Signed-off-by: Manuel Buil <mbuil@suse.com>
2021-10-20 14:32:39 +02:00
Brad Davidson
b5b7033afd
Bump klog fork version
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-10-19 10:16:13 -07:00
Brian Downs
e11a4bf8bb
set duration to second ( #4231 )
2021-10-15 16:46:39 -07:00
Brian Downs
0452f017c1
Add etcd s3 timeout ( #4207 )
2021-10-15 10:24:14 -07:00
Brian Downs
34080b23b1
Copy old bootstrap buffer data for use during migration ( #4215 )
2021-10-15 10:17:29 -07:00
Michal Rostecki
0a91dbb36e
Merge pull request #4218 from manuelbuil/race_condition_issue
...
Fix race condition in cloud provider
2021-10-15 18:10:06 +02:00
Manuel Buil
dbc14b8990
Fix race condition in cloud provider
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
2021-10-15 13:28:32 +02:00
Brad Davidson
5a923ab8dc
Add containerd ready channel to delay etcd node join
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-10-14 14:03:52 -07:00
Michal Rostecki
623f579869
Merge pull request #4192 from vadorovsky/vagrant-fixes
...
Various Vagrant improvements
2021-10-13 02:34:31 +02:00
Jacob Blain Christen
6b4d75d245
maintainers: add Manuel and Michal ( #4193 )
...
Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2021-10-12 16:44:32 -07:00
Hussein Galal
b282528ee2
Display cluster tls error only in debug mode ( #4124 )
...
* Display cluster tls error only in debug mode
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
* fix
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
2021-10-13 00:00:28 +02:00
Brad Davidson
dc18ef2e51
Refactor log and reaper exec to omit MAINPID
...
Using MAINPID breaks systemd's exit detection, as it stops watching the
original pid, but is unable to watch the new pid as it is not a child
of systemd itself. The best we can do is just notify when execing the child
process.
We also need to consolidate forking into a sigle place so that we don't
end up with multiple levels of child processes if both redirecting log
output and reaping child processes.
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-10-12 13:35:10 -07:00
Michal Rostecki
d6b6a3ee9f
vagrant: Add Ubuntu 21.04 support
...
By simply adding a symlink.
Signed-off-by: Michal Rostecki <mrostecki@opensuse.org>
2021-10-12 19:28:07 +02:00
Michal Rostecki
5e01201195
vagrant: Update package list for Ubuntu
...
Before this change, Ubuntu provisioning script used the package list
from Alpine. But a lot of packages from that list have name mismatches.
Biggest example - `docker`, which has nothing to do with Docker as a
container engine in Ubuntu (the proper package is `docker.io`). Let's
just keep the full list for Ubuntu in its own provisioning script.
Signed-off-by: Michal Rostecki <mrostecki@opensuse.org>
2021-10-12 15:06:56 +02:00
Michal Rostecki
e420583684
vagrant: Add support for vagrant-libvirt
...
This change adds support for libvirt provider. Please note that libvirt
doesn't support the "virtualbox" mount type, so an another MOUNT_TYPE
has to be provided while using libvirt. 9p works well.
Signed-off-by: Michal Rostecki <mrostecki@opensuse.org>
2021-10-12 13:33:18 +02:00
Michal Rostecki
f830d09d6e
vagrant: Change OS environment variable to DISTRO
...
On many Linux distributions (including openSUSE) the OS env variable is
already used with value "Linux". This results in weird errors like:
==> .1: Box 'generic/Linux' could not be found. Attempting to find and install...
To avoid the conflict, use the more neutral and less likely to be taken
DISTRO variable.
Signed-off-by: Michal Rostecki <mrostecki@opensuse.org>
2021-10-12 13:33:18 +02:00
Derek Nola
feec44572d
Improve error message when using a "K10" prefixed token ( #4180 )
...
* Add new error message with a K10 prefixed secret token
Signed-off-by: dereknola <derek.nola@suse.com>
2021-10-11 10:00:22 -07:00
Brian Downs
ac7a8d89c6
Add ability to reconcile bootstrap data between datastore and disk ( #3398 )
2021-10-07 12:47:00 -07:00
Luther Monson
9e787bfacb
moving fossa to being inline step with a sles image
...
Signed-off-by: Luther Monson <luther.monson@gmail.com>
2021-10-06 16:47:49 -07:00
Derek Nola
b6919adf62
Add "etcd-" prefix to etcd-snapshot commands as aliases ( #4161 )
...
* Add "etcd-" prefix to etcd-snapshot commands as alias
Signed-off-by: dereknola <derek.nola@suse.com>
2021-10-06 14:20:22 -07:00
Manuel Buil
635f790eb4
Merge pull request #4114 from manuelbuil/lb-controller-dual-stack
...
Dual-stack support in serviceLB controller
2021-10-06 16:08:10 +02:00
Manuel Buil
00cf4578ec
Dual-stack support LB controller
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
2021-10-06 11:06:20 +02:00
Brad Davidson
1f7151ed2f
Update stable to v1.21.5+k3s2
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-10-05 15:59:38 -07:00
Marc Bachmann
9b35734e1a
Add topologySpreadConstraints to support scaling of coredns
...
Signed-off-by: Marc Bachmann <marc.brookman@gmail.com>
2021-10-05 11:52:44 -07:00
Brad Davidson
e24e1332fd
Bump containerd to v1.5.7+k3s1
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-10-04 12:42:05 -07:00
Brad Davidson
12e675e2cc
Don't evacuate the root cgroup when rootless
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-10-01 16:18:12 -07:00