diff --git a/vertical-pod-autoscaler/examples/hamster-deprecated.yaml b/vertical-pod-autoscaler/examples/hamster-deprecated.yaml index c1d4c8af5e3a..e613121cc501 100644 --- a/vertical-pod-autoscaler/examples/hamster-deprecated.yaml +++ b/vertical-pod-autoscaler/examples/hamster-deprecated.yaml @@ -20,6 +20,9 @@ kind: Deployment metadata: name: hamster spec: + selector: + matchLabels: + app: hamster replicas: 2 template: metadata: diff --git a/vertical-pod-autoscaler/examples/hamster.yaml b/vertical-pod-autoscaler/examples/hamster.yaml index cfa77cc261d3..c1c3dab24e66 100644 --- a/vertical-pod-autoscaler/examples/hamster.yaml +++ b/vertical-pod-autoscaler/examples/hamster.yaml @@ -20,6 +20,9 @@ kind: Deployment metadata: name: hamster spec: + selector: + matchLabels: + app: hamster replicas: 2 template: metadata: