learn-katacoda icon indicating copy to clipboard operation
learn-katacoda copied to clipboard

'oc scale' command returns a warning - known bug

Open dewan-ahmed opened this issue 3 years ago • 0 comments

In which scenario did this bug occur?

https://learn.openshift.com/middleware/courses/middleware-quarkus/getting-started

At what step of the scenario did this happen?

Step6/6 - oc scale...

Describe the bug

The below warning message on oc scale... command $ oc scale --replicas=50 dc/getting-started W0708 14:28:35.727538 4522 warnings.go:70] extensions/v1beta1 Scale is deprecated in v1.2+, unavailable in v1.16+ deploymentconfig.apps.openshift.io/getting-started scaled

Logs or error messages

Above

Screenshots

Screen Shot 2021-07-08 at 11 55 42 AM

Additional context

This is a known issue.

Open PR: https://github.com/openshift/openshift-apiserver/pull/189 Reported here & here Doc context: https://docs.openshift.com/container-platform/4.7/release_notes/ocp-4-7-release-notes.html#ocp-4-7-apiversion-v1

dewan-ahmed avatar Jul 08 '21 14:07 dewan-ahmed