• ■ ■ ■ ■ ■ ■
    pages/deploy-into-k8s.md
    1 1  # Deploy into Kubernetes Cluster
    2 2  --------
    3 3   
    4  -### Installation
     4 +### Installation using Kustomize (kubectl -k)
    5 5   
    6 6  1. Select desired [OneDev release](https://code.onedev.io/projects/160/builds?query=%22Job%22+is+%22Release%22) and download _k8s-resources.zip_
    7 7  2. Unzip the file, change into directory _production_, change node selectors, memory setting and disk setting if necessary, and run command `kubectl apply -k .`
    skipped 5 lines
    13 13   ![Onedev Service External Ip](../images/onedev-service-external-ip.png)
    14 14   
    15 15   Now you can visit `http://<external-ip>` to access OneDev
     16 +
     17 +### Installation using Helm
     18 + 
     19 +1. Add the CloudSmith onedev repo to helm:
     20 +```
     21 +helm repo add onedev https://dl.cloudsmith.io/public/onedev/onedev/helm/charts/
     22 +```
     23 +2. Create a `values.yaml` file overriding the default values.
     24 + 
     25 +2. Install the helm chart setting the image tag as appropriate:
     26 + 
     27 +```
     28 +helm upgrade --install --atomic onedev onedev -f onedev/values.yaml -n onedev
     29 +```
    16 30  
    17 31  **NOTE:**
    18 32   
    skipped 2 lines
Please wait...
Page is in error, reload to recover