The module lifecycle stage: Generally available version

The module has requirements for installation

Deckhouse Platform installs CRDs but does not remove them when a module is disabled. If you no longer need the created CRDs, delete them.

CustomSnapshotDefinition

Short names: csd

Scope: Cluster
Version: v1alpha1

Registers a snapshot kind provided by another Deckhouse Platform module for a source resource kind.
  • spec
    object
    Maps one source resource kind to the snapshot kind that handles it.
    • spec.apiVersion
      string

      Required value

      API version of the snapshot resource.

      Minimum length: 1

    • spec.kind
      string

      Required value

      Kind of the snapshot resource.

      Minimum length: 1

    • spec.requiresDataArtifact
      boolean
      Shows whether this snapshot kind requires a captured volume-data artifact before it can become ready.
    • spec.source
      object

      Required value

      Source Kubernetes resource kind handled by this definition.
      • spec.source.apiVersion
        string

        Required value

        API version of the source resource.

        Minimum length: 1

      • spec.source.kind
        string

        Required value

        Kind of the source resource.

        Minimum length: 1

    • spec.weight
      integer
      Traversal order for this snapshot kind. Lower values are processed earlier.

      Allowed values: 0 <= X

  • status
    object
    Current acceptance, access, and readiness state of the definition.
    • status.conditions
      array of objects
      Current conditions. Accepted reflects definition validation, AccessGranted reflects required access, and Ready reflects overall readiness.
      • status.conditions.lastTransitionTime
        string
        Time of the last condition status change.
      • status.conditions.message
        string
        Human-readable details about the condition.

        Maximum length: 32768

      • status.conditions.observedGeneration
        integer
        Object generation observed when this condition was set.

        Allowed values: 0 <= X

      • status.conditions.reason
        string
        Programmatic reason for the last condition transition.

        Length: 1..1024

        Pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$

      • status.conditions.status
        string
        Condition status.

        Allowed values: True, False, Unknown

      • status.conditions.type
        string
        Condition type.

        Maximum length: 316

        Pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$

Snapshot

Short names: snap

Scope: Namespaced
Version: v1alpha1

Snapshot captures or imports the state of one namespace as an immutable snapshot tree.
  • spec
    object
    Defines how snapshot content is obtained.
    • spec.mode
      string

      Selects whether content is captured from the live namespace or imported.

      Capture reads live namespace state. Import waits for content supplied through the upload API and does not capture live state.

      Default: Capture

      Allowed values: Capture, Import

  • status
    object
    Current binding, tree, and readiness state of the Snapshot.
    • status.boundSnapshotContentName
      string
      Name of the SnapshotContent bound to this Snapshot.

      Maximum length: 253

    • status.captureState
      object
      Capture progress exposed in status during Capture mode.
      • status.captureState.commonController
        object
        Core capture progress for this node.
        • status.captureState.commonController.childSubtreesManifestsPersisted
          boolean

          Shows whether manifests for all declared child subtrees have been persisted.

          This node’s own manifests are tracked separately by manifestCaptured.

        • status.captureState.commonController.childrenSettled
          boolean

          Shows whether all direct child nodes have finished processing, successfully or with an error that is not retried.

          A true value indicates completion, not success. Omitted for a node without direct children or until the value is calculated.

        • status.captureState.commonController.dataCaptured
          boolean

          Shows whether this node’s volume data has been captured.

          Omitted for nodes without volume data.

        • status.captureState.commonController.manifestCaptured
          boolean
          Shows whether this node’s manifests have been captured.
        • status.captureState.commonController.subtreePlanned
          boolean
          Shows whether planning is complete for this node and all child subtrees.
      • status.captureState.domainSpecificController
        object
        Domain-specific capture progress for this node.
        • status.captureState.domainSpecificController.excludedRefs
          array of objects
          Source objects excluded directly by this node during capture.
          • status.captureState.domainSpecificController.excludedRefs.apiVersion
            string
            API version of the excluded source resource.
          • status.captureState.domainSpecificController.excludedRefs.kind
            string
            Kind of the excluded source resource.
          • status.captureState.domainSpecificController.excludedRefs.name
            string
            Name of the excluded source object.
        • status.captureState.domainSpecificController.manifestCaptureRequestName
          string
          Name of the temporary ManifestCaptureRequest used to capture this node’s manifests.
        • status.captureState.domainSpecificController.message
          string
          Description of the current phase.
        • status.captureState.domainSpecificController.phase
          string
          Current domain capture phase.

          Allowed values: Planning, Planned, Finished, Failed

        • status.captureState.domainSpecificController.reason
          string
          Machine-readable reason for the current phase.
        • status.captureState.domainSpecificController.volumeCaptureRequestName
          string
          Name of the temporary request used to capture this node’s volume data.
    • status.childrenSnapshotRefs
      array of objects
      Direct child snapshot nodes in the same namespace.
      • status.childrenSnapshotRefs.apiVersion
        string
        API version of the child snapshot resource.
      • status.childrenSnapshotRefs.kind
        string
        Kind of the child snapshot resource.
      • status.childrenSnapshotRefs.name
        string
        Name of the child snapshot object.
    • status.conditions
      array of objects
      Current Snapshot conditions.
      • status.conditions.lastTransitionTime
        string
        Time of the last condition status change.
      • status.conditions.message
        string
        Human-readable details about the condition.

        Maximum length: 32768

      • status.conditions.observedGeneration
        integer
        Object generation observed when this condition was set.

        Allowed values: 0 <= X

      • status.conditions.reason
        string
        Programmatic reason for the last condition transition.

        Length: 1..1024

        Pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$

      • status.conditions.status
        string
        Condition status.

        Allowed values: True, False, Unknown

      • status.conditions.type
        string
        Condition type.

        Maximum length: 316

        Pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$

    • status.excludedRefs
      array of objects
      Source objects excluded from this snapshot subtree.
      • status.excludedRefs.apiVersion
        string
        API version of the excluded source resource.
      • status.excludedRefs.kind
        string
        Kind of the excluded source resource.
      • status.excludedRefs.name
        string
        Name of the excluded source object.
    • status.sourceRef
      object
      Reference to the source object whose state this snapshot node represents.
      • status.sourceRef.apiVersion
        string

        Required value

        API version of the source resource.

        Minimum length: 1

      • status.sourceRef.kind
        string

        Required value

        Kind of the source resource.

        Minimum length: 1

      • status.sourceRef.name
        string

        Required value

        Name of the source object.

        Minimum length: 1

      • status.sourceRef.namespace
        string
        Namespace of the source object.
      • status.sourceRef.uid
        string
        UID of the source object.