- 05 Nov, 2020 2 commits
-
-
Erik Wilson authored
-
Erik Wilson authored
-
- 12 Oct, 2020 3 commits
-
-
Erik Wilson authored
Use no_proxy env, add .svc and cluster domains
-
Erik Wilson authored
-
Erik Wilson authored
Add event handlers to network policy controller
-
- 07 Oct, 2020 2 commits
-
-
Erik Wilson authored
-
Erik Wilson authored
-
- 06 Oct, 2020 7 commits
-
-
Erik Wilson authored
check-config: Remove NF_NAT_IPV4 and NF_NAT_NEEDED from kernel check
-
Erik Wilson authored
-
Erik Wilson authored
Fix race condition in data extraction
-
Erik Wilson authored
-
Erik Wilson authored
-
Erik Wilson authored
-
Erik Wilson authored
-
- 30 Sep, 2020 2 commits
-
-
Brad Davidson authored
This is a minimal fix for https://github.com/rancher/rke2/issues/392Signed-off-by:
Brad Davidson <brad.davidson@rancher.com>
-
Hussein Galal authored
* add reset tmp file Signed-off-by:
galal-hussein <hussein.galal.ahmed.11@gmail.com> * go imports Signed-off-by:
galal-hussein <hussein.galal.ahmed.11@gmail.com> * fix multiple lines string Signed-off-by:
galal-hussein <hussein.galal.ahmed.11@gmail.com> * fix typo Signed-off-by:
galal-hussein <hussein.galal.ahmed.11@gmail.com> * use resetFile function Signed-off-by:
galal-hussein <hussein.galal.ahmed.11@gmail.com>
-
- 29 Sep, 2020 1 commit
-
-
Brad Davidson authored
* Revert "Remove dead EndpointName code" This reverts commit 8025da5a. * Fix docstrings based on proper understanding of use
-
- 28 Sep, 2020 1 commit
-
-
Brad Davidson authored
Fix managed etcd cold startup deadlock issue #2249
-
- 27 Sep, 2020 11 commits
-
-
Brad Davidson authored
The default http client does not have an overall request timeout, so connections to misbehaving or unavailable servers can stall for an excessive amount of time. At the moment, just attempting to join an unavailable cluster takes 2 minutes and 40 seconds to timeout. Resolve that by setting a reasonable request timeout. Signed-off-by:Brad Davidson <brad.davidson@rancher.com>
-
Brad Davidson authored
Signed-off-by:Brad Davidson <brad.davidson@rancher.com>
-
Brad Davidson authored
Improves readability, reduces round-trips to the join server to validate certs. Signed-off-by:Brad Davidson <brad.davidson@rancher.com>
-
Brad Davidson authored
Signed-off-by:Brad Davidson <brad.davidson@rancher.com>
-
Brad Davidson authored
Also change identical error messages to clarify where problems are occurring. Signed-off-by:Brad Davidson <brad.davidson@rancher.com>
-
Brad Davidson authored
Signed-off-by:Brad Davidson <brad.davidson@rancher.com>
-
Brad Davidson authored
Silences warning on startup about insecure directory permissions Signed-off-by:Brad Davidson <brad.davidson@rancher.com>
-
Brad Davidson authored
Signed-off-by:Brad Davidson <brad.davidson@rancher.com>
-
Brad Davidson authored
According to @galal-hussein this is dead code that was probably brought over from Kine. I certainly couldn't figure out what it is supposed to be doing. Signed-off-by:Brad Davidson <brad.davidson@rancher.com>
-
Brad Davidson authored
Signed-off-by:Brad Davidson <brad.davidson@rancher.com>
-
Brad Davidson authored
We should ignore --token and --server if the managed database is initialized, just like we ignore --cluster-init. If the user wants to join a new cluster, or rejoin a cluster after --cluster-reset, they need to delete the database. This a cleaner way to prevent deadlocking on quorum loss, and removes the requirement that the target of the --server argument must be online before already joined nodes can start. Signed-off-by:Brad Davidson <brad.davidson@rancher.com>
-
- 26 Sep, 2020 3 commits
-
-
Kevin Messer authored
It's a bad practice to install packages via rpm directly. It's better to install all packages with Yum/Dnf. It's also possible to install packages directly via an URL, which is the purpose of this PR.
-
Adam Farden authored
Wants= is required to actually set the dependency on network-online.service After= is required or k3s.service will be started at the same time as network-online.service In network environments with slow DHCP, both are required to ensure valid network configuration for k3s Signed-off-by:Adam Farden <adam@farden.cz>
-
Matthew Clive authored
Adds the line `After=network-online.target` to the k3s systemd service file. This applies the fix mentioned in [this GH comment](https://github.com/rancher/k3s/issues/1626#issuecomment-642253812) which I can confirm makes k3s networking survive reboot in Raspbian Buster. [It appears, in some docs I found](https://www.digitalocean.com/community/tutorials/understanding-systemd-units-and-unit-files) that this is a recommended and usual way of specifying that we need the target to be _completed_ before starting k3s. Using just the `Wants=` directive doesn't work for this task, you have to add both directives at once to do this. Quote: > `Wants=`: This directive is similar to `Requires=`, but less strict. > `Systemd` will attempt to start any units listed here when this unit > is activated. If these units are not found or fail to start, the > current unit will continue to function. This is the recommended way to > configure most dependency relationships. **Again, this implies a > parallel activation unless modified by other directives** > [...] > `After=`: The units listed in this directive will be started before > starting the current unit. This does not imply a dependency > relationship and **one must be established through the above > directives if this is required.** - _(Emphasis mine)_ Signed-off-by:
Matthew Clive <arcticlight@arcticlight.me> Signed-off-by:
Brad Davidson <brad.davidson@rancher.com>
-
- 24 Sep, 2020 1 commit
-
-
David Nuzik authored
Mark k3s v1.18.9+k3s1 as stable
-
- 22 Sep, 2020 2 commits
-
-
Brad Davidson authored
* Don't take snapshots if the local endpoint is still a learner * Configure timeouts for etcd client dialer
-
Brad Davidson authored
Signed-off-by:Brad Davidson <brad.davidson@rancher.com>
-
- 21 Sep, 2020 4 commits
-
-
Menna Elmasry authored
bump k8s version to v1.19.2 on master
-
MonzElmasry authored
Signed-off-by:MonzElmasry <menna.elmasry@rancher.com>
-
MonzElmasry authored
Signed-off-by:MonzElmasry <menna.elmasry@rancher.com>
-
Brian Downs authored
This attempts to update logging statements to make them consistent through out the code base. It also adds additional context to messages where possible, simplifies messages, and updates level where necessary.
-
- 19 Sep, 2020 1 commit
-
-
Hussein Galal authored
* reset etcd name on cluster reset Signed-off-by:
galal-hussein <hussein.galal.ahmed.11@gmail.com> * gofmt Signed-off-by:
galal-hussein <hussein.galal.ahmed.11@gmail.com>
-