Skip to content

Commit

Permalink
Use feature-state states
Browse files Browse the repository at this point in the history
  • Loading branch information
ivange94 committed Jul 9, 2024
1 parent c7f6cab commit 9413e1b
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion site/content/en/docs/concepts/cluster_queue.md
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ To limit the amount of resources that a ClusterQueue can lend in the cohort,
you can set the `.spec.resourcesGroup[*].flavors[*].resource[*].lendingLimit`
[quantity](https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/) field.

{{< feature-state state="stable" for_version="v0.6.0+" >}}
{{< feature-state state="alpha" for_version="v0.6.0" >}}
{{% alert title="Warning" color="warning" %}}

`LendingLimit` is an Alpha feature disabled by default.
Expand Down
2 changes: 1 addition & 1 deletion site/content/en/docs/concepts/multikueue.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: >
Kueue multi cluster job dispatching.
---

{{< feature-state state="stable" for_version="v0.6.0+" >}}
{{< feature-state state="alpha" for_version="v0.6.0" >}}

{{% alert title="Warning" color="warning" %}}
MultiKueue is currently an alpha feature and disabled by default. Check the [Installation](/docs/installation/#change-the-feature-gates-configuration) guide for details on feature gate configuration.
Expand Down
2 changes: 1 addition & 1 deletion site/content/en/docs/concepts/preemption.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ admitted when accounting back the quota usage of the target Workload.

## Fair Sharing

{{< feature-state state="stable" for_version="v0.7.0+" >}}
{{< feature-state state="stable" for_version="v0.7.0" >}}

To enable fair sharing, [use a Kueue Configuration](/docs/installation#install-a-custom-configured-release-version) similar to the following:

Expand Down
6 changes: 3 additions & 3 deletions site/content/en/docs/installation/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ kubectl apply --server-side -f https://github.com/kubernetes-sigs/kueue/releases

### Add metrics scraping for prometheus-operator

{{< feature-state state="stable" for_version="v0.2.1+" >}}
{{< feature-state state="stable" for_version="v0.2.1" >}}


To allow [prometheus-operator](https://github.com/prometheus-operator/prometheus-operator)
Expand All @@ -77,7 +77,7 @@ kubectl apply --server-side -f https://github.com/kubernetes-sigs/kueue/releases

### Add visibility API to monitor pending workloads

{{< feature-state state="stable" for_version="v0.6.0+" >}}
{{< feature-state state="alpha" for_version="v0.6.0" >}}


To add the visibility API that enables monitoring pending workloads, change [the feature gates configuration](/docs/installation/#change-the-feature-gates-configuration) and set `VisibilityOnDemand=true`, and run the following command
Expand Down Expand Up @@ -197,7 +197,7 @@ IMAGE_REGISTRY=registry.example.com/my-user make image-local-push deploy

### Add metrics scraping for prometheus-operator

{{< feature-state state="stable" for_version="v0.2.0+" >}}
{{< feature-state state="stable" for_version="v0.2.0" >}}


To allow [prometheus-operator](https://github.com/prometheus-operator/prometheus-operator)
Expand Down
2 changes: 1 addition & 1 deletion site/content/en/docs/tasks/dev/enabling_pprof_endpoints.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Make sure the following conditions are met:

## Enabling pprof endpoints

{{< feature-state state="stable" for_version="v0.5.0+" >}}
{{< feature-state state="stable" for_version="v0.5.0" >}}

To enable pprof endpoints, you need to set a `pprofBindAddress` is set in the [manager's configuration](/docs/installation/#install-a-custom-configured-released-version).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ QueueVisibility is an `Alpha` feature disabled by default, check the [Change the

## Monitor pending workloads

{{< feature-state state="alpha" for_version="v0.5.0+" >}}
{{< feature-state state="alpha" for_version="v0.5.0" >}}

To install a simple setup of cluster queue, run the following command:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ kubectl apply --server-side -f https://github.com/kubernetes-sigs/kueue/releases

## Monitor pending workloads on demand

{{< feature-state state="stable" for_version="v0.6.0+" >}}
{{< feature-state state="stable" for_version="v0.6.0" >}}

To install a simple setup of ClusterQueue

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,12 @@ When enabled, then the workloads are admitted sequentially to prevent deadlock
situations as demonstrated in the example below.

### Requeuing Strategy
<<<<<<< HEAD:site/content/en/docs/tasks/manage/setup_wait_for_pods_ready.md

{{< feature-state state="stable" for_version="v0.6.0+" >}}
=======
{{< feature-state state="stable" for_version="v0.6.0" >}}
>>>>>>> 1dcff82e (Use feature-state states):site/content/en/docs/tasks/manage/setup_sequential_admission.md
{{% alert title="Note" color="primary" %}}
The `backoffBaseSeconds` and `backoffMaxSeconds` are available in Kueue v0.7.0 and later
Expand Down

0 comments on commit 9413e1b

Please sign in to comment.