Skip to content

Commit

Permalink
Prepare release 2.12.1 (#1265)
Browse files Browse the repository at this point in the history
  • Loading branch information
zroubalik authored Nov 27, 2023
1 parent aa705b4 commit a2af459
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions content/docs/2.12/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,21 +90,21 @@ If you want to try KEDA on [Minikube](https://minikube.sigs.k8s.io) or a differe
- Use `keda-2.xx.x.yaml` that includes all features, including [admission webhooks](./concepts/admission-webhooks.md) (recommended)
- Use `keda-2.xx.x-core.yaml` that installs the minimal required KEDA components, without admission webhooks

Run the following command (if needed, replace the version, in this case `2.12.0`, with the one you are using):
Run the following command (if needed, replace the version, in this case `2.12.1`, with the one you are using):

```sh
# Including admission webhooks
kubectl apply --server-side -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.1/keda-2.12.1.yaml
# Without admission webhooks
kubectl apply --server-side -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.1/keda-2.12.1-core.yaml
```

- Alternatively you can download the file and deploy it from the local path:
```sh
# Including admission webhooks
kubectl apply --server-side -f keda-2.12.0.yaml
kubectl apply --server-side -f keda-2.12.1.yaml
# Without admission webhooks
kubectl apply --server-side -f keda-2.12.0-core.yaml
kubectl apply --server-side -f keda-2.12.1-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.
Expand All @@ -114,33 +114,33 @@ kubectl apply --server-side -f keda-2.12.0-core.yaml
```sh
git clone https://github.com/kedacore/keda && cd keda

VERSION=2.12.0 make deploy
VERSION=2.12.1 make deploy
```

### Uninstall

- In case of installing from released YAML file just run the following command (if needed, replace the version, in this case `2.12.0`, with the one you are using):
- In case of installing from released YAML file just run the following command (if needed, replace the version, in this case `2.12.1`, with the one you are using):

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

- If you have downloaded the file locally, you can run:

```sh
# Including admission webhooks
kubectl delete -f keda-2.12.0.yaml
kubectl delete -f keda-2.12.1.yaml
# Without admission webhooks
kubectl delete -f keda-2.12.0-core.yaml
kubectl delete -f keda-2.12.1-core.yaml
```

- You would need to run these commands from within the directory of the cloned [GitHub repo](https://github.com/kedacore/keda):

```sh
VERSION=2.12.0 make undeploy
VERSION=2.12.1 make undeploy
```

## Deploying KEDA on MicroK8s {#microk8s}
Expand Down

0 comments on commit a2af459

Please sign in to comment.