Roberto Bonafiglia
f5475bf6a8
Added flannel-ipv6-masq flag to enable IPv6 nat
...
Signed-off-by: Roberto Bonafiglia <roberto.bonafiglia@gmail.com>
2022-01-18 13:10:25 +01:00
Roberto Bonafiglia
4f7fa01730
Added iptables masquerade rules for ipv6 on flannel
...
Signed-off-by: Roberto Bonafiglia <roberto.bonafiglia@gmail.com>
2022-01-18 13:10:14 +01:00
Manuel Buil
0507cf1f84
Remove ip6table rules when cleaning up k3s
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
2022-01-18 12:57:14 +01:00
Brad Davidson
e0e7fe993c
Bump etcd and containerd to track upstream
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-01-14 13:34:10 -08:00
Brad Davidson
fb6c72ed13
Skip CGroup v2 evac when agent is disabled
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-01-14 13:25:03 -08:00
Derek Nola
82f1ec314c
Enable logging on all subcommands ( #4921 ) ( #4931 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-01-14 09:21:02 -08:00
Brad Davidson
f662a7f45b
Move ClusterResetRestore handling ControlConfig setup
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-01-12 10:46:22 -08:00
Brad Davidson
f565432bb8
Add basic etcd join test
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-01-07 09:57:18 -08:00
Brad Davidson
ea984d265d
Fix handling of agent-token fallback to token
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-01-07 09:57:18 -08:00
Brad Davidson
34ba028da5
Fix use of agent creds for secrets-encrypt and config validate
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-01-06 13:11:25 -08:00
Derek Nola
10bf1e1146
[Release-1.22] Feature: Add CoreDNS Customization Options ( #4860 )
...
* Backport custom coredns changes
Signed-off-by: Derek Nola <derek.nola@suse.com>
* Update docs, enable make generate in dapper
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-01-03 14:25:19 -08:00
Derek Nola
145883b2ad
Require integration test to be run as sudo/root ( #4824 ) ( #4830 )
...
* Remove internal sudo commands from integration tests
* Run integration CI as sudo
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-01-03 09:36:17 -08:00
Derek Nola
358f4cfad6
[Release-1.22] Add tests to use vagrantfile ( #4722 ) ( #4829 )
...
* Add tests to use vagrantfile (#4722 )
* Add tests to use vagrantfile
Signed-off-by: Shylaja Devadiga <shylaja.devadiga@suse.com>
* Removed outdated e2e tests.
* Removed Terraform
Signed-off-by: Derek Nola <derek.nola@suse.com>
Co-authored-by: Shylaja Devadiga <shylaja.devadiga@suse.com>
Co-authored-by: Derek Nola <derek.nola@suse.com>
2022-01-03 09:35:51 -08:00
Luther Monson
0ce45c3ec6
Merge pull request #4843 from luthermonson/rm-vendor-122
...
[release-1.22] Remove vendor dir
2021-12-27 16:55:23 -07:00
Luther Monson
7c3a691f1a
remove vendor dir
...
Signed-off-by: Luther Monson <luther.monson@gmail.com>
2021-12-27 15:00:55 -07:00
Luther Monson
c2ea4524b8
code to remove vendor dir
...
Signed-off-by: Luther Monson <luther.monson@gmail.com>
2021-12-27 14:58:44 -07:00
Derek Nola
1c2f3b3fe8
Fix cgroup smoke test ( #4823 ) ( #4831 )
...
* Fixed control group vagrantfile so running vagrant up doesn't fail locally
Signed-off-by: Derek Nola <derek.nola@suse.com>
2021-12-23 14:22:55 -08:00
Brad Davidson
c4d58001cc
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>
(cherry picked from commit 52e450f033
)
2021-12-22 00:01:27 -08:00
Brad Davidson
24b0000e6b
Add variable to enforce max test concurrency
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 9919f229b6
)
2021-12-22 00:01:27 -08:00
Brad Davidson
5620bb00e3
Fix previous channel detection
...
This failed if the build metadata contained a period, as in v1.23.0-rc.0
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 247298a20d
)
2021-12-22 00:01:27 -08:00
Brad Davidson
e550365b1f
More codespell ignores
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 6872e7da25
)
2021-12-22 00:01:27 -08:00
Brad Davidson
56e3b66b21
Close etcd clients to avoid leaking GRPC connections
...
If you don't explicitly close the etcd client when you're done with it,
the GRPC connection hangs around in the background. Normally this is
harmelss, but in the case of the temporary etcd we start up on 2399 to
reconcile bootstrap data, the client will start logging errors
afterwards when the server goes away.
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 8ad7d141e8
)
2021-12-22 00:01:27 -08:00
Brad Davidson
93960b6fa9
Build script cleanups
...
* Move runc and k3s-root versions into versions.sh
* Remove commented-out cruft from build script
* Other minor tweaks
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 8737e2e13f
)
2021-12-22 00:01:27 -08:00
Brad Davidson
05b512b809
Bump k3s-root to v0.10.1
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 89e63972e9
)
2021-12-22 00:01:27 -08:00
Brad Davidson
2bfe752dc1
Fix panic checking name of uninitialized etcd member
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-12-21 23:38:44 -08:00
Brian Downs
8ab9a28edc
Update bootstrap logic to output all changed files on disk ( #4800 ) ( #4809 )
...
Signed-off-by: Brian Downs <brian.downs@gmail.com>
2021-12-21 16:22:20 -07:00
Hussein Galal
05f1bc6e2a
[Release-1.22] Close agentReady channel only in k3s ( #4793 )
...
* Close agentReady channel only in k3s
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
* codespell check
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
2021-12-21 20:29:17 +02:00
Manuel Buil
405bf79da9
Merge pull request #4782 from manuelbuil/fix-rke2-ha-122
...
[Release-1.22] Remove Disables, Skips and DisableKubeProxy from the comparing configs
2021-12-17 20:48:03 +01:00
Manuel Buil
638dd36ade
Remove Disables, Skips and DisableKubeProxy from the comparing configs
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
2021-12-17 19:11:36 +01:00
Hussein Galal
ab215f4a32
Update to v1.22.5 ( #4767 )
...
* Update to v1.22.5
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
* Update to v1.22.5
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
2021-12-16 21:21:28 +02:00
Derek Nola
80577a1bd2
[Release-1.22] Fix cold boot and reconcilation on secondary servers ( #4755 )
...
* Fix cold boot restarts of secondary servers
Signed-off-by: Derek Nola <derek.nola@suse.com>
2021-12-15 15:45:25 -08:00
Brian Downs
5e73a828e4
Merge pull request #4735 from briandowns/backport_issue-4644-release-1.22
...
Resolve Bootstrap Migration Edge Case (#4730 )
2021-12-14 08:31:17 -07:00
Hussein Galal
9400af4004
Fix snapshot restoration on fresh nodes ( #4737 )
...
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
Signed-off-by: Brian Downs <brian.downs@gmail.com>
2021-12-13 18:14:18 -07:00
Brian Downs
7808ff9674
Resolve Bootstrap Migration Edge Case ( #4730 )
...
Signed-off-by: Brian Downs <brian.downs@gmail.com>
2021-12-13 13:03:57 -07:00
Brian Downs
d64a8da871
Resolve restore bootstrap ( #4704 ) ( #4715 )
2021-12-09 17:54:34 -07:00
Brad Davidson
8b05c21d58
Update wharfie usage in windows code path
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-12-09 13:17:27 -08:00
Hussein Galal
b38bc7ddaa
Add validation to certificate rotation ( #4700 )
...
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
2021-12-09 02:46:24 +02:00
Brad Davidson
82125e6580
Bump runc to v1.0.3
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-12-08 15:28:51 -08:00
Brad Davidson
3c0eaf2953
Bump wharfie to v0.5.1 and use shared decompression code
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 7d3447ceff
)
2021-12-08 10:51:33 -08:00
Brad Davidson
3c88ea8c1a
bump kine to v0.8.1
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 05d43278e2
)
2021-12-08 10:51:33 -08:00
Brad Davidson
2c45e735b1
Update dynamiclistener
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 3b6a3fe905
)
2021-12-08 10:51:33 -08:00
Alexey Medvedchikov
968371014a
Include node-external-ip in serving-kubelet.crt SANs ( #4620 )
...
* Include node-external-ip in serving-kubelet.crt SANs
Signed-off-by: Alexey Medvedchikov <alexeymedvedchikov@improbable.io>
(cherry picked from commit 8f389ab030
)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-12-08 10:49:06 -08:00
Manuel Buil
a02dbf0120
Merge pull request #4678 from manuelbuil/ha-verify-1.22
...
[Release 1.22] Verify new control plane nodes joining the cluster share the same config as cluster members
2021-12-08 16:51:52 +01:00
Manuel Buil
3d16d94b39
Check HA network parameters
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
2021-12-08 11:00:54 +01:00
Derek Nola
2561285e8e
Backport of https://github.com/k3s-io/k3s/pull/4372 ( #4654 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2021-12-07 15:29:31 -08:00
Hussein Galal
2dc4e2c3a0
Add cert rotation command ( #4495 ) ( #4635 )
...
* 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>
Co-authored-by: Brian Downs <brian.downs@gmail.com>
2021-12-06 20:53:29 +02:00
Manuel Buil
ace9db6e6a
Merge pull request #4614 from manuelbuil/loggingFlannel1.22
...
[Release 1.22] Improve flannel logging
2021-12-02 19:18:58 +01:00
Derek Nola
a122f635b7
Export default parser ( #4621 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2021-12-01 13:04:42 -08:00
Manuel Buil
817188daa7
Improve flannel logging
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
2021-12-01 18:25:45 +01:00
Derek Nola
12581188e8
Improved cleanup for etcd unit test ( #4537 ) ( #4608 )
...
* Improved cleanup for etcd unit test
Signed-off-by: Derek Nola <derek.nola@suse.com>
2021-11-30 11:05:13 -08:00