Lightbits CSI Plugin Guide
Lightbits vCenter Configuration Guide
Lightbits OpenStack Driver Support
Lightbits DMS Guide
Lightbits Cluster Federation
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Deploying Block PVC and POD
Copy Markdown
Open in ChatGPT
Open in Claude
This chart will install the following resources:
- A
PVCnamedexample-block-pvcreferencing the previously definedStorageClass. - A
PODnamedexample-block-podusingexample-block-pvc.
Deploying the Block Workload
Bash
helm install \ --set block.enabled=true \ lb-csi-workload-block \ lightbits-helm-repo/lb-csi-workload-examplesWill output:
Bash
NAME: lb-csi-workload-blockLAST DEPLOYED: Sun Feb 21 16:09:02 2021NAMESPACE: defaultSTATUS: deployedREVISION: 1TEST SUITE: NoneDeploying the POD on a Specific K8S Node
You can choose to deploy the POD on a specific K8s node by specifying nodeName or nodeSelector in the template.
The default values for these parameters are empty, which means the POD will not be limited to any POD.
Examples:
- Specifying
nodeSelector:
Bash
helm template \--set block.enabled=true \--set block.nodeSelector."beta\.kubernetes\.io/arch"=amd64,block.nodeSelector.disktype=ssd \lightbits-helm-repo/lb-csi-workload-examplesWill result in:
Bash
kind: PodapiVersion: v1metadata:name: example-block-podspec:nodeSelector:beta.kubernetes.io/arch: amd64disktype: ssdcontainers:...- Specifying
nodeName:
Bash
helm template \--set block.enabled=true \--set block.nodeName=node00.local \lightbits-helm-repo/lb-csi-workload-examplesWill result in:
Bash
kind: PodapiVersion: v1metadata:name: example-block-podspec:nodeName: node00.localcontainers:...Verifying the Block Workload
Verify that PV, PVC are created and in Bounded state and POD is in Running state.
Bash
x
kubectl get pv,pvc,podsNAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGEpersistentvolume/pvc-2b3b510d-bc4c-4528-a431-3923b8b7d443 3Gi RWO Delete Bound default/example-block-pvc example-sc 2m55sNAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGEpersistentvolumeclaim/example-block-pvc Bound pvc-2b3b510d-bc4c-4528-a431-3923b8b7d443 3Gi RWO example-sc 2m56sNAME READY STATUS RESTARTS AGEpod/example-block-pod 1/1 Running 0 2m56sUninstalling the Block Workload
Bash
helm uninstall lb-csi-workload-blockVerify that all resources are gone.
Bash
kubectl get pv,pvc,podsNo resources found in default namespace.Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Next to read:
Filesystem PVC and POD Workload© 2026 Lightbits Labs™
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message