[
https://issues.apache.org/jira/browse/SUBMARINE-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17410197#comment-17410197
]
Che-Kuang Chu edited comment on SUBMARINE-1011 at 9/5/21, 4:28 PM:
-------------------------------------------------------------------
Hi [~lowc1012],
For the first question, the storage class now is designed for universal usage,
including server, database, tensorboard, minio and notebook.
For the second question, you can apply a storage class manually but changing
the provisioned and parameters for your environment. You should only make sure
that the name is `submarine-storageclass`.
For instance for people using kind:
{code:java}
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: submarine-storageclass
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer
provisioner: rancher.io/local-path
{code}
However, I haven't used `kubeadm` before, so I don't know what provisioner it
is using. Maybe you can try `kubectl get storageclass` and see what the default
provisioner is and replace the provisioner property in above.
More about storage class:
[https://kubernetes.io/docs/concepts/storage/storage-classes/]
was (Author: ken chu):
Hi [~lowc1012],
For the first question, the storage class now is designed for universal usage,
including server, database, tensorboard, minio and notebook.
For the second question, you can apply a storage class manually but changing
the provisioned and parameters for your environment. You should only make sure
that the name is `submarine-storageclass`.
For instance for people using kind:
{code:java}
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: submarine-storageclass
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer
provisioner: rancher.io/local-path
{code}
More about storage class:
[https://kubernetes.io/docs/concepts/storage/storage-classes/]
> Some problems about submarine-storageclass
> ------------------------------------------
>
> Key: SUBMARINE-1011
> URL: https://issues.apache.org/jira/browse/SUBMARINE-1011
> Project: Apache Submarine
> Issue Type: Bug
> Components: Cloud-native Deployment
> Reporter: Ryan Lo
> Priority: Major
> Attachments: 螢幕快照 2021-09-05 下午4.24.06.png
>
>
> I use kubeadm to create K8s cluster and install Submarine in it.
> When I created a notebook instance, it was stuck in a creating status.
> I checked the pvc's status and it is showed below.
> !螢幕快照 2021-09-05 下午4.24.06.png!
> I have some questions about the
> [submarine-storageclass|https://github.com/apache/submarine/blob/master/helm-charts/submarine/templates/storageclass.yaml#L23].
> 1) Is it designed for notebook instances only or universal storageclass which
> be also used for tensorboard, minio, etc?
> 2) How can I use it if I don't want to install Submarine in Minikube cluster?
> cc [~Ken Chu]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]