-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
unable to determine resource for scale target reference #19940
Comments
OK, I checked and we indeed have some HPA with wrong scaleTargetRef:
@DirectXMan12 shouldn't we validate this when the HPA is created and refuse to create HPA that points to an non-existing resource? (well that resource might start to exists later...)... |
see #18517 (comment) which was supposed to migrate these references |
I know about |
Any idea what created |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
@openshift-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
In ca-central-1 I can see a lot of errors in controller manager like this:
We do carry a patch here I believe: https://github.com/openshift/origin/blob/master/vendor/k8s.io/kubernetes/pkg/controller/podautoscaler/horizontal.go#L402
We have this so we can handle OpenShift oapi DeploymentConfig, what is not clear to me is why the passed GroupKind is "extensions.DeploymentConfig" (?) and also why we see "apps.ReplicationController" (RC is part of core).
We are getting the GV from here: https://github.com/openshift/origin/blob/master/vendor/k8s.io/kubernetes/pkg/controller/podautoscaler/horizontal.go#L388 (do we have some HPA created with wrong APIVersion?)
/cc @DirectXMan12
/cc @deads2k
/cc @liggitt
The text was updated successfully, but these errors were encountered: