New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenshiftClient scale deploymentConfig Error #5236
Comments
We changed the way we scale resources to use the scale subresource. Maybe the OpenShift cluster is not supporting this operation. Could you share your cluster details (version, and so on). /cc @shawkins |
|
Yes more than likely DeploymetConfigs don't support v1 scale. We have overriden support for jobs and v1beta1 resources that will likely be applicable here. |
Sure enough:
Supprising that it's still using the deprecated api. |
Thanks shawkins. So that's mean I should config my openshift-client apiVersion is v1beta1, is right? |
No, it means that /scale on a DeploymentConfig resource understands v1beta1 scale, not v1. I guess they haven't committed to addressing this upstream: https://bugzilla.redhat.com/show_bug.cgi?id=1931897 https://issues.redhat.com/browse/OCPBUGS-865 |
I understand. Thanks. |
We'll probably release a 6.7 patch to address this and other issues. |
Describe the bug
When I use openshift-client v6.7.1 to scale openshift deploymentConfig like below:
It will return error like this:
Fabric8 Kubernetes Client version
6.7.1
Steps to reproduce
Init openshift client
then use scale func
will return this error
Expected behavior
openshift client can scale deploymentConfig normal
Runtime
OpenShift
Kubernetes API Server version
1.25.3@latest
Environment
Windows, Linux
Fabric8 Kubernetes Client Logs
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: