Issues with k3s install script when using --cluster-init option (etcd) #11636
Unanswered
bootsie123
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I suspect your disk performance is not sufficient to support the combination of etcd and workload IO even at a baseline level. Kine/dqlite is less demanding. What are the CPU/memory/disk specifications of the nodes you're running this on? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Environmental Info:
K3s Version:
Node(s) CPU architecture, OS, and Version:
Cluster Configuration:
My ultimate configuration is 3 servers and 2 agents, however, my results here are from specifically a single server test.
Describe the bug:
A few namespace and user forbidden errors are encountered during the k3s installation script. This causes the k3s service to eventually end up crashing and creating a crash cycle.
The full logs will be attached, however, I think these three lines in the logs are potentially the culprit:
Steps To Reproduce:
Expected behavior:
Simply put, I'd expect the k3s installation script to fully run without errors and result in a health cluster being initiated.
Actual behavior:
The k3s installation script stalls and causes the k3s service to enter a constant crashing state. Interestingly, when
--cluster-init
is omitted (running without etcd) the installation script succeeds and a healthy cluster is created.Let me know if there's any additional debugging steps I could do! I'm kind of at a loss for what else I should investigate here. Thanks!
Additional context / logs:
k3s Journal Logs - See attached file
k3s logs.txt
Beta Was this translation helpful? Give feedback.
All reactions