#12  Added helm install instructions
Merged
Commits were merged into target branch
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■ ■
    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 +2. Create a `values.yaml` file overriding the default values.
     21 +3. Install the helm chart setting the image tag as appropriate:
     22 + 
     23 +```
     24 +helm repo add onedev https://dl.cloudsmith.io/public/onedev/onedev/helm/charts/
     25 +helm upgrade --install --atomic onedev onedev -f onedev/values.yaml -n onedev --set image.tag=5.3.3
     26 +```
    16 27  
    17 28  **NOTE:**
    18 29   
    skipped 2 lines
pull request 1 of 1
Submitter Shamil
Target main
Source shamil/manual:main
Assignees
Merge Strategy
Create Merge Commit
Watchers (3)
Reference
pull request onedev/manual#12
Please wait...
Page is in error, reload to recover