Commit Graph

2455 Commits (a803eecbde1c3dbe7343cdac7a0a9ee91a823fd7)

Author SHA1 Message Date
Brad Davidson a803eecbde Fix flakey traefik upgrade in etcd test
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-11-03 20:54:07 -07:00
Brad Davidson 4577f87ef1 Bump test framework versions and add hooks to helpers
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-11-03 20:54:07 -07:00
Brad Davidson 55237e0a36 Bump kine to v0.9.6
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-11-03 20:54:07 -07:00
Derek Nola 0d4ae24ec6 Bump all alpine images to 3.16 (#6334)
Signed-off-by: Derek Nola <derek.nola@suse.com>
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-11-03 20:54:07 -07:00
Derek Nola 7461ae457d Add info on libvirt ubuntu 22.04 (#6316)
Signed-off-by: Derek Nola <derek.nola@suse.com>
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-11-03 20:54:07 -07:00
Chris Wayne 1db2d4f576 Update maintainers (#6298)
s/Kathy/Caroline/

Signed-off-by: Chris Wayne <cwayne18@gmail.com>
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-11-03 20:54:07 -07:00
Brad Davidson 0763ffebb5 Bump dynamiclistener
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-11-03 20:54:07 -07:00
Roberto Bonafiglia c557e421dd Update flannel to 0.20.1
Signed-off-by: Roberto Bonafiglia <roberto.bonafiglia@suse.com>
2022-11-03 19:05:06 +01:00
Manuel Buil fef32cbd41
Merge pull request #6363 from manuelbuil/externalTest124
[Release 1.24] Add test for node-external-ip config parameter
2022-10-31 18:32:31 +01:00
Manuel Buil 75c6895bb2 Add test for node-external-ip config parameter
Signed-off-by: Manuel Buil <mbuil@suse.com>
2022-10-31 07:34:53 +01:00
Derek Nola 4d5a42e686
[Release-1.24] Bump install tests OS images (#6379)
* Bump to Leap 15.4 for testing
* Replace fedora-coreos with fedora 36 for install tests (#6315)
* Bump alpine to 3.16

Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-10-28 11:14:39 -07:00
Manuel Buil 0f75ec5560
Merge pull request #6356 from manuelbuil/updatekuberouter151-124
[Release 1.24] Upgrade kube-router to v1.5.1
2022-10-28 10:38:28 +02:00
Manuel Buil 61f17dee97 Update kube-router
Signed-off-by: Manuel Buil <mbuil@suse.com>
2022-10-27 09:43:12 +02:00
Manuel Buil c6884a2378
Merge pull request #6348 from manuelbuil/netpolTest124
[Release 1.24] Add a netpol test for podSelector & ingress type
2022-10-27 09:39:43 +02:00
Manuel Buil 3f1766e0ab Add a netpol test for podSelector & ingress type
Signed-off-by: Manuel Buil <mbuil@suse.com>
2022-10-26 13:58:20 +02:00
Manuel Buil 64f9519413
Merge pull request #6341 from manuelbuil/fixDualStackTest124
[Release 1.24] Add the gateway parameter in netplan
2022-10-26 13:19:48 +02:00
Manuel Buil b93d14c630 Add the gateway parameter in netplan
Signed-off-by: Manuel Buil <mbuil@suse.com>
2022-10-26 11:55:26 +02:00
Brad Davidson 7af5b16788 Add --flannel-external-ip flag
Using the node external IP address for all CNI traffic is a breaking change from previous versions; we should make it an opt-in for distributed clusters instead of default behavior.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-10-24 10:14:44 -07:00
Brad Davidson e10cfb0e37 Fix RBAC to allow removal of legacy finalizer
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-10-20 16:13:27 -07:00
Brad Davidson e3c9d859e8 Return ProviderID in URI format
The InstancesV1 interface handled this for us by combining the ProviderName and InstanceID values; the new interface requires us to do it manually

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-10-17 11:02:22 -07:00
Brad Davidson e44d22ca61 Add ServiceAccount for svclb pods
For 1.24 and earlier, the svclb pods need a ServiceAccount so that we can allow their sysctls in PSPs

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit f25419ca2c)
2022-10-14 15:52:25 -07:00
Matt Trachier 2ca51a3d59
Update to v1.24.7-k3s1 (#6270)
Signed-off-by: matttrach <matttrach@gmail.com>
2022-10-13 19:50:51 -05:00
Manuel Buil c98c4b74b2
Merge pull request #6250 from manuelbuil/fixDs124
[Release 1.24] Fix dualStack test
2022-10-10 18:34:52 +02:00
Manuel Buil 0751b6052e Fix dualStack test
Signed-off-by: Manuel Buil <mbuil@suse.com>
2022-10-10 17:27:05 +02:00
Derek Nola 519f13e34d
[Release-1.24] Replace deprecated ioutil package (#6235)
* Replace ioutil package
* check integration test null pointer
* Remove rotate retries

Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-10-07 19:03:46 -07:00
Brad Davidson c1c7b95dc0 Fix flakey etcd test
Taint the first node so that the helm job doesn't run on it. In a real cluster the helm job would eventually succeed once all the servers were upgraded and had the new chart tarball.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-10-07 16:57:30 -07:00
Brad Davidson 6ed1e1423f Fix helm job failure on multi-server tests
Replace ETCD-JOIN-STABLE-SECOND with ETCD-JOIN-LATEST-FIRST. We don't
support joining down-level servers to existing clusters, as the new
down-level server will try to deploy older versions of the packaged
manifests.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-10-07 16:57:30 -07:00
Brad Davidson 87bfc8883b Bump traefik to 2.9.1 / chart 12.0.0
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-10-07 16:57:30 -07:00
Vladimir Pouzanov 06eb948c23 Fix the typo in the test
CA cert will never be equal to the serving-kube-apiserver cert so it seems like a copy-paste error.

Signed-off-by: Vladimir Pouzanov <farcaller@gmail.com>
2022-10-07 16:57:30 -07:00
Brad Davidson 3a829ae860 Handle custom kubelet port in agent tunnel
The kubelet port can be overridden by users; we shouldn't assume its always 10250

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-10-07 16:57:30 -07:00
Brad Davidson 3f5c88e4a3 Fix occasional "TLS handshake error" in apiserver network proxy.
We should be reading from the hijacked bufio.ReaderWriter instead of
directly from the net.Conn. There is a race condition where the
underlying http handler may consume bytes from the hijacked request
stream, if it comes in the same packet as the CONNECT header. These
bytes are left in the buffered reader, which we were not using. This was
causing us to occasionally drop a few bytes from the start of the
tunneled connection's client data stream.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-10-07 16:57:30 -07:00
Brad Davidson cb0f4bd49c Use structured logging instead of logrus for event recorders
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-10-07 16:57:30 -07:00
Brad Davidson 44ae7aa4db Dump info on coredns when deployment rollout fails
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-10-07 16:57:30 -07:00
Brad Davidson a75bbf5f4e Add ADR for ServiceLB move to CCM
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-10-07 16:57:30 -07:00
Brad Davidson 69dd30433b Disable cloud-node and cloud-node-lifecycle if CCM is disabled
If CCM and ServiceLB are both disabled, don't run the cloud-controller-manager at all;
this should provide the same CLI flag behavior as previous releases, and not create
problems when users disable the CCM but still want ServiceLB.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-10-07 16:57:30 -07:00
Brad Davidson 76f13d3558 Move servicelb into cloudprovider LoadBalancer interface
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-10-07 16:57:30 -07:00
Brad Davidson 23c302dccc Move DisableServiceLB/Rootless/ServiceLBNamespace into config.Control
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-10-07 16:57:30 -07:00
Brad Davidson 307e45e739 Implement InstancesV2 instead of Instances
... and drop legacy ClusterID support.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-10-07 16:57:30 -07:00
Brad Davidson 7198eb2f74 Bump metrics-server to v0.6.1
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-10-07 16:57:30 -07:00
Manuel Buil 205ccc7ea9
Merge pull request #6189 from manuelbuil/flannel-external-ip1.24
[Release 1.24] Add flannel-external-ip when there is a k3s node-external-ip
2022-09-29 18:39:01 +02:00
Manuel Buil 0be4ef9213 Add flannel-external-ip when there is a k3s node-external-ip
Signed-off-by: Manuel Buil <mbuil@suse.com>
2022-09-29 10:01:56 +02:00
Matt Trachier a8e0c66d1a
updating to v1.24.6-k3s1 (#6164)
Signed-off-by: matttrach <matttrach@gmail.com>
2022-09-21 19:06:49 -05:00
Matt Trachier fb823c8a5f
Update to v1.24.5 (#6143)
* Update to v1.24.5
* bump go version to 1.18.6
Signed-off-by: matttrach <matttrach@gmail.com>
2022-09-16 13:40:12 -05:00
Brad Davidson ae7d6285b6 Fix gofmt warnings
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-09-09 17:21:24 -07:00
Brad Davidson 1b806f5fee Bump golang to correct version
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-09-09 17:21:24 -07:00
Brad Davidson ee859f7f5a Add validation check to confirm correct golang version for Kubernetes
Also reorder validations to perform the short checks first so that
things fail faster if there's a problem.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 8f41fe1a3f)
2022-09-09 17:21:24 -07:00
Derek Nola cf684c74a3
[Release-1.24] Bulk Backport of Testing Changes
* Expand startup integration test

* add new data-dir subtest
* Added node flag subtest
* Fix to E2E tests
* Convert existing test to new server logging

Signed-off-by: Derek Nola <derek.nola@suse.com>

* Convert nightly install to v1.24 channel

Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-09-06 09:04:30 -07:00
Brad Davidson b8f05e4904 Bump containerd to v1.6.8-k3s1
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-09-02 12:19:27 -07:00
Brad Davidson 35e488c9c7 Bump runc to v1.1.4
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-09-02 12:18:41 -07:00
Roberto Bonafiglia e1884e4d60 Update Flannel to v0.19.2 to fix older iptables issue
Signed-off-by: Roberto Bonafiglia <roberto.bonafiglia@suse.com>
2022-09-02 17:18:38 +02:00