Reserving resources for system processes on a node not working

Solution In Progress - Updated -

Issue

  • On this page : https://docs.openshift.com/enterprise/3.1/admin_guide/overcommit.html#reserving-resources-for-system-processes you explain how to reserving resources for system processes.

What we do :
- create /etc/origin/node/resource-reserver.yaml file with this content:

apiVersion: v1
kind: Pod
metadata:
  name: resource-reserver
spec:
  containers:
  - name: sleep-forever
    image: gcr.io/google_containers/pause:0.8.0
    resources:
      limits:
        cpu: 100m 
        memory: 150Mi 
 -  restarted the node

When we check by docker ps command or docker images we see nothing about the sleep-forever pod.
Inside logs we also don't see anything.

Note that we have a completely standard installation of openshift (through ansible) and I can see that the node is running with this config:

root     117724  2.6  1.4 589200 72684 ?        Ssl  13:35   0:22 /usr/bin/openshift start node --config=/etc/origin/node/node-config.yaml --loglevel=2

Environment

  • Openshift Enterprise 3.1.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.