Skip to content

Commit

Permalink
Update site/content/en/docs/admission-check-controllers/provisioning.md
Browse files Browse the repository at this point in the history
Co-authored-by: Aldo Culquicondor <1299064+alculquicondor@users.noreply.github.com>
  • Loading branch information
PBundyra and alculquicondor committed Mar 27, 2024
1 parent f470721 commit 8703c94
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -49,7 +49,7 @@ Check the [API definition](https://github.com/kubernetes-sigs/kueue/blob/main/ap

Another way to pass ProvisioningRequest's [parameters](https://github.com/kubernetes/autoscaler/blob/0130d33747bb329b790ccb6e8962eedb6ffdd0a8/cluster-autoscaler/apis/provisioningrequest/autoscaling.x-k8s.io/v1beta1/types.go#L115) is by using Job annotations. Every annotation with the ***provreq.kueue.x-k8s.io/*** prefix will be directly passed to created ProvisioningRequest. E.g. `provreq.kueue.x-k8s.io/ValidUntilSeconds: "60"` will pass `ValidUntilSeconds` parameter with the value of `60`. See more examples below.

Once a ProvisioningRequest is created, modifying value of annotations will have no effect, similarly to using ProvisioningRequest without Kueue.
Once Kueue creates a ProvisioningRequest for the job you submitted, modifying the value of annotations in the job will have no effect in the ProvisioningRequest.

## Example

Expand Down

0 comments on commit 8703c94

Please sign in to comment.