Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-20332

podsPerCore and maxPods must be used together

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Minor Minor
    • None
    • 4.13, 4.12, 4.11
    • Documentation / Node
    • None
    • No
    • 2
    • OSDOCS Sprint 249
    • 1
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required

      Description of problem:

      managing-max-pods.adoc Documentation implies that podsPerCore can be used alone but actually maxPods must also be set

      Version-Release number of selected component (if applicable):

       

      How reproducible:

      Create a KubeletConfig with a podsPerCore value that would total to more than 250 on a worker but without maxPods. The result is that a worker would still be limited to 250 Pods.

      Steps to Reproduce:

      1. Create a KubeletConfig with a podsPerCore value that would total to more than 250 on a worker
      2. Don't set maxPods
      3. Wait for worker Nodes to be restarted
      4. Try to deploy more than 250 running Pods to a worker Node.

      Actual results:

      Kubernetes will refuse to assign more than 250 Pods.

      Expected results:

      If reading the documentation, one would expect podsPerCore to be enough to overwrite the 250 default limit per Node when when enough CPU cores are present on a worker.

      Additional info:

       

            mburke@redhat.com Michael Burke
            edbafbmt Benjamin Merot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: