I want to deploy a VerticalPodAutoscaler but i get this error:
error: unable to recognize "scaleCPUVertical.yaml": no matches for kind "VerticalPodAutoscaler" in version "autoscaling.k8s.io/v1beta2"
apiVersion: autoscaling.k8s.io/v1beta2
kind: VerticalPodAutoscaler
metadata:
name: test1
namespace: default
spec:
targetRef:
apiVersion: "extensions/v1beta1"
kind: Deployment
name: test1
updatePolicy:
updateMode: "Off"