Lightbits Plug-Ins
3.19.x
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 StatefulSet
AI Tools
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Connect to Cursor
Connect to VS Code
Deploying the StatefulSet Workload
Bash
xxxxxxxxxxhelm install \ --set statefulset.enabled=true \ lb-csi-workload-sts \ lightbits-helm-repo/lb-csi-workload-examplesWill output:
Bash
xxxxxxxxxxNAME: lb-csi-workload-stsLAST DEPLOYED: Sun Feb 21 16:09:02 2021NAMESPACE: defaultSTATUS: deployedREVISION: 1TEST SUITE: NoneVerifying the StatefulSet Workload
Verify that the following conditions are met:
PVandPVCisBoundPODs status isRunningStatefulSethas 3/3Ready
Bash
x
kubectl get pv,pvc,pods,stsNAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGEpersistentvolume/pvc-1a16e8da-427a-47a1-9974-c7f18b9d8abb 10Gi RWO Delete Bound default/test-mnt-example-sts-0 example-sc 2m4spersistentvolume/pvc-57e6e555-43e3-4f39-9433-c287d3ab53d6 10Gi RWO Delete Bound default/test-mnt-example-sts-1 example-sc 114spersistentvolume/pvc-945f0393-e711-4c75-b2f9-b80222d346ab 10Gi RWO Delete Bound default/test-mnt-example-sts-2 example-sc 103s NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGEpersistentvolumeclaim/test-mnt-example-sts-0 Bound pvc-1a16e8da-427a-47a1-9974-c7f18b9d8abb 10Gi RWO example-sc 2m5spersistentvolumeclaim/test-mnt-example-sts-1 Bound pvc-57e6e555-43e3-4f39-9433-c287d3ab53d6 10Gi RWO example-sc 116spersistentvolumeclaim/test-mnt-example-sts-2 Bound pvc-945f0393-e711-4c75-b2f9-b80222d346ab 10Gi RWO example-sc 104s NAME READY STATUS RESTARTS AGEpod/example-sts-0 1/1 Running 0 2m5spod/example-sts-1 1/1 Running 0 116spod/example-sts-2 1/1 Running 0 104s NAME READY AGEstatefulset.apps/example-sts 3/3 2m5sUninstalling the StatefulSet Workload
Bash
Verify that StatefulSet and PODs resources are gone:
Bash
Since the default StorageClass.reclaimPolicy is Retain, the PVCs and PVs will remain and will not be deleted.
In order to delete them, run the following:
Bash
Verify that all resources are gone:
Bash
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Next to read:
Deploying Pre-Provisioned Block PV PVC and POD© 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