Commit Graph

2445 Commits

Author SHA1 Message Date
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>
v1.24.7-rc4+k3s1 v1.24.7+k3s1
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>
v1.24.7-rc3+k3s1
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>
v1.24.7-rc2+k3s1
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>
v1.24.7-rc1+k3s1
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>
v1.24.6-rc1+k3s1 v1.24.6+k3s1
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>
v1.24.5-rc1+k3s1
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
ShylajaDevadiga
79bb7bccd9 Fix e2e tests (#6018)
Signed-off-by: Shylaja Devadiga <shylaja@rancher.com>
2022-08-26 11:42:04 -07:00
Manuel Buil
4c9ad2546c Fix dualStack test and change ipv6 network (#6023)
Signed-off-by: Manuel Buil <mbuil@suse.com>
2022-08-26 10:03:32 -07:00
Akihiro Suda
654d2b9567 CI: update Fedora 34 -> 35 (#5996)
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-08-26 09:40:34 -07:00
Derek Nola
2b35f89664 Convert install tests to run PR build of k3s (#6003)
* Convert install tests to run PR version of k3s

Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-08-26 09:36:50 -07:00
Derek Nola
f81138402e E2E: Add support for CentOS 7 and Rocky 8 (#6015)
* Add e2e support for centos7 and rocky8

Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-08-26 09:36:13 -07:00
Brooks Newberry
ab2638a247 mark v1.24.4+k3s1 as stable (#6036) 2022-08-25 14:18:22 -07:00
Brad Davidson
7d6982d1fa Export agent.NetworkName for Windows
Was made private in 4aca21a1f1 as there was no comment as to why it was exported.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-08-23 15:10:57 -07:00
Brad Davidson
3e394f8ec5 The Windows kubelet does not accept cadvisor flags
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-08-23 15:10:57 -07:00
Brooks Newberry
c3f830e9b9 Update to v1.24.4 (#6014)
Signed-off-by: Brooks Newberry <brooks@newberry.com>
v1.24.4-rc1+k3s1 v1.24.4+k3s1
2022-08-18 19:10:16 -07:00
Derek Nola
035c03cfaa Remove codespell from Drone, add to GH Actions (#6004)
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-08-18 09:21:56 -07:00