Commit Graph

2619 Commits

Author SHA1 Message Date
Matt Trachier
64403978cd
Update to v1.25.3-k3s1 (#6269)
Signed-off-by: matttrach <matttrach@gmail.com>
2022-10-13 19:26:57 -05:00
Brad Davidson
f25419ca2c 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>
2022-10-10 17:40:39 -07:00
Manuel Buil
8016ae2b69
Merge pull request #6245 from manuelbuil/fix_dS_test
Fix dualStack test
2022-10-10 17:26:24 +02:00
Manuel Buil
dd3f3dba92 Fix dualStack test
Signed-off-by: Manuel Buil <mbuil@suse.com>
2022-10-10 10:52:30 +02:00
Derek Nola
06d81cb936
Replace deprecated ioutil package (#6230)
* Replace ioutil package
* check integration test null pointer
* Remove rotate retries

Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-10-07 17:36:57 -07:00
Brad Davidson
d650645944 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:55:16 -07:00
Derek Nola
934d013614
Merge pull request #6220 from jongwooo/chore/use-setup-go-action-to-cache-dependencies
Use setup-go action to cache dependencies
2022-10-07 10:54:39 -07:00
Derek Nola
3b4bbcaec5
Merge pull request #6224 from dereknola/journalctl_e2e
Add journalctl logs to E2E tests
2022-10-07 09:24:22 -07:00
Brad Davidson
00cbb7ed21 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-06 16:20:21 -07:00
Brad Davidson
25e83cfa4f Bump traefik to 2.9.1 / chart 12.0.0
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-10-06 16:20:21 -07:00
Derek Nola
307d4310a3 Add journalctl logs to E2E tests
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-10-06 12:27:44 -07:00
jongwooo
0fd84deb11 Use setup-go action to cache dependencies
Signed-off-by: jongwooo <han980817@gmail.com>
2022-10-07 02:51:03 +09:00
Vladimir Pouzanov
b44d81a6f3 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-05 21:25:02 -07:00
Brad Davidson
b411864be5 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-05 21:10:38 -07:00
Brad Davidson
11072e2516 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-05 21:10:38 -07:00
Brad Davidson
f633732d80 Use structured logging instead of logrus for event recorders
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-10-04 10:26:17 -07:00
Brad Davidson
027039530d Dump info on coredns when deployment rollout fails
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-09-30 08:17:20 -07:00
Brad Davidson
746904eb03 Add ADR for ServiceLB move to CCM
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-09-30 08:17:20 -07:00
Brad Davidson
d963cb2f70 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-09-30 08:17:20 -07:00
Brad Davidson
0b96ca92bc Move servicelb into cloudprovider LoadBalancer interface
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-09-30 08:17:20 -07:00
Brad Davidson
a15e7e8b68 Move DisableServiceLB/Rootless/ServiceLBNamespace into config.Control
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-09-30 08:17:20 -07:00
Brad Davidson
063039471c Implement InstancesV2 instead of Instances
... and drop legacy ClusterID support.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-09-30 08:17:20 -07:00
Derek Nola
fac9c99adf
Merge pull request #6161 from ShylajaDevadiga/add_cluster_reset_test
Add cluster reset test
2022-09-29 18:11:46 -07:00
Brad Davidson
6e97bddc04 Bump metrics-server to v0.6.1
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-09-29 15:49:29 -07:00
Shylaja Devadiga
e947cd9fe3 Add cluster reset test to nightly builds
Signed-off-by: Shylaja Devadiga <shylaja@rancher.com>
2022-09-29 15:30:04 -07:00
Shylaja Devadiga
07ca63994e Add cluster reset test to nightly builds
Signed-off-by: Shylaja Devadiga <shylaja@rancher.com>
2022-09-29 11:49:15 -07:00
Brooks Newberry
906b2c0a17
mark v1.24.6+k3s1 as stable (#6193) 2022-09-29 11:42:16 -07:00
Manuel Buil
0d75d74bc0
Merge pull request #6180 from manuelbuil/FlannelexternalIP
Add flannel-external-ip when there is a k3s node-external-ip
2022-09-29 10:00:46 +02:00
Derek Nola
9e461026a1
Merge pull request #6131 from dereknola/drone_swap
E2E: Groundwork for PR runs
2022-09-28 14:46:56 -07:00
Manuel Buil
5164cf5345 Add flannel-external-ip when there is a k3s node-external-ip
Signed-off-by: Manuel Buil <mbuil@suse.com>
2022-09-26 16:24:00 +02:00
Matt Trachier
53c268d8eb
Update to v1.25.2-k3s1 (#6168)
Signed-off-by: matttrach <matttrach@gmail.com>
2022-09-21 22:21:36 -05:00
Derek Nola
4624d3922c add registry cache capability to upgradecluster_test.go
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-09-20 12:20:28 -07:00
Derek Nola
a060805c0a Add missing env variable
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-09-20 09:34:04 -07:00
Derek Nola
5629c06967 Remove docker login secret, move to docker registry cache
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-09-19 15:31:02 -07:00
Matt Trachier
28028f8601
Update to v1.25.1 (#6140)
* Update to v1.25.1
* bump go version
Signed-off-by: matttrach <matttrach@gmail.com>
2022-09-16 13:41:04 -05:00
Nikolai Shields
7f871e93fc
Add K3S Release Documentation (#6135) 2022-09-15 10:00:14 -05:00
Derek Nola
7710bcee06
Merge pull request #6130 from dereknola/install_skip_options
Restore original INSTALL_K3S_SKIP_DOWNLOAD behavior
2022-09-13 15:49:03 -07:00
Derek Nola
c3883b6516 Remove old CreateCluster function
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-09-13 15:29:06 -07:00
Derek Nola
14e606b2ef Replaced deprecated Ginkgo reporting
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-09-13 14:17:39 -07:00
Derek Nola
a43c948e01 add vagrant-scp to init script
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-09-13 14:17:39 -07:00
Derek Nola
1972fb7cd6 Enable E2E testing with local k3s binary
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-09-13 14:17:39 -07:00
Derek Nola
f88cd3bfb6 Added optional docker hub login
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-09-13 14:17:39 -07:00
Derek Nola
78c35377ab Convert createCluster to parallel
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-09-13 14:17:39 -07:00
Derek Nola
551b2c3cea Cleanup init and run_test scripts
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-09-13 14:17:39 -07:00
Derek Nola
d51da881c8 Make all E2E tests ordered
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-09-13 14:17:39 -07:00
Derek Nola
1deccc9524 remove quotest to match style
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-09-13 11:30:04 -07:00
Derek Nola
fd9a78f931 Modify install GH action
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-09-13 11:18:27 -07:00
Derek Nola
71b7e9f763 Add binary skip option
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-09-13 11:12:41 -07:00
Derek Nola
e31e6d6d8e Restore original skip_download behavior
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-09-13 11:05:03 -07:00
Hussein Galal
c1be599d32
Add k3s v1.25 to the release channel (#6129)
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
2022-09-13 19:59:02 +02:00