From 44cce36683dd4d3944cafa52598ef01a330f4117 Mon Sep 17 00:00:00 2001 From: Marco Voelz Date: Wed, 12 Jul 2023 10:34:36 +0200 Subject: [PATCH] VPA also requires scale subresource labelSelector --- .../custom-resources/custom-resource-definitions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions.md b/content/en/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions.md index edade8f825..e870070c57 100644 --- a/content/en/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions.md +++ b/content/en/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions.md @@ -1593,7 +1593,7 @@ To enable the scale subresource, the following fields are defined in the CustomR `Scale.Status.Selector`. - It is an optional value. - - It must be set to work with HPA. + - It must be set to work with HPA and VPA. - Only JSONPaths under `.status` or `.spec` and with the dot notation are allowed. - If there is no value under the `labelSelectorPath` in the custom resource, the status selector value in the `/scale` subresource will default to the empty string.