Skip to main content

@hivemq/longhorn

v2026.03.25.3

Quality score

How well-documented and verifiable this extension is.

33%

Grade F

  • Has README or module doc0/2missing
  • README has a code example0/1missing
  • README is substantive0/1pending
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description0/1missing
  • At least one platform tag (or universal)1/1earned
  • Two or more platform tags (or universal)1/1earned
  • License declared0/1missing
  • Verified public repository0/2missing

Install

$ swamp extension pull @hivemq/longhorn

@hivemq/longhornv2026.03.24.1longhorn.ts

Global Arguments

ArgumentTypeDescription
kubeContextstringKubernetes context name (e.g. dev-harvester, prod-harvester)
longhornNamespacestringNamespace where Longhorn is installed
listClassesList storage classes provisioned by Longhorn with their parameters
ArgumentTypeDescription
filter?stringOnly return storage classes whose name contains this string
listVolumesList Longhorn volumes with their state, robustness, and associated workloads
ArgumentTypeDescription
filter?stringOnly return volumes whose PVC name or workload name contains this string
unhealthyOnly?booleanOnly return volumes that are not healthy (degraded, faulted, unknown)
volumeHealthCheck volume health with replica placement for a filtered set of volumes
ArgumentTypeDescription
filterstringFilter volumes by PVC name or workload name
createClassCreate a Longhorn storage class with the specified parameters
ArgumentTypeDescription
namestringStorage class name
numberOfReplicasnumberNumber of Longhorn replicas (1-3)
diskSelector?stringLonghorn disk tag selector (e.g. disk-primary, disk-secondary)
nodeSelector?stringLonghorn node tag selector
migratablebooleanAllow live migration of volumes
reclaimPolicyenumReclaim policy for PVs
dataEngineenumLonghorn data engine version
encryptedbooleanEnable volume encryption
staleReplicaTimeoutnumberMinutes before a stale replica is removed
deleteClassDelete a Longhorn storage class by name
ArgumentTypeDescription
namestringStorage class name to delete
nodeHealthCheck Longhorn node health including disk status and storage capacity
ArgumentTypeDescription
filter?stringOnly return nodes whose name contains this string
listPodsList pods in the Longhorn namespace with their pod IPs and node assignments
ArgumentTypeDescription
labelSelector?stringKubernetes label selector (e.g. app=longhorn-manager)
filter?stringFilter results by pod name, node name, or pod IP
getSettingsGet Longhorn settings, optionally filtered by name substring
ArgumentTypeDescription
filter?stringOnly return settings whose name contains this string

Resources

storageClass(infinite)— Longhorn storage class definition
volume(infinite)— Longhorn volume with workload and health info
replica(infinite)— Longhorn volume replica placement
node(infinite)— Longhorn node with disk health
managerPod(infinite)— Longhorn manager pod with IP and node mapping
setting(infinite)— Longhorn setting
summary(infinite)— Summary of a query operation