This is an automated email from the ASF dual-hosted git repository.

zhouky pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-celeborn.git


The following commit(s) were added to refs/heads/main by this push:
     new 2bb8e7a2 [CELEBORN-218][HELM] Move helm chart to dedicated directory 
(#1160)
2bb8e7a2 is described below

commit 2bb8e7a2a28be9af4706349f9c968b804f3612ea
Author: Binjie Yang <[email protected]>
AuthorDate: Wed Jan 11 16:11:27 2023 +0800

    [CELEBORN-218][HELM] Move helm chart to dedicated directory (#1160)
---
 build/make-distribution.sh                                            | 4 +++-
 {docker/helm => charts/celeborn}/Chart.yaml                           | 0
 {docker/helm => charts/celeborn}/templates/NOTES.txt                  | 0
 {docker/helm => charts/celeborn}/templates/_helpers.tpl               | 0
 {docker/helm => charts/celeborn}/templates/configmap.yaml             | 0
 {docker/helm => charts/celeborn}/templates/master-service.yaml        | 0
 {docker/helm => charts/celeborn}/templates/master-statefulset.yaml    | 0
 {docker/helm => charts/celeborn}/templates/prometheus-podmonitor.yaml | 0
 {docker/helm => charts/celeborn}/templates/worker-service.yaml        | 0
 {docker/helm => charts/celeborn}/templates/worker-statefulset.yaml    | 0
 {docker/helm => charts/celeborn}/values.yaml                          | 0
 docker/DEPLOY_ON_K8S.md                                               | 4 ++--
 12 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/build/make-distribution.sh b/build/make-distribution.sh
index ce056447..c4315ac5 100755
--- a/build/make-distribution.sh
+++ b/build/make-distribution.sh
@@ -241,7 +241,9 @@ cp -r "$PROJECT_DIR/sbin" "$DIST_DIR"
 # Copy container related resources
 mkdir "$DIST_DIR/docker"
 cp "$PROJECT_DIR/docker/Dockerfile" "$DIST_DIR/docker"
-cp -r "$PROJECT_DIR/docker/helm" "$DIST_DIR/docker"
+
+# Copy Helm Charts
+cp -r "$PROJECT_DIR/charts" "$DIST_DIR"
 
 # Copy license files
 cp "$PROJECT_DIR/DISCLAIMER" "$DIST_DIR/DISCLAIMER"
diff --git a/docker/helm/Chart.yaml b/charts/celeborn/Chart.yaml
similarity index 100%
rename from docker/helm/Chart.yaml
rename to charts/celeborn/Chart.yaml
diff --git a/docker/helm/templates/NOTES.txt 
b/charts/celeborn/templates/NOTES.txt
similarity index 100%
rename from docker/helm/templates/NOTES.txt
rename to charts/celeborn/templates/NOTES.txt
diff --git a/docker/helm/templates/_helpers.tpl 
b/charts/celeborn/templates/_helpers.tpl
similarity index 100%
rename from docker/helm/templates/_helpers.tpl
rename to charts/celeborn/templates/_helpers.tpl
diff --git a/docker/helm/templates/configmap.yaml 
b/charts/celeborn/templates/configmap.yaml
similarity index 100%
rename from docker/helm/templates/configmap.yaml
rename to charts/celeborn/templates/configmap.yaml
diff --git a/docker/helm/templates/master-service.yaml 
b/charts/celeborn/templates/master-service.yaml
similarity index 100%
rename from docker/helm/templates/master-service.yaml
rename to charts/celeborn/templates/master-service.yaml
diff --git a/docker/helm/templates/master-statefulset.yaml 
b/charts/celeborn/templates/master-statefulset.yaml
similarity index 100%
rename from docker/helm/templates/master-statefulset.yaml
rename to charts/celeborn/templates/master-statefulset.yaml
diff --git a/docker/helm/templates/prometheus-podmonitor.yaml 
b/charts/celeborn/templates/prometheus-podmonitor.yaml
similarity index 100%
rename from docker/helm/templates/prometheus-podmonitor.yaml
rename to charts/celeborn/templates/prometheus-podmonitor.yaml
diff --git a/docker/helm/templates/worker-service.yaml 
b/charts/celeborn/templates/worker-service.yaml
similarity index 100%
rename from docker/helm/templates/worker-service.yaml
rename to charts/celeborn/templates/worker-service.yaml
diff --git a/docker/helm/templates/worker-statefulset.yaml 
b/charts/celeborn/templates/worker-statefulset.yaml
similarity index 100%
rename from docker/helm/templates/worker-statefulset.yaml
rename to charts/celeborn/templates/worker-statefulset.yaml
diff --git a/docker/helm/values.yaml b/charts/celeborn/values.yaml
similarity index 100%
rename from docker/helm/values.yaml
rename to charts/celeborn/values.yaml
diff --git a/docker/DEPLOY_ON_K8S.md b/docker/DEPLOY_ON_K8S.md
index 5e3c45b0..acb074a2 100644
--- a/docker/DEPLOY_ON_K8S.md
+++ b/docker/DEPLOY_ON_K8S.md
@@ -34,7 +34,7 @@ kubectl create namespace celeborn
 #### [Optional] Modify helm values file values.yaml
 You can modify helm values file and set up customized deployment configuration.
 ```
-vim ${CELEBORN_HOME}/docker/helm/values.yaml
+vim ${CELEBORN_HOME}/charts/celeborn/values.yaml
 ```
 These values are suggested to be checked before deploy:  
 - masterReplicas (number of Celeborn Master)
@@ -46,7 +46,7 @@ For more information of Celeborn configurations, see 
[CONFIGURATIONS](../CONFIGU
 
 #### Install Celeborn
 ```
-helm install celeborn ${CELEBORN_HOME}/docker/helm -n ${celeborn namespace}
+helm install celeborn ${CELEBORN_HOME}/charts/celebron -n ${celeborn namespace}
 ```
 
 #### Connect to Celeborn in K8s pod

Reply via email to