Skip to content

Commit

Permalink
updating deploy to 2.0 (kedacore#300)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffhollan authored Nov 4, 2020
1 parent 0e96333 commit 4a34cf8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 27 deletions.
4 changes: 2 additions & 2 deletions content/docs/1.4/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ Deploying KEDA with Helm is very simple:
**Helm 2**

```sh
helm install kedacore/keda --namespace keda --name keda
helm install kedacore/keda --namespace keda --version 1.4.2 --name keda
```

**Helm 3**

```sh
kubectl create namespace keda
helm install keda kedacore/keda --namespace keda
helm install keda kedacore/keda --version 1.4.2 --namespace keda
```

### Uninstall
Expand Down
4 changes: 2 additions & 2 deletions content/docs/1.5/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ Deploying KEDA with Helm is very simple:
**Helm 2**

```sh
helm install kedacore/keda --namespace keda --name keda
helm install kedacore/keda --version 1.5.0 --namespace keda --name keda
```

**Helm 3**

```sh
kubectl create namespace keda
helm install keda kedacore/keda --namespace keda
helm install keda kedacore/keda --version 1.5.0 --namespace keda
```

### Uninstall
Expand Down
31 changes: 8 additions & 23 deletions content/docs/2.0/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,11 @@ Deploying KEDA with Helm is very simple:

3. Install `keda` Helm chart

**Helm 2**

```sh
helm install kedacore/keda --namespace keda --name keda
```

**Helm 3**

```sh
kubectl create namespace keda
helm install keda kedacore/keda --version 2.0.0-rc2 --namespace keda
helm install keda kedacore/keda --namespace keda
```

### Uninstall
Expand All @@ -58,15 +52,6 @@ kubectl delete -f https://raw.githubusercontent.com/kedacore/keda/main/config/cr
kubectl delete -f https://raw.githubusercontent.com/kedacore/keda/main/config/crd/bases/keda.sh_triggerauthentications.yaml
```

**Using Helm 2**

```sh
helm delete --purge keda
kubectl delete -f https://raw.githubusercontent.com/kedacore/keda/main/config/crd/bases/keda.sh_scaledobjects.yaml
kubectl delete -f https://raw.githubusercontent.com/kedacore/keda/main/config/crd/bases/keda.sh_scaledjobs.yaml
kubectl delete -f https://raw.githubusercontent.com/kedacore/keda/main/config/crd/bases/keda.sh_triggerauthentications.yaml
```

## Deploying with Operator Hub {#operatorhub}

### Install
Expand All @@ -88,41 +73,41 @@ Locate installed KEDA Operator in `keda` namespace, then remove created `KedaCon
If you want to try KEDA on [Minikube](https://minikube.sigs.k8s.io) or a different Kubernetes deployment without using Helm you can still deploy it with `kubectl`.

- We provide sample YAML declaration which includes our CRDs and all other resources in a file which is available on the [GitHub releases](https://github.com/kedacore/keda/releases) page.
Run the following command (if needed, replace the version, in this case `2.0.0-rc2`, with the one you are using):
Run the following command (if needed, replace the version, in this case `2.0.0`, with the one you are using):

```sh
kubectl apply -f https://github.com/kedacore/keda/releases/download/v2.0.0-rc2/keda-2.0.0-rc2.yaml
kubectl apply -f https://github.com/kedacore/keda/releases/download/v2.0.0/keda-2.0.0.yaml
```

- Alternatively you can download the file and deploy it from the local path:
```sh
kubectl apply -f keda-2.0.0-rc2.yaml
kubectl apply -f keda-2.0.0.yaml
```

- 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
git clone https://github.com/kedacore/keda && cd keda
VERSION=2.0.0-rc2 make deploy
VERSION=2.0.0 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.0.0`, with the one you are using):

```sh
kubectl delete -f https://github.com/kedacore/keda/releases/download/v2.0.0-rc2/keda-2.0.0-rc2.yaml
kubectl delete -f https://github.com/kedacore/keda/releases/download/v2.0.0/keda-2.0.0.yaml
```

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

```sh
kubectl delete -f keda-2.0.0-rc2.yaml
kubectl delete -f keda-2.0.0.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.0.0-rc2 make undeploy
VERSION=2.0.0 make undeploy
```

0 comments on commit 4a34cf8

Please sign in to comment.