-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixos/k3s: exec: "k3s-server": cannot run executable found relative to current directory
with k3s_1_26
#223766
Comments
On first look - this doesn't seem related to the environmentFile change, but can you post more about your k3s configuration? |
also pinging @superherointj |
my config: {
services.k3s = {
enable = true;
package = pkgs.k3s_1_25;
role = "server";
extraFlags = toString [
"--kubelet-arg=eviction-hard=imagefs.available<1%,nodefs.available<1%"
"--kubelet-arg=eviction-minimum-reclaim=imagefs.available=1%,nodefs.available=1%"
"-disable=traefik"
];
};
# https://github.com/NixOS/nixpkgs/issues/103158
systemd.services.k3s.after = [ "network-online.service" "firewall.service" ];
systemd.services.k3s.serviceConfig.KillMode = lib.mkForce "control-group";
} |
I could not reproduce this issue.
|
Btw, your patch is wrong. |
I was able to reproduce using nixos/tests/k3s/single-node.nix.
so, sorry for the noise. and thank you very much for the quick replies. and if you are on a bug killing spree, I also have this in my config: {
# https://github.com/NixOS/nixpkgs/issues/98766
boot.kernelModules = [ "br_netfilter" "ip_conntrack" "ip_vs" "ip_vs_rr" "ip_vs_wrr" "ip_vs_sh" "overlay" ];
networking.firewall.extraCommands = ''
iptables -A INPUT -i cni+ -j ACCEPT
'';
} |
Describe the bug
Steps To Reproduce
Expected behavior
Screenshots
Additional context
Maybe related to the k3s changes referred in c7132173806
Notify maintainers
@asonix maybe
Metadata
"x86_64-linux"
Linux 6.1.21, NixOS, 23.05 (Stoat), 23.05pre468444.4bb072f0a8b
yes
yes
nix-env (Nix) 2.13.3
"nixos, nixos-unstable"
/nix/var/nix/profiles/per-user/root/channels/nixos
The text was updated successfully, but these errors were encountered: