Error when scaling with OpenShift client
Issue
-
Scaling a deployment causes the following error:
# oc scale dc schema-spy --replicas=0 error: Scaling the resource failed with: the API version in the data (extensions/v1beta1) does not match the expected API version (apps.openshift.io/v1); Current resource version Unknown
Environment
- OpenShift client version 3.7.42 or later
- OpenShift cluster version 3.7.23 or earlier
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
