Comments (1)
Validated on Version:
-$ k3s version v1.27.14+k3s-5f656d12 (5f656d12)
Environment Details
Infrastructure
Cloud EC2 instance
Node(s) CPU architecture, OS, and Version:
Ubuntu
AMD
Cluster Configuration:
-1 nodes
config;
sudo bash -c 'cat <<EOF>>/etc/rancher/k3s/config.yaml
write-kubeconfig-mode: 644
secrets-encryption: true
cluster-init: true
selinux: true
kubelet-arg:
- cloud-provider=external
disable-cloud-controller: true
disable: servicelb
EOF'
Steps to validate the fix
- start k3s with config above
- Validate that it not crashes
- Validate nodes and pods
Reproduction Issue:
k3s version v1.29.5+k3s1 (4e53a323)
journalctl -xeu k3s.service | grep "timed"
May 31 12:01:41 ip- k3s[4434]: time="2024-05-31T12:01:41Z" level=fatal msg="network policy controller timed out waiting for node.cloudprovider.kubernetes.io/uninitialized taint to be removed from Node : timed out waiting for the condition"
:~$ systemctl status k3s server.service
Unit server.service could not be found.
● k3s.service - Lightweight Kubernetes
Loaded: loaded (/etc/systemd/system/k3s.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Fri 2024-05-31 12:04:28 UTC; 5s ago
Docs: https://k3s.io
Process: 4934 ExecStartPre=/bin/sh -xc ! /usr/bin/systemctl is-enabled --quiet nm-cloud-setup.service 2>/dev/null (code=exited, status=0/SUCCESS)
Process: 4936 ExecStartPre=/sbin/modprobe br_netfilter (code=exited, status=0/SUCCESS)
Process: 4937 ExecStartPre=/sbin/modprobe overlay (code=exited, status=0/SUCCESS)
Process: 4938 ExecStart=/usr/local/bin/k3s server --cluster-init --token secret --write-kubeconfig-mode=644 (code=exited, status=1/FAILURE)
Main PID: 4938 (code=exited, status=1/FAILURE)
CPU: 29.239s
Validation Results:
$ journalctl -xeu k3s.service | grep "timed"
<no logs>
$ systemctl status k3s server.service
Unit server.service could not be found.
● k3s.service - Lightweight Kubernetes
Loaded: loaded (/etc/systemd/system/k3s.service; enabled; vendor preset: enabled)
Active: active (running)
Docs: https://k3s.io
:~$ systemctl status k3s server.service
Unit server.service could not be found.
● k3s.service - Lightweight Kubernetes
Loaded: loaded (/etc/systemd/system/k3s.service; enabled; vendor preset: enabled)
Active: active (running)
k get nodes,pods -A
NAME STATUS ROLES AGE VERSION
node/ip- Ready control-plane,etcd,master 3m48s v1.27.14+k3s-5f656d12
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system pod/coredns-77ccd57875-zpklh 0/1 Pending 0 3m33s
kube-system pod/helm-install-traefik-8gcbw 0/1 Pending 0 3m34s
kube-system pod/helm-install-traefik-crd-94dxc 0/1 Pending 0 3m34s
kube-system pod/local-path-provisioner-5c6c7f7cd-gqwwb 0/1 Pending 0 3m33s
kube-system pod/metrics-server-c44988498-85n9p 0/1 Pending 0 3m33s
from k3s.
Related Issues (20)
- Can we make the busybox images configurable?
- Strimzi is unable to deploy Kafka with LoadBalancer
- Add mention of MariaDB support?
- Failure to read certificates and key files during k3s certificate rotate-ca HOT 5
- Getting net.ipv6.conf.all.forwarding=1 restriction when using IPv4 ipFamily with ipFamilyPolicy SingleStack HOT 1
- tls: failed to verify certificate: x509: certificate is valid for *. traefik. default, not docker. io.
- Incompatible change in patch version breaks downstream/ users of k3s HOT 3
- Inacuracy in documentation? HOT 1
- [Release-1.30] - Customize servicelb daemonset tolerations (traefik) HOT 1
- [Release-1.29] - Customize servicelb daemonset tolerations (traefik) HOT 1
- [Release-1.28] - Customize servicelb daemonset tolerations (traefik) HOT 1
- [Release-1.27] - Customize servicelb daemonset tolerations (traefik) HOT 1
- `k3s-killall.sh` does not work if data-dir doesn't end with `/k3s` HOT 3
- Allow users to use letsencript certificates when they install k3s HOT 5
- MariaDB support? HOT 1
- Bump coredns to v1.11.3 HOT 1
- How to add multiple parameter values for the --kube-apiserver-arg option in the K3s service. HOT 1
- Flannel Dualstack crash on 1.30.3 HOT 8
- Installation script is failing HOT 1
- Tailscale Auth Keys Expire, Causing Node Disconnection HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from k3s.