diff --git a/resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/Config.scala b/resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/Config.scala index 011b05f6542a7..5c26dea417acc 100644 --- a/resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/Config.scala +++ b/resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/Config.scala @@ -499,8 +499,8 @@ private[spark] object Config extends Logging { .doc("Value to set for the controller.kubernetes.io/pod-deletion-cost" + " annotation when Spark asks a deployment-based allocator to remove executor pods. This " + "helps Kubernetes pick the same pods Spark selected when the deployment scales down." + - s" This should only be enabled when both $KUBERNETES_ALLOCATION_PODS_ALLOCATOR is set to " + - s"deployment, and $DYN_ALLOCATION_ENABLED is enabled.") + s" This should only be enabled when both ${KUBERNETES_ALLOCATION_PODS_ALLOCATOR.key} is " + + s"set to deployment, and ${DYN_ALLOCATION_ENABLED.key} is enabled.") .version("4.2.0") .intConf .createOptional