- 16 Jun, 2022 1 commit
-
-
Derek Nola authored
* Move startup hooks wg into a runtime pointer, check before notifying systemd * Switch default systemd notification to server * Add 1 sec delay to allow etcd to write to disk Signed-off-by:
Derek Nola <derek.nola@suse.com>
-
- 25 Apr, 2022 1 commit
-
-
Derek Nola authored
* Update to v1.21.12 Signed-off-by:
Derek Nola <derek.nola@suse.com> * Update tags to k3s-io for v1.21.12 Signed-off-by:
Derek Nola <derek.nola@suse.com>
-
- 22 Apr, 2022 1 commit
-
-
Derek Nola authored
* Add RetryOnConflict around updating nodes Signed-off-by:
Derek Nola <derek.nola@suse.com>
-
- 21 Apr, 2022 1 commit
-
-
Brad Davidson authored
Use ListWatch helpers to retry when the watch channel is closed. Signed-off-by:
Brad Davidson <brad.davidson@rancher.com>
-
- 15 Apr, 2022 10 commits
-
-
Brad Davidson authored
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 7e447692)
-
Brad Davidson authored
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 5b2c14b1)
-
Brad Davidson authored
Also update cert gen to ensure leaf certs are regenerated if other key fields change. Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 99851b0f)
-
Brad Davidson authored
Avoids divide-by-zero when the password file is empty Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 0bf7c095)
-
Brad Davidson authored
This controller only needs to run when using managed etcd, so move it in with the rest of the etcd stuff. This change also modifies the controller to only watch the Kubernetes service endpoint, instead of watching all endpoints in the entire cluster. Fixes an error message revealed by use of a newer grpc client in Kubernetes 1.24, which logs an error when the Put to etcd failed because kine doesn't support the etcd Put operation. The controller shouldn't have been running without etcd in the first place. Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit f37e7565)
-
Brad Davidson authored
Don't attempt to retrieve snapshot metadata configmap if the apiserver isn't available. This could be triggered if the cron expression caused a snapshot to be triggered before the apiserver is up. Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 2a429aac)
-
Brad Davidson authored
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 49544e0d)
-
Brad Davidson authored
This is required to make the websocket tunnel server functional on etcd-only nodes, and will save some code on the RKE2 side once pulled through. Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit af0b496e)
-
Brad Davidson authored
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit e7437d4a)
-
Brad Davidson authored
(cherry picked from commit 0a5e0b6c) Signed-off-by:
Brad Davidson <brad.davidson@rancher.com>
-
- 30 Mar, 2022 3 commits
-
-
Luther Monson authored
[engine-1.21] Wrap containerd.New
-
Brad Davidson authored
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com>
-
Luther Monson authored
Signed-off-by:
Luther Monson <luther.monson@gmail.com>
-
- 28 Mar, 2022 1 commit
-
-
Brad Davidson authored
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com>
-
- 25 Mar, 2022 1 commit
-
-
Brad Davidson authored
Improve feedback when running secrets-encrypt commands on etcd-only nodes, and allow etcd-only nodes to properly restart when effecting rotation. Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit e811689d)
-
- 23 Mar, 2022 1 commit
-
-
Brad Davidson authored
Closing idle connections isn't guaranteed to close out a pooled connection to a loadbalancer endpoint that has been removed. Instead, ensure that requests used to wait for the apiserver to become ready aren't reused. Signed-off-by:
Brad Davidson <brad.davidson@rancher.com>
-
- 18 Mar, 2022 2 commits
-
-
Brad Davidson authored
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com>
-
Brad Davidson authored
This allows secondary etcd nodes to bootstrap the kubelet before an apiserver joins the cluster. Rancher waits for all the etcd nodes to come up before adding the control-plane nodes, so this needs to be handled properly. Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 38706eee)
-
- 17 Mar, 2022 1 commit
-
-
Brad Davidson authored
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit a93b9b6d)
-
- 16 Mar, 2022 11 commits
-
-
Brad Davidson authored
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com>
-
Brad Davidson authored
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit f090bf2d)
-
Brad Davidson authored
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit a7878db1)
-
Brad Davidson authored
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 9a480865)
-
Brad Davidson authored
Reuse the existing etcd library code to start up the temporary etcd server for bootstrap reconcile. This allows us to do proper health-checking of the datastore on startup, including handling of alarms. Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit e4846c92)
-
Brad Davidson authored
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 3531df3f)
-
Brad Davidson authored
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 555087b9)
-
Brad Davidson authored
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 5014c9e0)
-
Brad Davidson authored
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit a1b800f0)
-
Brad Davidson authored
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 54bb6506)
-
Brad Davidson authored
Several types contained redundant references to ControlRuntime data. Switch to consistently accessing this via config.Runtime instead. Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 2989b8b2)
-
- 15 Mar, 2022 1 commit
-
-
Brad Davidson authored
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com>
-
- 09 Mar, 2022 3 commits
-
-
Brian Downs authored
-
Brian Downs authored
-
Brian Downs authored
-
- 08 Mar, 2022 1 commit
-
-
Derek Nola authored
* Populate EtcdConfig in runtime from datastore when etcd is disabled (#5222) Fixes issue with secrets-encrypt rotate not having any etcd endpoints available on nodes without a local etcd server. Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> * Revert naming to old Kine Signed-off-by:
Derek Nola <derek.nola@suse.com> Co-authored-by:
Brad Davidson <brad.davidson@rancher.com>
-
- 03 Mar, 2022 1 commit
-
-
Derek Nola authored
* Add json flag for secrets-encrypt status Signed-off-by:
Derek Nola <derek.nola@suse.com>
-