Skip to content

Commit

Permalink
add --server-side to deploy because ScaledJob CRD is too long (kedaco…
Browse files Browse the repository at this point in the history
  • Loading branch information
zroubalik authored Jun 28, 2023
1 parent ae794a9 commit c92d661
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
10 changes: 6 additions & 4 deletions content/docs/2.11/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,19 +93,21 @@ Run the following command (if needed, replace the version, in this case `2.11.0`

```sh
# Including admission webhooks
kubectl apply -f https://github.com/kedacore/keda/releases/download/v2.11.0/keda-2.11.0.yaml
kubectl apply --server-side -f https://github.com/kedacore/keda/releases/download/v2.11.0/keda-2.11.0.yaml
# Without admission webhooks
kubectl apply -f https://github.com/kedacore/keda/releases/download/v2.11.0/keda-2.11.0-core.yaml
kubectl apply --server-side -f https://github.com/kedacore/keda/releases/download/v2.11.0/keda-2.11.0-core.yaml
```

- Alternatively you can download the file and deploy it from the local path:
```sh
# Including admission webhooks
kubectl apply -f keda-2.11.0.yaml
kubectl apply --server-side -f keda-2.11.0.yaml
# Without admission webhooks
kubectl apply -f keda-2.11.0-core.yaml
kubectl apply --server-side -f keda-2.11.0-core.yaml
```

> 💡 **NOTE:** `--server-side` option is needed because the ScaledJob CRD is too long to process, see [this issue](https://github.com/kedacore/keda/issues/4740) for details.

- You can also find the same YAML declarations in our `/config` directory on our [GitHub repo](https://github.com/kedacore/keda) if you prefer to clone it.

```sh
Expand Down
10 changes: 6 additions & 4 deletions content/docs/2.12/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,19 +93,21 @@ Run the following command (if needed, replace the version, in this case `2.12.0`

```sh
# Including admission webhooks
kubectl apply -f https://github.com/kedacore/keda/releases/download/v2.12.0/keda-2.12.0.yaml
kubectl apply --server-side -f https://github.com/kedacore/keda/releases/download/v2.12.0/keda-2.12.0.yaml
# Without admission webhooks
kubectl apply -f https://github.com/kedacore/keda/releases/download/v2.12.0/keda-2.12.0-core.yaml
kubectl apply --server-side -f https://github.com/kedacore/keda/releases/download/v2.12.0/keda-2.12.0-core.yaml
```

- Alternatively you can download the file and deploy it from the local path:
```sh
# Including admission webhooks
kubectl apply -f keda-2.12.0.yaml
kubectl apply --server-side -f keda-2.12.0.yaml
# Without admission webhooks
kubectl apply -f keda-2.12.0-core.yaml
kubectl apply --server-side -f keda-2.12.0-core.yaml
```

> 💡 **NOTE:** `--server-side` option is needed because the ScaledJob CRD is too long to process, see [this issue](https://github.com/kedacore/keda/issues/4740) for details.

- You can also find the same YAML declarations in our `/config` directory on our [GitHub repo](https://github.com/kedacore/keda) if you prefer to clone it.

```sh
Expand Down

0 comments on commit c92d661

Please sign in to comment.