GithubHelp home page GithubHelp logo

Comments (2)

yoav-miles-se avatar yoav-miles-se commented on September 15, 2024

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.

yoav-miles-se avatar yoav-miles-se commented on September 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.