Skip to content

Commit

Permalink
update deploy.md file (#1338)
Browse files Browse the repository at this point in the history
Signed-off-by: Adarsh-verma-14 <t_adarsh.verma@india.nec.com>
  • Loading branch information
Adarsh-verma-14 committed Mar 27, 2024
1 parent cd628d9 commit b6ebd68
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions content/docs/2.13/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.13.0`, with the one you are using):
Run the following command (if needed, replace the version, in this case `2.13.1`, with the one you are using):

```sh
# Including admission webhooks
kubectl apply --server-side -f https://github.com/kedacore/keda/releases/download/v2.13.0/keda-2.13.0.yaml
kubectl apply --server-side -f https://github.com/kedacore/keda/releases/download/v2.13.1/keda-2.13.1.yaml
# Without admission webhooks
kubectl apply --server-side -f https://github.com/kedacore/keda/releases/download/v2.13.0/keda-2.13.0-core.yaml
kubectl apply --server-side -f https://github.com/kedacore/keda/releases/download/v2.13.1/keda-2.13.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.13.0.yaml
kubectl apply --server-side -f keda-2.13.1.yaml
# Without admission webhooks
kubectl apply --server-side -f keda-2.13.0-core.yaml
kubectl apply --server-side -f keda-2.13.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.13.0-core.yaml
```sh
git clone https://github.com/kedacore/keda && cd keda

VERSION=2.13.0 make deploy
VERSION=2.13.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.13.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.13.1`, with the one you are using):

```sh
# Including admission webhooks
kubectl delete -f https://github.com/kedacore/keda/releases/download/v2.13.0/keda-2.13.0.yaml
kubectl delete -f https://github.com/kedacore/keda/releases/download/v2.13.1/keda-2.13.1.yaml
# Without admission webhooks
kubectl delete -f https://github.com/kedacore/keda/releases/download/v2.13.0/keda-2.13.0-core.yaml
kubectl delete -f https://github.com/kedacore/keda/releases/download/v2.13.1/keda-2.13.1-core.yaml
```

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

```sh
# Including admission webhooks
kubectl delete -f keda-2.13.0.yaml
kubectl delete -f keda-2.13.1.yaml
# Without admission webhooks
kubectl delete -f keda-2.13.0-core.yaml
kubectl delete -f keda-2.13.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.13.0 make undeploy
VERSION=2.13.1 make undeploy
```

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

0 comments on commit b6ebd68

Please sign in to comment.