Derek Nola
c7a91e1ccd
Update to v1.20.15 ( #4995 )
...
* Backport https://github.com/k3s-io/k3s/pull/4861
Signed-off-by: Derek Nola <derek.nola@suse.com >
* Update to v1.20.15
Signed-off-by: Derek Nola <derek.nola@suse.com >
v1.20.15+k3s1
v1.20.15-rc1+k3s1
2022-01-20 08:43:54 -08:00
Brad Davidson
29b4bd8a1d
Update etcd to v3.4.18-k3s1
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2022-01-14 13:35:18 -08:00
Brad Davidson
267858c064
Skip CGroup v2 evac when agent is disabled
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2022-01-14 13:25:48 -08:00
Brad Davidson
462434a5b7
Add basic etcd join test
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
v1.20.14-rc1+k3s2
v1.20.14+k3s2
2022-01-07 12:21:39 -08:00
Brad Davidson
7f271e4e9a
Fix handling of agent-token fallback to token
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2022-01-07 12:21:39 -08:00
Brad Davidson
a82d4781c4
Fix use of agent creds for config validate
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2022-01-07 12:21:39 -08:00
Brad Davidson
e5f2506e85
Add etcd sonobuoy tests
...
Closes a gap in test coverage. Also fixes an issue where args and hooks
from previous test runs were not being reset for subsequent runs.
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2022-01-07 12:21:39 -08:00
Manuel Buil
6149cba259
Merge pull request #4776 from manuelbuil/fix-rke2-ha-120
...
[Release 1.20] Remove Disables, Skips and DisableKubeProxy from the comparing configs
v1.20.14+k3s1
v1.20.14-rc2+k3s1
2021-12-17 21:00:24 +01:00
Manuel Buil
97033103c5
Remove Disables, Skips and DisableKubeProxy from the comparing configs
...
Signed-off-by: Manuel Buil <mbuil@suse.com >
2021-12-17 19:14:07 +01:00
Manuel Buil
7fc43002fe
Merge pull request #4770 from manuelbuil/bug-ha
...
[Release 1-20] Fix joining ha problems
2021-12-17 17:03:06 +01:00
manuelbuil
329ffcf8cb
Fix joining ha problems
...
Signed-off-by: manuelbuil <mbuil@suse.com >
2021-12-17 12:40:55 +01:00
Hussein Galal
c4f8f3e234
Update to v1.20.14 ( #4759 )
...
* Update to v1.20.14
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* Update go mod
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* Update to v1.20.14
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
v1.20.14-rc1+k3s1
2021-12-16 19:08:43 +02:00
Hussein Galal
1e1fb73ee9
Add validation to certificate rotation ( #4698 )
...
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
v1.20.13-rc2+k3s2
v1.20.13-rc1+k3s2
2021-12-09 02:45:50 +02:00
Brad Davidson
03f7af01e9
bump kine to v0.6.5
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2021-12-08 13:34:08 -08:00
Manuel Buil
1ac744c398
Merge pull request #4680 from manuelbuil/ha-verify-1.20
...
[Release 1.20] Verify new control plane nodes joining the cluster share the same config as cluster members
2021-12-08 16:53:28 +01:00
Manuel Buil
5bd8eb7887
Check HA network parameters
...
Signed-off-by: Manuel Buil <mbuil@suse.com >
2021-12-08 15:05:29 +01:00
Hussein Galal
6d3c31adf1
[Release-1.20] Add cert rotation command ( #4633 )
...
* Add cert rotation command (#4495 )
* Add cert rotation command
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* add function to check for dynamic listener file
Signed-off-by: Brian Downs <brian.downs@gmail.com >
* Add dynamiclistener cert rotation support
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* fixes to the cert rotation
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* fix ci tests
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* fixes to certificate rotation command
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* more fixes
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
Co-authored-by: Brian Downs <brian.downs@gmail.com >
* Upgrade dynamic listener
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* go mod tidy
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
Co-authored-by: Brian Downs <brian.downs@gmail.com >
2021-12-06 19:44:57 +02:00
Manuel Buil
be62f43986
Merge pull request #4618 from manuelbuil/loggingFlannel1.20
...
[Release 1.20] Improve flannel logging
2021-12-03 21:14:31 +01:00
Manuel Buil
e34e7cc164
Improve flannel logging
...
Signed-off-by: Manuel Buil <mbuil@suse.com >
2021-12-02 17:35:18 +01:00
Brad Davidson
b8a1f45550
go generate
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
v1.20.13+k3s1
v1.20.13-rc2+k3s1
2021-11-23 16:39:51 -08:00
Brad Davidson
261a9b1464
Fix rancher traefik upgrade suggestion
...
* Backport traefik repackaging logic from release-1.21
* Fix rancher traefik upgrade suggestion
* Add package version to traefik helm chart
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2021-11-23 16:39:51 -08:00
Chris Kim
a8382564e6
[release-1.20] Bump Kubernetes to v1.20.13-k3s1 ( #4532 )
...
* Update to v1.20.13
* Bump sonobuoy and golang
* Change test timeout to 60m
* Bump containerd to v1.14.12-k3s1
Signed-off-by: Chris Kim <oats87g@gmail.com >
v1.20.13-rc1+k3s1
2021-11-18 17:07:00 -08:00
Brad Davidson
2f3d398cef
Fix log/reap reexec
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
v1.20.12+k3s1
v1.20.12-rc2+k3s1
2021-11-01 14:59:23 -07:00
Hussein Galal
6223e3e8ec
Update to v1.20.12 ( #4351 )
...
* Update to v1.20.12
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* Update to v1.20.12
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
v1.20.12-rc1+k3s1
2021-10-28 22:38:29 +02:00
galal-hussein
c57c7646b9
Update peer address when running cluster-reset
...
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
2021-10-25 15:49:16 -07:00
Brad Davidson
a621c766f3
Bump klipper-helm version
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2021-10-22 15:06:03 -07:00
Manuel Buil
81b531efde
Merge pull request #4268 from manuelbuil/update_flannel_dual_stack_1.20
...
[Release-1.20] Update to the newest flannel
2021-10-22 15:24:47 +02:00
Manuel Buil
f399bd29b1
Update to flannel v0.14.1
...
Signed-off-by: Manuel Buil <mbuil@suse.com >
2021-10-22 09:05:50 +02:00
Brad Davidson
5196ebe32a
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 >
(cherry picked from commit dc18ef2e51 )
2021-10-20 13:09:35 -07:00
Brian Downs
9c5236189a
[Release-1.20] - Add etcd s3 timeout ( #4207 ) ( #4227 )
2021-10-18 10:45:29 -07:00
Brian Downs
2e9c9e8856
set transport to skip verify if se skip flag passed ( #4102 ) ( #4105 )
2021-10-07 12:47:24 -07:00
Brad Davidson
9cb5fb5716
Bump containerd to v1.4.11+k3s1
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
v1.20.11+k3s2
v1.20.11-rc1+k3s2
2021-10-04 13:28:35 -07:00
Brad Davidson
e1bd9f30d8
Don't evacuate the root cgroup when rootless
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2021-10-01 16:21:07 -07:00
Brad Davidson
a2efb6eb3c
Skip tests that violate version skew policy
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2021-09-30 11:06:56 -07:00
Brad Davidson
b74cdd7261
Fix PREVIOUS_CHANNEL lookup when current minor release is not stable
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
(cherry picked from commit 156bae2940 )
2021-09-30 11:06:56 -07:00
Brad Davidson
2f9a89c8c0
Update rootless-containers
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2021-09-29 13:18:57 -07:00
Brad Davidson
2907fb1efe
Properly handle operation as init process
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2021-09-29 13:18:57 -07:00
Brad Davidson
bc6ad5a90d
Update build images to python3 for compat with recent gsutil change
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2021-09-23 16:11:51 -07:00
Manuel Buil
b247e74e36
Merge pull request #4030 from manuelbuil/v1.20.11-k3s1
...
Update Kubernetes to v1.20.11
v1.20.11+k3s1
v1.20.11-rc1+k3s1
2021-09-17 11:32:28 +02:00
Manuel Buil
0bff86bc84
Update to v1.20.11
...
Signed-off-by: Manuel Buil <mbuil@suse.com >
2021-09-16 23:15:17 +02:00
Derek Nola
e9d418cdb6
Removed experimental from cluster commands ( #4034 )
...
Signed-off-by: dereknola <derek.nola@suse.com >
2021-09-16 11:07:29 -07:00
Manuel Buil
c6077f017d
Update to v1.20.11
...
Signed-off-by: Manuel Buil <mbuil@suse.com >
2021-09-16 18:26:26 +02:00
Hussein Galal
c9a11a3c8d
[release-1.20] Fix condition for adding kubernetes endpoints ( #3947 )
...
* Fix condition for adding kubernetes endpoints (#3941 )
* Fix condition for adding kubernetes endpoints
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* Fix condition for adding kubernetes endpoints
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* fix get addresses
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
2021-08-31 20:32:56 +02:00
Hussein Galal
5ff22d0e7b
Reset load balancer state during restoraion ( #3879 )
...
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
Reset load balancer state during restoraion
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
2021-08-18 18:58:57 +02:00
Brad Davidson
fedc68f73d
Update Kubernetes to v1.20.10-k3s1
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
v1.20.10-rc1+k3s1
v1.20.10+k3s1
2021-08-16 14:35:56 -07:00
Brad Davidson
82f7488aa1
Bump containerd to v1.4.9-k3s1
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2021-08-16 13:34:08 -07:00
Brad Davidson
93c20fa4a4
Bump helm-controller to work around tiller crashes
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2021-08-13 12:57:13 -07:00
Malte Starostik
5f042d1010
Fix URL pruning when joining an etcd member
...
* Fix URL pruning when joining an etcd member
Problem:
Existing member clientURLs were checked if they contain the joining
node's IP. In some edge cases this would prune valid URLs when the
joining IP is a substring match of the only existing member's IP.
Because of this, it was impossible to e.g. join 10.0.0.2 to an existing
node that has an IP of 10.0.0.2X or 10.0.0.2XX:
level=fatal msg="starting kubernetes: preparing server: start managed database:
joining etcd cluster: etcdclient: no available endpoints"
Solution:
Fixed by properly parsing the URLs and comparing the IPs for equality
instead of substring match.
Signed-off-by: Malte Starostik <info@stellaware.de >
(cherry picked from commit b23955e835 )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2021-08-13 11:49:45 -07:00
Brian Downs
6c39336afc
account for an s3 folder when listing objects ( #3807 ) ( #3813 )
...
* account for an s3 folder when listing objects
2021-08-09 17:34:57 -07:00
Hussein Galal
a13c952b33
[Release-1.20] fix Node stuck at deletion ( #3776 )
...
* fix Node stuck at deletion
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* fix Node stuck at deletion
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
2021-08-06 21:20:48 +02:00