Brad Davidson
3287cab8e5
Respect cloud-provider fields set by kubelet
...
Don't clobber the providerID field and instance-type/region/zone labels if provided by the kubelet. This allows the user to set these to the correct values when using the embedded CCM in a real cloud environment.
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
(cherry picked from commit 65cd606832 )
2024-04-11 10:01:23 -07:00
Brad Davidson
a75951ba29
Send error response if member list cannot be retrieved
...
Prevents joining nodes from being stuck with bad initial member list if there is a transient failure, or if they try to join themselves
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
(cherry picked from commit d7cdbb7d4d )
2024-04-11 10:01:23 -07:00
Brad Davidson
349cd3b871
Move error response generation code into util
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
(cherry picked from commit 7a2a2d075c )
2024-04-11 10:01:23 -07:00
Derek Nola
01461afd57
Bump spegel to v0.0.20-k3s1 ( #9881 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-04-09 09:03:34 -07:00
Vitor Savian
9176d7f68a
Add tls for kine
...
* Bump kine
* Add integration tests for kine with tls
Signed-off-by: Vitor Savian <vitor.savian@suse.com >
2024-04-02 11:40:16 -03:00
Derek Nola
10408b5e64
Fix embeddedmirror test
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-03-30 21:30:43 -07:00
Derek Nola
e9616f7c48
E2E setup: Only install jq when we need it
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-03-30 21:30:43 -07:00
Derek Nola
e7abd108fb
Add wasm test to e2e matrix
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-03-30 21:30:43 -07:00
Derek Nola
ece8dc0949
Move to ubuntu 23.10 for E2E tests ( #9755 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-03-30 21:30:43 -07:00
Derek Nola
5483deae34
Use ubuntu latest for better golang caching keys ( #9711 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-03-30 21:30:43 -07:00
Derek Nola
a81bc3325b
Transition from deprecated pointer library to ptr ( #9801 ) ( #9825 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-03-30 21:30:05 -07:00
Derek Nola
513fc0f28f
Remove old pinned dependencies ( #9828 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-03-30 21:29:39 -07:00
Vitor Savian
992d182bb4
Add a new error when kine is with disable apiserver or disable etcd
...
Signed-off-by: Vitor Savian <vitor.savian@suse.com >
2024-03-28 09:36:45 -03:00
Brian Downs
78ad57567c
Update to v1.27.12-k3s1 and Go 1.21.8 ( #9745 )
v1.27.12-rc1+k3s1
v1.27.12+k3s1
2024-03-15 16:02:17 -07:00
Brad Davidson
06ecbe8071
Fix wildcard entry upstream fallback
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-03-12 23:31:50 -07:00
Derek Nola
1268cf0a02
Bump checkout action to v4
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-03-08 11:39:05 -08:00
Derek Nola
7712cb785a
Fix flaky check in btrfs test
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-03-08 11:39:05 -08:00
Derek Nola
1e1d3b71da
Fix e2e vagrant cacheing
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-03-08 11:39:05 -08:00
Derek Nola
183074e09c
Run docker tests in E2E GH Action
...
Build image with new input option
Run most of the basic docker tests in E2E
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-03-08 11:39:05 -08:00
Derek Nola
95f23a4af9
Bump upload and download actions to v4 ( #9666 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-03-08 11:39:05 -08:00
Derek Nola
7637a359ca
Improve E2E Aftersuite cleanup
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-03-08 11:39:05 -08:00
Derek Nola
d0d3761d0f
Move to ubuntu 2204 for all E2E tests
...
Simplify node roles
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-03-08 11:39:05 -08:00
ShylajaDevadiga
b0752af7ab
update s3 e2e test ( #9025 )
...
Signed-off-by: ShylajaDevadiga <shylaja.devadiga@suse.com >
Co-authored-by: ShylajaDevadiga <shylaja.devadiga@suse.com >
2024-03-08 11:39:05 -08:00
Derek Nola
ba84204a00
Convert snapshotter test in e2e test
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-03-08 11:39:05 -08:00
Derek Nola
9c74fb2c2b
Migrate E2E tests to GitHub Actions
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-03-08 11:39:05 -08:00
Derek Nola
f6001fbe23
Allow non-sudo vagrant
...
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-03-08 11:39:05 -08:00
Derek Nola
e1dcbf410b
Move docker tests into tests folder ( #9555 )
...
* Move docker tests into tests folder
* Remove old test certs
* Update TESTING.md with docker test inf
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-03-08 11:39:05 -08:00
Brad Davidson
4761befc83
Warn and suppress duplicate registry mirror endpoints
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-03-07 16:37:15 -08:00
Brad Davidson
58ec70772a
Bump metrics-server to v0.7.0
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-03-07 16:37:15 -08:00
Brad Davidson
cb0f608d50
Include flannel version in flannel cni plugin version
...
We were misreporting the flannel version as the flannel cni plugin version; restore the actual flannel version as build metadata
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
(cherry picked from commit 6f331ea7b5 )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-03-07 16:37:15 -08:00
Rishikesh Nair
bc4754b500
Update contrib/util/check-config.sh
...
Co-authored-by: Brad Davidson <brad@oatmail.org >
Signed-off-by: Rishikesh Nair <42700059+rishinair11@users.noreply.github.com >
(cherry picked from commit 82cfacb2f3 )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-03-07 16:37:15 -08:00
Rishikesh Nair
81a67be1c1
Rename RAW_OUTPUT -> NO_COLOR
...
Also, if NO_COLOR is empty, output will be colored, otherwise not colored.
Signed-off-by: Rishikesh Nair <alienware505@gmail.com >
(cherry picked from commit ce0765c9f8 )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-03-07 16:37:15 -08:00
Rishi
87170462f4
Disable color outputs using RAW_OUTPUT env var
...
Setting this environment variable will not wrap the text in color ANSI code, so that we can print a raw output.
Signed-off-by: Rishikesh Nair <alienware505@gmail.com >
(cherry picked from commit ff7cfa2235 )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-03-07 16:37:15 -08:00
Vitor Savian
023475a11c
Fix wildcard with embbeded registry test
...
Signed-off-by: Vitor Savian <vitor.savian@suse.com >
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
(cherry picked from commit 59c724f7a6 )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-03-07 16:37:15 -08:00
Flavio Castelli
824a82b643
e2e tests: cover WebAssembly integration
...
Add a e2e test that runs some demo WebAssembly applications
using the dedicated containerd shims.
Note: this is not an integration test because we need to install some
binaries (the special containerd shims) on the host.
Signed-off-by: Flavio Castelli <fcastelli@suse.com >
(cherry picked from commit f82d438f39 )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-03-07 16:37:15 -08:00
Flavio Castelli
0dde325501
fix: use correct wasm shims names
...
Fix the wasm shim detection and the containerd configuration generation.
Prior to this commit, the binary and the `RuntimeType` values were not
correct.
Signed-off-by: Flavio Castelli <fcastelli@suse.com >
(cherry picked from commit 64e4f0e6e7 )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-03-07 16:37:15 -08:00
Brad Davidson
eec7e227f7
Don't register embedded registry address as an upstream registry
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
(cherry picked from commit 091a5c8965 )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-03-07 16:37:15 -08:00
Brad Davidson
8ef8ea53e4
Remove filtering of wildcard mirror entry
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
(cherry picked from commit b5a4846e9d )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-03-07 16:37:15 -08:00
Brad Davidson
194b20d0f0
Add env var to allow spegel mirroring of latest tag
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
(cherry picked from commit 84a071a81e )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-03-07 16:37:15 -08:00
Philip Laine
b30b271de6
Bump spegel to v0.0.18-k3s4
...
Signed-off-by: Philip Laine <philip.laine@gmail.com >
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
(cherry picked from commit 26feb25c40 )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-03-07 16:37:15 -08:00
Brad Davidson
9461615967
Use and version flannel/cni-plugin properly
...
Moves us closer to using the proper upstream for our flannel CNI plugin, instead of the snapshot that is vendored into our plugins fork.
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
(cherry picked from commit 88d30f940d )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-03-07 16:37:15 -08:00
Brad Davidson
66f1109253
Move snapshot-retention to EtcdSnapshotFlags in order to support loading from config
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
(cherry picked from commit 0b3593205a )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-03-07 16:37:15 -08:00
Brad Davidson
87eae0a664
Clean up snapshotDir create/exists logic
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
(cherry picked from commit 3576ed4327 )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-03-07 16:37:15 -08:00
Brad Davidson
1a82cf9358
Fix additional corner cases in registries handling
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
(cherry picked from commit b164d7a270 )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-03-07 16:37:15 -08:00
Brad Davidson
cfc6d1d134
Bump helm-controller/klipper-helm versions
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
(cherry picked from commit 109e3e454c )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-03-07 16:37:15 -08:00
Brad Davidson
135e76d272
Fix issue with etcd node name missing hostname
...
* Set ServerNodeName in snapshot CLI setup
* Raise errer if ServerNodeName ends up empty some other way
* Fix status controller to use etcd node name annotation instead of prefix checking
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
(cherry picked from commit 82432a2df7 )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-03-07 16:37:15 -08:00
Brad Davidson
bebd5c2ffc
Tweak netpol node wait logs
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
(cherry picked from commit 513c3416e7 )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-03-07 16:37:15 -08:00
Brad Davidson
eef782c443
Fix NodeHosts on dual-stack clusters
...
* Add both dual-stack addresses to the node hosts file
* Add hostname to hosts file as alias for node name to ensure consistent resolution
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
(cherry picked from commit be569f65a9 )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-03-07 16:37:15 -08:00
Edgar Lee
4484760cb5
Rootless mode also bind service nodePort to host for LoadBalancer type
...
Signed-off-by: Edgar Lee <edgarhinshunlee@gmail.com >
(cherry picked from commit 8c83b5e0f3 )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-03-07 16:37:15 -08:00
Manuel Buil
dc5e2abdf3
Improve tailscale e2e test
...
Signed-off-by: Manuel Buil <mbuil@suse.com >
2024-03-06 13:06:19 +01:00