Replies: 4 comments 1 reply
-
Hi @byteshiva thanks for opening this issue! |
Beta Was this translation helpful? Give feedback.
-
Logs Details
Details - docker logs 3cd62d8068f8
Reference: |
Beta Was this translation helpful? Give feedback.
-
Since you reference the nixos Wiki - did you try https://nixos.wiki/wiki/K3s#Raspberry_Pi_not_working which corresponds to the fatal log of the server container? |
Beta Was this translation helpful? Give feedback.
-
Despite configuring the system with the appropriate kernel parameters and setting up the Nix shell as per the provided script, I'm consistently encountering connection refusal errors when attempting to connect to the server. Steps to Reproduce: Details1. Created a new Nix shell using the provided script `run.sh`. cat run.sh
export NIXPKGS_ALLOW_UNFREE=1
nix-shell -E '
let
nixpkgs = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz") {};
in
nixpkgs.mkShell {
buildInputs = with nixpkgs; [ k3d k3s docker containerd runc ];
shellHook = "export KUBECONFIG=kubeconfig";
}'
boot.kernelParams = [
"cgroup_enable=cpuset"
"cgroup_memory=1"
"cgroup_enable=memory"
];
|
Beta Was this translation helpful? Give feedback.
-
Description:
Creating a Kubernetes cluster with k3d on NixOS fails during the server node startup, leaving the cluster creation incomplete.
Steps to Reproduce:
sample.sh
.Step 1 - Details
sample.sh
sample.sh
on a NixOS environment.Step 4: - Details
Error
k3d cluster create --api-port 6550 -p "8081:80@loadbalancer" --agents 2
Extra:
k3d cluster list --verbose --trace
Environment:
Error Message:
Workaround:
No known workaround exists currently. Users are unable to create Kubernetes clusters using k3d on NixOS until this issue is resolved.
Logs - Creating Sample Cluster on NIXOS
Beta Was this translation helpful? Give feedback.
All reactions