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

PVCExplorer

PVCExplorer is a namespaced CRD that manages the lifecycle of one pvc-explorer-agent pod for one PersistentVolumeClaim. The agent is a standalone file-browser implementation deployed and proxied by the operator.

API Specification

FieldValue
API Versionpvcexplorer.io/v1alpha1
KindPVCExplorer
ScopeNamespaced
Short Namepvcexp
Status SubresourceEnabled

Example

yaml
apiVersion: pvcexplorer.io/v1alpha1
kind: PVCExplorer
metadata:
  name: app-data
  namespace: default
spec:
  pvcName: app-data
  mode: ScaledToZero
  forceRW: true
  scaling:
    idleTimeout: 10m
    startupTimeout: 60s
  mountStrategy:
    autoDetect: true
    allowNodeAffinity: true
    fallbackOnConflict: Pending

Fields Reference

Spec

FieldTypeRequiredDescription
explorerLabelsmap[string]stringNoExtra labels for Deployment and pods
forceRWbooleanNoUse read-write when possible; can be forced read-only by safety checks
imagestringNoAgent container image override
modestringNoAgent mode: ScaledToZero or Deployment
mountStrategy.allowNodeAffinitybooleanNoAllow node affinity for RWO mount scenarios
mountStrategy.autoDetectbooleanNoDetect active consumers and enforce read-only safety
mountStrategy.fallbackOnConflictstringNoCurrent supported value: Pending
portintegerNoAgent HTTP port, default 8081
pvcNamestringYesTarget PVC name in the same namespace
resourcesobjectNoPod resource requests and limits
scaling.idleTimeoutstringNoInactivity duration before scale-down
scaling.providerstringNoauto, native, or knative
scaling.startupTimeoutstringNoMax wait for agent readiness after wake
subPathstringNoOptional sub-directory of the PVC

Status

FieldTypeDescription
agent.clusterstringCluster identity reported by agent
agent.pvcWatchEnabledbooleanAgent PVC watch state
agent.versionstringAgent version string
agentEndpointstringIn-cluster endpoint for the agent service
conditionsarrayStandard Kubernetes conditions
lastHealthCheckdatetimeLast successful health probe timestamp
modestringObserved mode
mount.accessModestringPVC access mode
mount.consumersarrayCurrent consumer pods for the PVC
mount.forceRWDeferredbooleanIndicates delayed return to read-write when consumers detach
mount.readOnlybooleanCurrent read-only state
mount.strategystringSelected mount strategy
mount.targetNodestringTarget node when node affinity is used
observedGenerationintegerGeneration observed by controller
phasestringLifecycle phase: ScaledToZero, Waking, Running, Failed, Pending

Source of truth

Apache 2.0 licensed. Built with the Kubebuilder framework.