Skip to content

Commit

Permalink
Merge pull request #814 from kannon92/move-samples
Browse files Browse the repository at this point in the history
move samples to examples and update documentation
  • Loading branch information
k8s-ci-robot authored May 26, 2023
2 parents 909eab8 + a7953c0 commit 4338816
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,16 @@ Read the [installation guide](https://kueue.sigs.k8s.io/docs/installation/) to l

## Usage

A minimal configuration can be set by running the [samples](config/samples):
A minimal configuration can be set by running the [examples](examples):

```shell
kubectl apply -f config/samples/single-clusterqueue-setup.yaml
kubectl apply -f examples/single-clusterqueue-setup.yaml
```

Then you can run a job with:

```shell
kubectl create -f config/samples/sample-job.yaml
kubectl create -f examples/sample-job.yaml
```

Learn more about:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions site/content/en/docs/tasks/administer_cluster_quotas.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ In the following steps, you will create a queuing system with a single
ClusterQueue and a single [ResourceFlavor](/docs/concepts/cluster_queue#resourceflavor-object)
to govern the quota of your cluster.

You can perform all these steps at once by applying [github.com/kubernetes-sigs/kueue/blob/main/config/samples/single-clusterqueue-setup.yaml](https://github.com/kubernetes-sigs/kueue/blob/main/config/samples/single-clusterqueue-setup.yaml):
You can perform all these steps at once by applying [github.com/kubernetes-sigs/kueue/blob/main/examples/single-clusterqueue-setup.yaml](https://github.com/kubernetes-sigs/kueue/blob/main/examples/single-clusterqueue-setup.yaml):

```shell
kubectl apply -f config/samples/single-clusterqueue-setup.yaml
kubectl apply -f examples/single-clusterqueue-setup.yaml
```

### 1. Create a [ClusterQueue](/docs/concepts/cluster_queue)
Expand Down
2 changes: 1 addition & 1 deletion site/content/en/docs/tasks/run_jobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ without Kueue. However, you must consider the following differences:
- You should include the resource requests for each Job Pod.

Here is a sample Job with three Pods that just sleep for a few seconds.
This sample is also available in [github.com/kubernetes-sigs/kueue/blob/main/config/samples/sample-job.yaml](https://github.com/kubernetes-sigs/kueue/blob/main/config/samples/sample-job.yaml).
This sample is also available in [github.com/kubernetes-sigs/kueue/blob/main/examples/sample-job.yaml](https://github.com/kubernetes-sigs/kueue/blob/main/examples/sample-job.yaml).

```yaml
# sample-job.yaml
Expand Down

0 comments on commit 4338816

Please sign in to comment.