How to update the revisionHistoryLimit in multiple deployment configurations in OpenShift?

Solution Verified - Updated -

Issue

  • Need to change the default value for the revisionHistoryLimit of the deployment config on the cluster level.
  • How to patch revision historyLimit throughout the cluster?
  • How to change the default number of old ReplicaSets for multiple deployments?

Environment

  • Red Hat OpenShift Container Platform
    • 3.11

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