You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/05/05 18:13:15 UTC

[GitHub] [superset] charris-msft opened a new pull request, #19959: docs(K8s): Add instructions for loading the examples

charris-msft opened a new pull request, #19959:
URL: https://github.com/apache/superset/pull/19959

   This took me a long time to figure out because I'm new to Superset, Helm & Kubernetes.
   I want to make it easier for others in the future.
   
   <!---
   Please write the PR title following the conventions at https://www.conventionalcommits.org/en/v1.0.0/
   Example:
   fix(dashboard): load charts correctly
   -->
   
   ### SUMMARY
   Adding instructions for loading the examples for Kubernetes deployments as this is different from Docker deployments.
   This took me a long time to figure out because I'm new to Superset, Helm & Kubernetes, so I want to make it easier for others in the future.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   <!--- Skip this if not applicable -->
   
   ### TESTING INSTRUCTIONS
   1. run `helm upgrade --install superset superset/superset`
   Result: Examples will not be loaded and you will not see the `examples` database in Superset
   
   2. Follow added instructions then run `helm upgrade --install --alues my_values.yaml superset superset/superset`
   Result: Examples will be loaded and you will see the `examples` database in Superset
   
   ### ADDITIONAL INFORMATION
   <!--- Check any relevant boxes with "x" -->
   <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
   - [ ] Has associated issue:
   - [ ] Required feature flags:
   - [ ] Changes UI
   - [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351))
     - [ ] Migration is atomic, supports rollback & is backwards-compatible
     - [ ] Confirm DB migration upgrade and downgrade tested
     - [ ] Runtime estimates and downtime expectations provided
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] rusackas commented on a diff in pull request #19959: docs(K8s): Add instructions for loading the examples

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on code in PR #19959:
URL: https://github.com/apache/superset/pull/19959#discussion_r1271144055


##########
docs/docs/installation/running-on-kubernetes.mdx:
##########
@@ -396,3 +396,11 @@ configOverrides:
         "--disable-extensions",
     ]
 ```
+#### Load the Examples data and dashboards
+If you are trying Superset out and want some data and dashboards to explore, you can load some examples by creating a `my_values.yaml` and deploying it as described above in the **Configure your setting overrides** step of the **Running** section.
+To load the examples, add the following to the `my_values.yaml` file:
+```yaml
+init:
+  loadExamples: true
+```
+

Review Comment:
   ```suggestion
   ```
   Continuing to come around and touch this thing up to make the linter happy....



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] rusackas merged pull request #19959: docs(K8s): Add instructions for loading the examples

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas merged PR #19959:
URL: https://github.com/apache/superset/pull/19959


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] rusackas commented on a diff in pull request #19959: docs(K8s): Add instructions for loading the examples

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on code in PR #19959:
URL: https://github.com/apache/superset/pull/19959#discussion_r1271144055


##########
docs/docs/installation/running-on-kubernetes.mdx:
##########
@@ -396,3 +396,11 @@ configOverrides:
         "--disable-extensions",
     ]
 ```
+#### Load the Examples data and dashboards
+If you are trying Superset out and want some data and dashboards to explore, you can load some examples by creating a `my_values.yaml` and deploying it as described above in the **Configure your setting overrides** step of the **Running** section.
+To load the examples, add the following to the `my_values.yaml` file:
+```yaml
+init:
+  loadExamples: true
+```
+

Review Comment:
   ```suggestion
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] rusackas commented on a diff in pull request #19959: docs(K8s): Add instructions for loading the examples

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on code in PR #19959:
URL: https://github.com/apache/superset/pull/19959#discussion_r1194058494


##########
docs/docs/installation/running-on-kubernetes.mdx:
##########
@@ -396,3 +396,10 @@ configOverrides:
         "--disable-extensions",
     ]
 ```
+#### Load the Examples data and dashboards
+If you are trying Superset out and want some data and dashboards to explore, you can load some examples by creating a `my_values.yaml` and deploying it as described above in the **Configure your setting overrides** step of the **Running** section.
+To load the examples, add the following to the `my_values.yaml` file:
+```yaml
+init:
+  loadExamples: true
+  

Review Comment:
   ```suggestion
   init:
     loadExamples: true
   ```
   
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] rusackas commented on a diff in pull request #19959: docs(K8s): Add instructions for loading the examples

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on code in PR #19959:
URL: https://github.com/apache/superset/pull/19959#discussion_r1185205496


##########
docs/docs/installation/running-on-kubernetes.mdx:
##########
@@ -396,3 +396,9 @@ configOverrides:
         "--disable-extensions",
     ]
 ```
+#### Load the Examples data and dashboards
+If you are trying Superset out and want some data and dashboards to explore, you can load some examples by creating a `my_values.yaml` and deploying it as described above in the **Configure your setting overrides** step of the **Running** section.
+To load the examples, add the following to the `my_values.yaml` file:
+```yaml
+init:
+  loadExamples: true

Review Comment:
   Ugh... I think I overcorrected on my last move... I believe there needs to be ONE newline... not two, not zero :)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] rusackas commented on a diff in pull request #19959: docs(K8s): Add instructions for loading the examples

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on code in PR #19959:
URL: https://github.com/apache/superset/pull/19959#discussion_r1194066295


##########
docs/docs/installation/running-on-kubernetes.mdx:
##########
@@ -396,3 +396,10 @@ configOverrides:
         "--disable-extensions",
     ]
 ```
+#### Load the Examples data and dashboards
+If you are trying Superset out and want some data and dashboards to explore, you can load some examples by creating a `my_values.yaml` and deploying it as described above in the **Configure your setting overrides** step of the **Running** section.
+To load the examples, add the following to the `my_values.yaml` file:
+```yaml
+init:
+  loadExamples: true
+  

Review Comment:
   ````suggestion
   ```yaml
   init:
     loadExamples: true
   ```
   
   ````



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] rusackas commented on pull request #19959: docs(K8s): Add instructions for loading the examples

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on PR #19959:
URL: https://github.com/apache/superset/pull/19959#issuecomment-1524515193

   Closing/re-opening to kick CI.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] rusackas closed pull request #19959: docs(K8s): Add instructions for loading the examples

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed pull request #19959: docs(K8s): Add instructions for loading the examples
URL: https://github.com/apache/superset/pull/19959


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] rusackas commented on a diff in pull request #19959: docs(K8s): Add instructions for loading the examples

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on code in PR #19959:
URL: https://github.com/apache/superset/pull/19959#discussion_r1186382168


##########
docs/docs/installation/running-on-kubernetes.mdx:
##########
@@ -396,3 +396,10 @@ configOverrides:
         "--disable-extensions",
     ]
 ```
+#### Load the Examples data and dashboards
+If you are trying Superset out and want some data and dashboards to explore, you can load some examples by creating a `my_values.yaml` and deploying it as described above in the **Configure your setting overrides** step of the **Running** section.
+To load the examples, add the following to the `my_values.yaml` file:
+```yaml
+init:
+  loadExamples: true
+  

Review Comment:
   ```suggestion
   ```
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] rusackas commented on a diff in pull request #19959: docs(K8s): Add instructions for loading the examples

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on code in PR #19959:
URL: https://github.com/apache/superset/pull/19959#discussion_r1185204891


##########
docs/docs/installation/running-on-kubernetes.mdx:
##########
@@ -396,3 +396,9 @@ configOverrides:
         "--disable-extensions",
     ]
 ```
+#### Load the Examples data and dashboards
+If you are trying Superset out and want some data and dashboards to explore, you can load some examples by creating a `my_values.yaml` and deploying it as described above in the **Configure your setting overrides** step of the **Running** section.
+To load the examples, add the following to the `my_values.yaml` file:
+```yaml
+init:
+  loadExamples: true

Review Comment:
   ```suggestion
     loadExamples: true
     
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] rusackas commented on a diff in pull request #19959: docs(K8s): Add instructions for loading the examples

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on code in PR #19959:
URL: https://github.com/apache/superset/pull/19959#discussion_r1185203285


##########
docs/docs/installation/running-on-kubernetes.mdx:
##########
@@ -396,3 +396,12 @@ configOverrides:
         "--disable-extensions",
     ]
 ```
+#### Load the Examples data and dashboards
+If you are trying Superset out and want some data and dashboards to explore, you can load some examples by creating a `my_values.yaml` and deploying it as described above in the **Configure your setting overrides** step of the **Running** section.
+To load the examples, add the following to the `my_values.yaml` file:
+```yaml
+init:
+  loadExamples: true
+```
+
+

Review Comment:
   ```suggestion
   ```
   
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] rusackas commented on a diff in pull request #19959: docs(K8s): Add instructions for loading the examples

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on code in PR #19959:
URL: https://github.com/apache/superset/pull/19959#discussion_r1186380599


##########
docs/docs/installation/running-on-kubernetes.mdx:
##########
@@ -396,3 +396,10 @@ configOverrides:
         "--disable-extensions",
     ]
 ```
+#### Load the Examples data and dashboards
+If you are trying Superset out and want some data and dashboards to explore, you can load some examples by creating a `my_values.yaml` and deploying it as described above in the **Configure your setting overrides** step of the **Running** section.
+To load the examples, add the following to the `my_values.yaml` file:
+```yaml
+init:
+  loadExamples: true
+  

Review Comment:
   ```suggestion
     ```
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org