kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From granthe...@apache.org
Subject [kudu] branch master updated: [k8s] Improve helm chart testing
Date Fri, 14 Jun 2019 17:32:37 GMT
This is an automated email from the ASF dual-hosted git repository.

granthenke pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git

The following commit(s) were added to refs/heads/master by this push:
     new d76ae34  [k8s] Improve helm chart testing
d76ae34 is described below

commit d76ae349a500c9d505009c79ee128b7d7bf1e126
Author: SandishKumarHN <sanysandish@gmail.com>
AuthorDate: Thu Jun 13 13:50:31 2019 -0700

    [k8s] Improve helm chart testing
    Adds documentation for helm chart testing and linting.
    Change-Id: I0b9c2a8f4042cf603b7d1aa54cc21bde9b59c975
    Reviewed-on: http://gerrit.cloudera.org:8080/13641
    Reviewed-by: Grant Henke <granthenke@apache.org>
    Tested-by: Grant Henke <granthenke@apache.org>
 kubernetes/helm/README.adoc     | 13 ++++++++++++-
 kubernetes/helm/kudu/Chart.yaml |  2 +-
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/kubernetes/helm/README.adoc b/kubernetes/helm/README.adoc
index f1311c8..3b50d97 100644
--- a/kubernetes/helm/README.adoc
+++ b/kubernetes/helm/README.adoc
@@ -106,6 +106,17 @@ kudu-tserver-pdb  N/A            1                1                 
     kubectl logs kudu-master-0 --namespace apache-kudu
-==== Running Helm Test for Kudu HealthCheck
+=== Testing Helm Charts
+    # helm-template : it will render chart templates locally and display the output.
+    helm template kudu
+    # To render just one template in a chart
+    helm template kudu -x templates/kudu-service.yaml
+    # helm lint: examines a chart for possible issues, useful to validate chart dependencies.
+    helm lint kudu --namespace apache-kudu --tiller-namespace apache-kudu
+    # The argument this command takes is the name of a deployed release.
+    # The tests to be run are defined in the chart that was installed.
     helm test apache-kudu --tiller-namespace apache-kudu
\ No newline at end of file
diff --git a/kubernetes/helm/kudu/Chart.yaml b/kubernetes/helm/kudu/Chart.yaml
index b0e3153..264bb3b 100644
--- a/kubernetes/helm/kudu/Chart.yaml
+++ b/kubernetes/helm/kudu/Chart.yaml
@@ -20,7 +20,7 @@ apiVersion: v1
 description: Apache Kudu, A new addition to the open source Apache Hadoop ecosystem, Apache
Kudu completes Hadoop's
              storage layer to enable fast analytics on fast data.
 name: kudu
-version:  latest
+version:  1.0
 keywords: [apache, kudu, apache-kudu]
 sources: [https://github.com/apache/kudu]
 home: https://kudu.apache.org/

View raw message