Skip to content

stack manage status should print volume info #149

@dboreham

Description

@dboreham

It would be useful to print information about stack volumes, particularly in the k8s case. Info exists like:

$ kubectl --kubeconfig=./test19-k3s.yml --namespace stack-9aaaf7e199d5b254 describe pv pvc-fa5a690f-3fa0-4afe-a992-bc19694aa746
Name:              pvc-fa5a690f-3fa0-4afe-a992-bc19694aa746
Labels:            <none>
Annotations:       local.path.provisioner/selected-node: test19
                   pv.kubernetes.io/provisioned-by: rancher.io/local-path
Finalizers:        [kubernetes.io/pv-protection]
StorageClass:      local-path
Status:            Bound
Claim:             stack-9aaaf7e199d5b254/db-data
Reclaim Policy:    Delete
Access Modes:      RWO
VolumeMode:        Filesystem
Capacity:          2G
Node Affinity:
  Required Terms:
    Term 0:        kubernetes.io/hostname in [test19]
Message:
Source:
    Type:  LocalVolume (a persistent volume backed by local storage on a node)
    Path:  /var/lib/rancher/k3s/storage/pvc-fa5a690f-3fa0-4afe-a992-bc19694aa746_stack-9aaaf7e199d5b254_db-data
Events:    <none>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions