DeploymentConfig pre hook execPods do not have the same tolerations as the template

Solution Unverified - Updated -

Issue

When creating a DeploymentConfig with tolerations defined, the pre-execPods or post-execPods do not have the same tolerations as the DeploymentConfig.

When this is run in an environment where taints/tolerations are heavily used to control workload, this is resulting in scheduling failures for the hook Pods and the DeploymentConfig is not rolled out.

1m         Warning   FailedScheduling                 pod/xxxx-deploy-hook-pre                0/10 nodes are available: 10 node(s) had taint {taint-1: true}, 

Environment

  • OpenShift Container Platform
    • 4.10

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content