This message was deleted.
# k3s
a
This message was deleted.
h
Copy code
kubectl get sc
kubectl describe <sc-name>
👆 1
b
What does sc stand for?
h
storageclass
b
I assume that's different from a csi driver.
h
when you describe the storage class, it should show you if its a csi driver or not...
for example:
Copy code
# kubectl describe sc vsphere-csi-sc | grep csi
Name:                  vsphere-csi-sc
Annotations:           <http://meta.helm.sh/release-name=rancher-vsphere-csi,meta.helm.sh/release-namespace=kube-system,storageclass.kubernetes.io/is-default-class=true|meta.helm.sh/release-name=rancher-vsphere-csi,meta.helm.sh/release-namespace=kube-system,storageclass.kubernetes.io/is-default-class=true>
Provisioner:           <http://csi.vsphere.vmware.com|csi.vsphere.vmware.com>
I do not have any local-path defined so I don't have that example
b
Copy code
# kubectl get sc
NAME                   PROVISIONER             RECLAIMPOLICY   VOLUMEBINDINGMODE      ALLOWVOLUMEEXPANSION   AGE
local-path (default)   <http://rancher.io/local-path|rancher.io/local-path>   Delete          WaitForFirstConsumer   false                  143d

error: the server doesn't have a resource type "local-path"
# kubectl describe sc local-path
Name:                  local-path
IsDefaultClass:        Yes
Annotations:           <http://objectset.rio.cattle.io/applied=H4sIAAAAAAAA/4yRT+vUMBCGv4rMua1bu1tKwIOu7EUEQdDzNJlux6aZkkwry7LfXbIqrIffn2PyZN7hfXIFXPg7xcQSwEBSiXimaupSxfJ2q6GAiYMDA9/+oKPHlKCAmRQdKoK5AoYgisoSUj5K/5OsJtIqslQWVT3lNM4xUDzJ5VegWJ63CQxMTXogW128+czBvf/gnIQXIwLOBAa8WPTl30qvGkoL2jw5rT2V6ZKUZij+SbG5eZVRDKR0F8SpdDTg6rW8YzCgcSW4FeCxJ/+sjxHTCAbqrhmag20Pw9DbZtfu210z7JuhPnQ719m2w3cOe7fPof81W1DHfLlE2Th/IEUwEDHYkWJe8PCsgJgL8PxVPNsLGPhEnjRr2cSvM33k4Dicv4jLC34g60niiWPSo4S0zhTh9jsAAP//ytgh5S0CAAA,objectset.rio.cattle.io/id=,objectset.rio.cattle.io/owner-gvk=k3s.cattle.io/v1|objectset.rio.cattle.io/applied=H4sIAAAAAAAA/4yRT+vUMBCGv4rMua1bu1tKwIOu7EUEQdDzNJlux6aZkkwry7LfXbIqrIffn2PyZN7hfXIFXPg7xcQSwEBSiXimaupSxfJ2q6GAiYMDA9/+oKPHlKCAmRQdKoK5AoYgisoSUj5K/5OsJtIqslQWVT3lNM4xUDzJ5VegWJ63CQxMTXogW128+czBvf/gnIQXIwLOBAa8WPTl30qvGkoL2jw5rT2V6ZKUZij+SbG5eZVRDKR0F8SpdDTg6rW8YzCgcSW4FeCxJ/+sjxHTCAbqrhmag20Pw9DbZtfu210z7JuhPnQ719m2w3cOe7fPof81W1DHfLlE2Th/IEUwEDHYkWJe8PCsgJgL8PxVPNsLGPhEnjRr2cSvM33k4Dicv4jLC34g60niiWPSo4S0zhTh9jsAAP//ytgh5S0CAAA,objectset.rio.cattle.io/id=,objectset.rio.cattle.io/owner-gvk=k3s.cattle.io/v1>, Kind=Addon,<http://objectset.rio.cattle.io/owner-name=local-storage,objectset.rio.cattle.io/owner-namespace=kube-system,storageclass.kubernetes.io/is-default-class=true|objectset.rio.cattle.io/owner-name=local-storage,objectset.rio.cattle.io/owner-namespace=kube-system,storageclass.kubernetes.io/is-default-class=true>
Provisioner:           <http://rancher.io/local-path|rancher.io/local-path>
Parameters:            <none>
AllowVolumeExpansion:  <unset>
MountOptions:          <none>
ReclaimPolicy:         Delete
VolumeBindingMode:     WaitForFirstConsumer
Events:                <none>
I guess I'm just confused about meeting the requirements for this project: https://docs.spectrocloud.com/enterprise-version/deploying-palette-with-helm/ Specifically:
Copy code
The Kubernetes cluster must have a Container Storage Interface (CSI) installed and confiured. Palette requires a CSI to store persistent data. You may install any CSI that is compatible with your Kubernetes cluster.
h
from the output - it doesn't say anything about csi.
you may want to look at longhorn ? https://longhorn.io/
c
it does not use the CSI interface, no. It uses the external provisioner interface, which predates CSI. If you want a local storage provider that uses CSI, you can try https://github.com/kubernetes-csi/csi-driver-host-path
b
Is longhorn too much for a single host with a single disk?
c
yes definitely
b
I'm quickly realizing that the more I try to build palette, that I'm just building Harvester with extra steps.