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>
2 years ago
Matt Trachier
64403978cd
Update to v1.25.3-k3s1 ( #6269 )
...
Signed-off-by: matttrach <matttrach@gmail.com>
2 years ago
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>
2 years ago
Manuel Buil
8016ae2b69
Merge pull request #6245 from manuelbuil/fix_dS_test
...
Fix dualStack test
2 years ago
Manuel Buil
dd3f3dba92
Fix dualStack test
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
2 years ago
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>
2 years ago
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>
2 years ago
Derek Nola
934d013614
Merge pull request #6220 from jongwooo/chore/use-setup-go-action-to-cache-dependencies
...
Use setup-go action to cache dependencies
2 years ago
Derek Nola
3b4bbcaec5
Merge pull request #6224 from dereknola/journalctl_e2e
...
Add journalctl logs to E2E tests
2 years ago
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>
2 years ago
Brad Davidson
25e83cfa4f
Bump traefik to 2.9.1 / chart 12.0.0
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2 years ago
Derek Nola
307d4310a3
Add journalctl logs to E2E tests
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
2 years ago
jongwooo
0fd84deb11
Use setup-go action to cache dependencies
...
Signed-off-by: jongwooo <han980817@gmail.com>
2 years ago
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>
2 years ago
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