Uploaded image for project: 'OpenShift API Server'
  1. OpenShift API Server
  2. API-1894

SCCs preventing removal of sheduling gates

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • openshift-apiserver
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      it's not possible to remove scheduling gates from privileged pods unless an SCC allows it. One of the main goals of scheduling gates is to support custom quotas, but right now in OpenShift, this isn't possible unless an SCC is configured to allow the gate to be removed.

      OpenShift Virtualization uses a custom quota that depends on removing the scheduling gate from pods, so we had to create an SCC to support this. However, the recommended best practice is to avoid using privileged SCCs, as mentioned here:
      https://github.com/redhat-best-practices-for-k8s/certsuite/blob/main/CATALOG.md#operator-install-status-no-privileges

      this bug is blocking:
      https://issues.redhat.com/browse/CNV-58655

              bmordeha@redhat.com Barak Mordehai
              bmordeha@redhat.com Barak Mordehai
              None
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: