Alpha Preview·Documentation in progress
Keyboard Shortcuts
Navigation
JNext heading
KPrevious heading
GGScroll to top
ShiftGScroll to bottom
NNext page
PPrevious page
Page
?Open keyboard shortcuts
EscClose modal
Skip to content

PVCExplorerScope

PVCExplorerScope is a cluster-scoped CRD that registers namespaces and applies defaults used to create PVCExplorer resources.

API Specification

FieldValue
API Versionpvcexplorer.io/v1alpha1
KindPVCExplorerScope
ScopeCluster
Short Namepvcs
Status SubresourceEnabled

Example

yaml
apiVersion: pvcexplorer.io/v1alpha1
kind: PVCExplorerScope
metadata:
  name: production
spec:
  namespaces:
    names:
      - prod
      - staging
  discovery:
    mode: Auto
    excludePVCs:
      - tmp-*
  deletionPolicy: Cleanup
  defaults:
    mode: ScaledToZero
    forceRW: true
    scaling:
      idleTimeout: 10m
      startupTimeout: 60s
    mountStrategy:
      allowNodeAffinity: true
      fallbackOnConflict: Pending

Fields Reference

Spec

FieldTypeRequiredDescription
namespaces.namesarray of stringNoStatic namespace list
namespaces.labelSelectorobjectNoLabel selector for dynamic namespace registration
discovery.modestringNoPVC discovery mode: Auto or Explicit
discovery.pvcNamesarray of stringNoUsed when mode is Explicit
discovery.excludePVCsarray of stringNoGlob patterns excluded from discovery
deletionPolicystringNoCleanup or Orphan behavior when scope is deleted
defaults.modestringNoDefault PVCExplorer mode
defaults.imagestringNoDefault agent image
defaults.forceRWbooleanNoDefault read-write preference when safe
defaults.scaling.idleTimeoutstringNoDefault idle timeout
defaults.scaling.startupTimeoutstringNoDefault startup timeout
defaults.mountStrategy.allowNodeAffinitybooleanNoDefault node affinity permission
defaults.mountStrategy.fallbackOnConflictstringNoDefault conflict policy, currently Pending
defaults.resourcesobjectNoDefault pod resource requests and limits

Status

FieldTypeDescription
namespaceCountintegerNumber of namespaces currently registered
explorerCountintegerNumber of owned PVCExplorer resources
observedGenerationintegerGeneration observed by controller
conditionsarrayStandard Kubernetes conditions

Source of truth

Apache 2.0 licensed. Built with the Kubebuilder framework.