-
Notifications
You must be signed in to change notification settings - Fork 4k
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
VPA e2e actuation, admission-controller, and updater test suites are failing #5727
Comments
I think the problem is that tests are not creating VPA objects correctly now. For example while It looks like after #5680 we can't set status like we used to. I think we should fix our e2e and mention that the change is breaking this way too but we might have to revert it. @wu0407 can you fix those tests? @mwielgus @kgolab what do you think? [1] $ kubectl get vpa --all-namespaces
NAMESPACE NAME MODE CPU MEM PROVIDED AGE
vertical-pod-autoscaling-9363 hamster-vpa Auto 119s
jbartosik-macbookpro:~ jbartosik$ kubectl get vpa --all-namespaces -oyaml
apiVersion: v1
items:
- apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
metadata:
creationTimestamp: "2023-05-08T12:31:57Z"
generation: 1
name: hamster-vpa
namespace: vertical-pod-autoscaling-9363
resourceVersion: "17919"
uid: 3387c7dd-81e4-4909-9217-c367ada9b04d
spec:
resourcePolicy: {}
targetRef:
apiVersion: apps/v1
kind: Deployment
name: hamster-deployment
updatePolicy:
updateMode: Auto
kind: List
metadata:
resourceVersion: ""
|
Wait, isn't |
@voelzmo the test is setting recommendation (here). That's why we don't want recommender running in those tests. We don't want recommendations written by the recommender, we want recommendations written by the test scenario. EDIT: it seems to me that recommender was writing recommendations successfully, tests scenarios where we expected recommender to write a recommendation were passing. Tests where we wanted test scenario, not recommender, to write a recommendation were failing. |
vpa-actuation, vpa-admission-controller, and vpa-updater tests passed after the revert PR merged. |
I will fix that |
Ah, I see, that makes sense! When reviewing the PR, I didn't run the e2e tests (which in hindsight I probably should have), but checked that VPA works for a deployed example workload – and that succeeded. I think there's a few places where updating the Thanks for taking care of it, @wu0407! |
It seems to me that #5680 that broke VPA e2e tests. @wu0407 can you take a look?
Two PRs labeled VPA merged on that day:
The text was updated successfully, but these errors were encountered: