You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by gr...@apache.org on 2019/06/14 17:32:34 UTC
[kudu] 02/03: [k8s] Improve helm chart testing
This is an automated email from the ASF dual-hosted git repository.
granthenke pushed a commit to branch branch-1.10.x
in repository https://gitbox.apache.org/repos/asf/kudu.git
commit ea1109a62f4a9463002d719aec96d3dfb3324aaa
Author: SandishKumarHN <sa...@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 <gr...@apache.org>
Tested-by: Grant Henke <gr...@apache.org>
(cherry picked from commit d76ae349a500c9d505009c79ee128b7d7bf1e126)
Reviewed-on: http://gerrit.cloudera.org:8080/13652
---
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 12s
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/