2022-12-02 21:38:07 +00:00
# Kubeslice Enterprise Controller Helm Charts
2022-12-27 13:56:25 +00:00
## Prerequisites
2023-02-02 17:01:16 +00:00
📖 Follow the overview and registration [documentation](https://docs.avesha.io/documentation/enterprise/0.5.0/deployment-partners/deploying-kubeslice-on-rancher/)
2022-12-02 21:38:07 +00:00
2023-02-02 17:01:16 +00:00
- Create and configure the controller cluster following instructions in the prerequisites section [documentation](https://docs.avesha.io/documentation/enterprise/0.5.0/deployment-partners/deploying-kubeslice-on-rancher/installing-the-kubeslice-controller-on-rancher)
2022-12-27 13:56:25 +00:00
- Copy the chart version from the upper right hand section of this page [VERSION parameter need during install and upgrade]
- Click on the download chart link from the upper right hand section of this page, save it to location available from command prompt
- Untar the chart to get the values.yaml file, update values.yaml with the follwing information
2023-02-02 17:01:16 +00:00
- cluster end point [documentation](https://docs.avesha.io/documentation/enterprise/0.5.0/deployment-partners/deploying-kubeslice-on-rancher/installing-the-kubeslice-controller-on-rancher#getting-the-controller-cluster-endpoint)
2022-12-27 13:56:25 +00:00
- helm repository username, password and email [From registration]
2022-12-02 21:38:07 +00:00
2022-12-27 13:56:25 +00:00
# Installation
2022-12-02 21:38:07 +00:00
2022-12-27 13:56:25 +00:00
Add the repo as follows:
2022-12-02 21:38:07 +00:00
```console
2022-12-27 13:56:25 +00:00
helm repo add kubeslice-rancher https://kubeslice.github.io/rancher-avesha-charts/
2022-12-02 21:38:07 +00:00
```
2022-12-27 13:56:25 +00:00
### Install KubeSlice Controller
2022-12-02 21:38:07 +00:00
```console
2022-12-27 13:56:25 +00:00
export KUBECONFIG=<CONTROLLER CLUSTER KUBECONFIG>
helm install --namespace=kubeslice-controller --create-namespace kubeslice-controller kubeslice-rancher/kubeslice-controller --timeout=10m0s --values=<LOCATION OF values.yaml> --version=<VERSION> --wait=true
2022-12-02 21:38:07 +00:00
```
2022-12-27 13:56:25 +00:00
### Upgrading KubeSlice Controller
2022-12-02 21:38:07 +00:00
```console
2022-12-27 13:56:25 +00:00
helm upgrade --history-max=5 --namespace=kubeslice-controller kubeslice-controller kubeslice-rancher/kubeslice-controller --timeout=10m0s --values=<LOCATION OF values.yaml> --version=<VERSION> --wait=true
2022-12-02 21:38:07 +00:00
```
2022-12-27 13:56:25 +00:00
### Uninstall KubeSlice Controller
2023-02-02 17:01:16 +00:00
- Follow instructions [documentation](https://docs.avesha.io/documentation/enterprise/0.5.0/getting-started-with-cloud-clusters/uninstalling-kubeslice/uninstalling-the-kubeslice-controller/)
2022-12-02 21:38:07 +00:00
```console
2022-12-27 13:56:25 +00:00
export KUBECONFIG=<CONTROLLER CLUSTER KUBECONFIG>
helm uninstall --namespace=kubeslice-controller --timeout=10m0s --wait=true kubeslice-controller
2022-12-02 21:38:07 +00:00
```