From b97b7f3639e84e83d691fe050c933c1a089467ae Mon Sep 17 00:00:00 2001 From: Anthony Corletti Date: Wed, 3 Feb 2021 17:41:12 -0500 Subject: [PATCH 1/3] docs: update helm documentation --- docs/installation.rst | 7 ++++--- .../pages/docs/installation/installing_scratch.mdx | 13 ++++++++++++- helm/superset/Chart.yaml | 9 +++++++++ 3 files changed, 25 insertions(+), 4 deletions(-) diff --git a/docs/installation.rst b/docs/installation.rst index f1307763441ba..658c9a7e26b72 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -1487,13 +1487,14 @@ Install Superset with helm in Kubernetes ---------------------------------------- You can install Superset into Kubernetes with Helm . The chart is -located in ``install/helm``. +located in the ``helm`` directory. -To install Superset into your Kubernetes: +To install Superset in your Kubernetes cluster with Helm 3, run: .. code-block:: bash - helm upgrade --install superset ./install/helm/superset + helm dep install ./helm/superset + helm upgrade --install superset ./helm/superset Note that the above command will install Superset into ``default`` namespace of your Kubernetes cluster. diff --git a/docs/src/pages/docs/installation/installing_scratch.mdx b/docs/src/pages/docs/installation/installing_scratch.mdx index 39e36ea23283a..79c35d98531fe 100644 --- a/docs/src/pages/docs/installation/installing_scratch.mdx +++ b/docs/src/pages/docs/installation/installing_scratch.mdx @@ -119,4 +119,15 @@ locally by default at `localhost:8088`) and login using the username and passwor ### Installing Superset with Helm in Kubernetes -See the dedicated [Kubernetes installation](/docs/installation/running-on-kubernetes) page. +You can install Superset into Kubernetes with [Helm](https://helm.sh/). The chart is located in +the `helm/` directory. + +To install Superset in your Kubernetes cluster with Helm 3, run: + +``` +helm dep up ./helm/superset +helm upgrade --install superset ./helm/superset +``` + +Note that the above command will install Superset into `default` namespace of your Kubernetes +cluster. diff --git a/helm/superset/Chart.yaml b/helm/superset/Chart.yaml index 973f6c70479cf..76c07a087d71f 100644 --- a/helm/superset/Chart.yaml +++ b/helm/superset/Chart.yaml @@ -23,3 +23,12 @@ maintainers: email: cychiang0823@gmail.com url: https://github.com/cychiang version: 0.1.0 +dependencies: +- name: postgresql + version: 10.2.0 + repository: https://charts.bitnami.com/bitnami + condition: postgresql.enabled +- name: redis + version: 12.3.0 + repository: https://charts.bitnami.com/bitnami + condition: redis.enabled \ No newline at end of file From f77daf1c5d4557ccfe810ba95cecfa024b168bba Mon Sep 17 00:00:00 2001 From: Anthony Corletti Date: Wed, 3 Feb 2021 18:28:15 -0500 Subject: [PATCH 2/3] docs: fix for end-of-file-fixer pre-commit-config --- helm/superset/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/superset/Chart.yaml b/helm/superset/Chart.yaml index 76c07a087d71f..645cb6dbe1b3e 100644 --- a/helm/superset/Chart.yaml +++ b/helm/superset/Chart.yaml @@ -31,4 +31,4 @@ dependencies: - name: redis version: 12.3.0 repository: https://charts.bitnami.com/bitnami - condition: redis.enabled \ No newline at end of file + condition: redis.enabled From 74f4c93064b2c41bf8e82d7d42d849fac3f65b3a Mon Sep 17 00:00:00 2001 From: Anthony Corletti Date: Sun, 21 Mar 2021 14:16:45 -0400 Subject: [PATCH 3/3] update: bump chart apiVersion to v2 and remove requirements.yaml --- helm/superset/Chart.yaml | 2 +- helm/superset/requirements.yaml | 25 ------------------------- 2 files changed, 1 insertion(+), 26 deletions(-) delete mode 100644 helm/superset/requirements.yaml diff --git a/helm/superset/Chart.yaml b/helm/superset/Chart.yaml index 645cb6dbe1b3e..49379034149f3 100644 --- a/helm/superset/Chart.yaml +++ b/helm/superset/Chart.yaml @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -apiVersion: v1 +apiVersion: v2 appVersion: "1.0" description: Apache Superset is a modern, enterprise-ready business intelligence web application name: superset diff --git a/helm/superset/requirements.yaml b/helm/superset/requirements.yaml deleted file mode 100644 index b9dbac74905ea..0000000000000 --- a/helm/superset/requirements.yaml +++ /dev/null @@ -1,25 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -dependencies: -- name: postgresql - version: 10.2.0 - repository: https://charts.bitnami.com/bitnami - condition: postgresql.enabled -- name: redis - version: 12.3.0 - repository: https://charts.bitnami.com/bitnami - condition: redis.enabled