Comments (2)
Never mind, the fault was that I mounted /var/lib/docker
with the noexec
option...
Now I have another problem where the kubelet container can't reserve ephemeral-storage, but it's not likely that it's related to RKE so I'm closing this. Sorry to bother.
{"ts":1706181759804.5632,"caller":"app/server.go:659","msg":"--cgroups-per-qos enabled, but --cgroup-root was not specified. defaulting to /","v":0}
{"ts":1706181759804.6077,"caller":"cli/run.go:74","msg":"command failed","err":"failed to run Kubelet: cannot reserve \"ephemeral-storage\\\"\" resource"}
from rke.
If anyone wonders - the second error was actually because of a misconfigured /var/lib/kubelet/config.yaml (didn't quote the keys).
This is a working config.yaml for example:
apiVersion: kubelet.config.k8s.io/v1beta1
kind: KubeletConfiguration
readOnlyPort: 10255
logging:
format: json
sanitization: false
systemReserved:
"cpu": "0.25"
"memory": "500Mi"
kubeReserved:
"cpu": "0.25"
"memory": "500Mi"
"ephemeral-storage": "500Mi"
evictionHard:
"memory.available": "150Mi"
"imagefs.available": "3%"
"imagefs.inodesFree": "3%"
"nodefs.available": "3%"
"nodefs.inodesFree": "3%"
evictionMinimumReclaim:
"nodefs.available": "400Mi"
"imagefs.available": "400Mi"
from rke.
Related Issues (20)
- Metrics: unreachable kubernetes API (no logs) HOT 1
- How to restart apiserver
- Cluster unrecoverable after every power outage - nodes all say ready (even when off) HOT 2
- RKE should have a dry-run option HOT 3
- Errors while removing an etcd member can cause RKE to try to remove the member indefinitely HOT 2
- don't use dns search of the host HOT 1
- FATA[0000] Unsupported Docker version found [26.1.1] on host HOT 4
- Rke with docker rootless HOT 1
- Provisionning fails with RKE 1.5.9 when `extra_env` is used for `kube-api` service HOT 5
- Clarification on using hostNetwork: true in nginx ingress HOT 1
- miss makezero in slice init HOT 1
- [Backport] Provisionning fails with RKE 1.5.9 when extra_env is used for kube-api service HOT 3
- RKE1: Ingress Controller and Ingress not working HOT 1
- masters not available via SSH - how to moved them into new hosts? HOT 1
- Failed to reconcile etcd plane: Failed to add etcd member [etcd-server-k8s-2] to etcd cluster HOT 1
- worker node label lost after node reboot [v1.5.10] HOT 1
- Option to connect to hosts using password authntication from RKE?
- High CPU load due to calico errors on Ubuntu 20.04 - Update to calico needed HOT 14
- Missing sha256sum.txt HOT 1
- use fixed stream server bind address for cri-dockerd HOT 2
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 rke.