You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@submarine.apache.org by GitBox <gi...@apache.org> on 2021/08/19 09:23:06 UTC

[GitHub] [submarine] Kenchu123 opened a new pull request #717: SUBMARINE-990. Add helm templates to support storage class configurations

Kenchu123 opened a new pull request #717:
URL: https://github.com/apache/submarine/pull/717


   ### What is this PR for?
   <!-- A few sentences describing the overall goals of the pull request's commits.
   First time? Check out the contributing guide - https://submarine.apache.org/contribution/contributions.html
   -->
   
   From SUBMARINE-975, we can find out that the storage class configurations (provisioner, reclaim policy, etc) is unchangeable.
   
   By adding helm templates (`_helper.tpl`) and adding more values (`values.yaml`), we can use `helm install --set storageClass.provisioner=...` to change the default configurations of the storage class. Therefore, we can easily set up different configurations on different clusters such as kind.
   
   ### What type of PR is it?
   [Improvement]
   
   ### Todos
   * [x] - Add `_helpers.tpl` and storageClass fields values
   * [x] - Change pvc access mode to `ReadWriteOnce` since local provisioner only support this
   * [x] - Modify `README.md`
   
   ### What is the Jira issue?
   <!-- * Open an issue on Jira https://issues.apache.org/jira/browse/SUBMARINE/
   * Put link here, and add [SUBMARINE-*Jira number*] in PR title, eg. `SUBMARINE-23. PR title`
   -->
   https://issues.apache.org/jira/browse/SUBMARINE-990
   
   ### How should this be tested?
   <!--
   * First time? Setup Travis CI as described on https://submarine.apache.org/contribution/contributions.html#continuous-integration
   * Strongly recommended: add automated unit tests for any new or changed behavior
   * Outline any manual steps to test the PR here.
   -->
   
   For one using minikube, you don't need to make any changes since minikube provisioner is the default.
   
   For one using kind, you need to add `--set storageClass.provisioner=rancher.io/local-path --set storageClass.volumeBindingMode=WaitForFirstConsumer` in `helm install` command.
   
   For one using other storage class provisioners, you can simply set values in `values.yaml` or set with `--set` as above.
   
   ps. This only supports the submarine controlled by the submarine operator.
   
   ### Screenshots (if appropriate)
   
   ### Questions:
   * Do the license files need updating? No
   * Are there breaking changes for older versions? No
   * Does this need new documentation? No
   


-- 
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: commits-unsubscribe@submarine.apache.org

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



[GitHub] [submarine] MortalHappiness commented on pull request #717: SUBMARINE-990. Add helm templates to support storage class configurations

Posted by GitBox <gi...@apache.org>.
MortalHappiness commented on pull request #717:
URL: https://github.com/apache/submarine/pull/717#issuecomment-904793862


   +1


-- 
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: commits-unsubscribe@submarine.apache.org

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



[GitHub] [submarine] asfgit closed pull request #717: SUBMARINE-990. Add helm templates to support storage class configurations

Posted by GitBox <gi...@apache.org>.
asfgit closed pull request #717:
URL: https://github.com/apache/submarine/pull/717


   


-- 
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: commits-unsubscribe@submarine.apache.org

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



[GitHub] [submarine] KUAN-HSUN-LI commented on pull request #717: SUBMARINE-990. Add helm templates to support storage class configurations

Posted by GitBox <gi...@apache.org>.
KUAN-HSUN-LI commented on pull request #717:
URL: https://github.com/apache/submarine/pull/717#issuecomment-901781056


   +1


-- 
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: commits-unsubscribe@submarine.apache.org

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