autoscaler: Cant install VPA with Helm Configuration
Which component are you using?: cluster-autoscaler
What version of the component are you using?:
Component version: Latest Version
What k8s version are you using (kubectl version)?: 1.25
kubectl version Output
$ kubectl version
```Client Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.2", GitCommit:"5835544ca568b757a8ecae5c153f317e5736700e", GitTreeState:"clean", BuildDate:"2022-09-21T14:33:49Z", GoVersion:"go1.19.1", Compiler:"gc", Platform:"windows/amd64"}
Kustomize Version: v4.5.7
Server Version: version.Info{Major:"1", Minor:"24+", GitVersion:"v1.24.10-eks-48e63af", GitCommit:"9176fb99b52f8d5ff73d67fea27f3a638f679f8a", GitTreeState:"clean", BuildDate:"2023-01-24T19:17:48Z", GoVersion:"go1.19.5", Compiler:"gc", Platform:"linux/amd64"}````
What environment is this in?: AWS EKS Kubernetes Version 1.24
What did you expect to happen?: I expected a successful installation of autoscaler and VPA
What happened instead?: I got the fallowing error
unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "VerticalPodAutoscaler" in version "autoscaling.k8s.io/v1"\n
How to reproduce it (as minimally and precisely as possible): I used the fallowing code with aws_cdk
cluster.add_helm_chart('cluster-autoscaler',
repository="https://kubernetes.github.io/autoscaler",
chart="cluster-autoscaler",
release="edge-cluster-autoscaler",
namespace="kube-system",
values={
"autoDiscovery": {
"clusterName": "EdgeCluster"
},
"awsRegion": "eu-central-1",
"vpa": {
"enabled": True,
"containerPolicy": {
"minAllowed": {
"cpu": "20m",
"memory": "50Mi"
}
}
}
}
)
Anything else we need to know?: Without the VPA configuration, autoscaler installs.
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 16 (13 by maintainers)
I’m up for it. /assign