Commit Graph

2779 Commits (e5e1a674ce4e8772eebbb99f119a78b38dfc01c4)

Author SHA1 Message Date
Derek Nola 18688407d9
Add info on libvirt ubuntu 22.04 (#6316)
Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-10-26 08:40:02 -07:00
Derek Nola fd79a1cfea
Bump testing to opensuse Leap 15.4 (#6337)
* Bump to Leap 15.4 for testing

Signed-off-by: Derek Nola <derek.nola@suse.com>
2022-10-26 08:38:18 -07:00
Chris Wayne ffdf96fd22
Update maintainers (#6298)
s/Kathy/Caroline/

Signed-off-by: Chris Wayne <cwayne18@gmail.com>
2022-10-26 10:04:51 -04:00
Manuel Buil fbba3ba88f Update kube-router
Signed-off-by: Manuel Buil <mbuil@suse.com>
2022-10-26 12:21:13 +02:00
Manuel Buil 5063821ec4
Merge pull request #6292 from manuelbuil/netplan-ubuntu-gw
Add the gateway parameter in netplan
2022-10-26 12:02:23 +02:00
Brad Davidson a05320dbf0 Bump dynamiclistener
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-10-25 13:28:43 -07:00
Brad Davidson f2585c1671 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:10:49 -07:00
Brad Davidson e8c250b8dc Fix RBAC to allow removal of legacy finalizer
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-10-20 16:12:28 -07:00
Manuel Buil 6b804fe224 Add the gateway parameter in netplan
Signed-off-by: Manuel Buil <mbuil@suse.com>
2022-10-18 13:14:10 +02:00
Brad Davidson 3c0cd6f2dc 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:05:09 -07:00
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