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>
2 years ago
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>
2 years ago
Brad Davidson
f633732d80
Use structured logging instead of logrus for event recorders
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2 years ago
Brad Davidson
027039530d
Dump info on coredns when deployment rollout fails
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2 years ago
Brad Davidson
746904eb03
Add ADR for ServiceLB move to CCM
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2 years ago
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>
2 years ago
Brad Davidson
0b96ca92bc
Move servicelb into cloudprovider LoadBalancer interface
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2 years ago
Brad Davidson
a15e7e8b68
Move DisableServiceLB/Rootless/ServiceLBNamespace into config.Control
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2 years ago
Brad Davidson
063039471c
Implement InstancesV2 instead of Instances
...
... and drop legacy ClusterID support.
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2 years ago
Derek Nola
fac9c99adf
Merge pull request #6161 from ShylajaDevadiga/add_cluster_reset_test
...
Add cluster reset test
2 years ago
Brad Davidson
6e97bddc04
Bump metrics-server to v0.6.1
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2 years ago
Shylaja Devadiga
e947cd9fe3
Add cluster reset test to nightly builds
...
Signed-off-by: Shylaja Devadiga <shylaja@rancher.com>
2 years ago
Shylaja Devadiga
07ca63994e
Add cluster reset test to nightly builds
...
Signed-off-by: Shylaja Devadiga <shylaja@rancher.com>
2 years ago
Brooks Newberry
906b2c0a17
mark v1.24.6+k3s1 as stable ( #6193 )
2 years ago
Manuel Buil
0d75d74bc0
Merge pull request #6180 from manuelbuil/FlannelexternalIP
...
Add flannel-external-ip when there is a k3s node-external-ip
2 years ago
Derek Nola
9e461026a1
Merge pull request #6131 from dereknola/drone_swap
...
E2E: Groundwork for PR runs
2 years ago
Manuel Buil
5164cf5345
Add flannel-external-ip when there is a k3s node-external-ip
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
2 years ago
Matt Trachier
53c268d8eb
Update to v1.25.2-k3s1 ( #6168 )
...
Signed-off-by: matttrach <matttrach@gmail.com>
2 years ago
Derek Nola
4624d3922c
add registry cache capability to upgradecluster_test.go
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Derek Nola
a060805c0a
Add missing env variable
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Derek Nola
5629c06967
Remove docker login secret, move to docker registry cache
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Matt Trachier
28028f8601
Update to v1.25.1 ( #6140 )
...
* Update to v1.25.1
* bump go version
Signed-off-by: matttrach <matttrach@gmail.com>
2 years ago
Nikolai Shields
7f871e93fc
Add K3S Release Documentation ( #6135 )
2 years ago
Derek Nola
7710bcee06
Merge pull request #6130 from dereknola/install_skip_options
...
Restore original INSTALL_K3S_SKIP_DOWNLOAD behavior
2 years ago
Derek Nola
c3883b6516
Remove old CreateCluster function
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Derek Nola
14e606b2ef
Replaced deprecated Ginkgo reporting
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Derek Nola
a43c948e01
add vagrant-scp to init script
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Derek Nola
1972fb7cd6
Enable E2E testing with local k3s binary
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Derek Nola
f88cd3bfb6
Added optional docker hub login
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Derek Nola
78c35377ab
Convert createCluster to parallel
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Derek Nola
551b2c3cea
Cleanup init and run_test scripts
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Derek Nola
d51da881c8
Make all E2E tests ordered
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Derek Nola
1deccc9524
remove quotest to match style
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Derek Nola
fd9a78f931
Modify install GH action
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Derek Nola
71b7e9f763
Add binary skip option
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Derek Nola
e31e6d6d8e
Restore original skip_download behavior
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Hussein Galal
c1be599d32
Add k3s v1.25 to the release channel ( #6129 )
...
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
2 years ago
Roberto Bonafiglia
26e9405767
Added warning message for flannel backend additional options deprecation
...
Signed-off-by: Roberto Bonafiglia <roberto.bonafiglia@suse.com>
2 years ago
Derek Nola
dcfabc6978
Merge pull request #6112 from dereknola/dep_log
...
Fix deprecation message
2 years ago
Derek Nola
1d46841d80
Fix deprecation message
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Brad Davidson
1d42f46cda
Bump containerd to v1.6.8-k3s1
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2 years ago
Brad Davidson
2206fa80c5
Bump runc to v1.1.4
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2 years ago
Roberto Bonafiglia
80d8fcee49
Update Flannel to v0.19.2 to fix older iptables issue
...
Signed-off-by: Roberto Bonafiglia <roberto.bonafiglia@suse.com>
2 years ago
Derek Nola
cd49101fc8
Convert deprecated flags to fatal errors for v1.25 ( #6069 )
...
* Replace warning with fatal errors.
* Group system-default-registry under (agent/runtime)
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Derek Nola
c9b0930e79
Update go.mod version to 1.19 ( #6049 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
Derek Nola
cd61f9a6cf
Expand startup integration test ( #6030 )
...
* 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>
2 years ago
Brad Davidson
8f41fe1a3f
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>
2 years ago
Manuel Buil
05475a7966
Merge pull request #6055 from manuelbuil/master
...
Remove wireguard interfaces when deleting the cluster
2 years ago
Manuel Buil
a6f5a4d3a5
Remove wireguard interfaces when deleting the cluster
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
2 years ago
Chris Wayne
78880a6944
Update README.md ( #6048 )
...
Fix incorrect release cadence information to better reflect reality
2 years ago