Skip to content
Install the CLI

Reference experimental

zfs-localpv

These docs describe Kix's main branch, which can include changes not yet released. Read the docs for the latest release.

OpenEBS LocalPV-ZFS CSI driver: PersistentVolumes as ZFS datasets or zvols on each node’s existing pool

This page is generated from kix/packages/experimental/zfs-localpv.

StabilityExperimental
package valuepackages.experimental.zfs-localpv
Default software version2.11.2
Default aliaseszfsLocalPv

Kix matches each dependency below to another package instance by instance name, alias, or role. To bind a specific instance, set deps.<name> in your cluster definition. See Declaring dependencies for how required and optional dependencies work.

DependencyRequirement
snapshotControllerOptional

Extra environment variables of the controller plugin: a string, a fieldRef source, or a secretKeyRef naming a Secret managed outside Kix with kix.untrackedRef. Defaults OPENEBS_IO_ENABLE_ANALYTICS and OPENEBS_IO_ENABLE_BACKUP_GC to "false" (null removes them) and owns OPENEBS_NAMESPACE, OPENEBS_CSI_ENDPOINT, and OPENEBS_CONTROLLER_DRIVER.

  • Type: attribute set of (null or string or env var source with `valueFrom`)
  • Default: { }

Flags appended to the controller plugin. --endpoint, --plugin, and --name are refused.

  • Type: list of string
  • Default: [ ]

Resources of the controller plugin container.

  • Type: submodule

  • Default:

    {
    limits = {
    cpu = "200m";
    memory = "128Mi";
    };
    requests = {
    cpu = "10m";
    memory = "32Mi";
    };
    }

Dynamic resource claims the container uses. Null leaves it unset.

  • Type: null or (list of (submodule))
  • Default: null

Name of an entry in the pod’s resourceClaims.

  • Type: string

Request within the claim to use. Null uses the whole claim.

  • Type: null or string
  • Default: null

Resource quantities by name.

  • Type: open submodule of attribute set of Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: { }

The cpu quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: "200m"

controller.resources.limits.ephemeral-storage

Section titled “controller.resources.limits.ephemeral-storage”

The ephemeral-storage quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: null

The memory quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: "128Mi"

Resource quantities by name.

  • Type: open submodule of attribute set of Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: { }

The cpu quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: "10m"

controller.resources.requests.ephemeral-storage

Section titled “controller.resources.requests.ephemeral-storage”

The ephemeral-storage quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: null

The memory quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: "32Mi"

Image of csi-provisioner, the controller sidecar that creates volumes and publishes pool capacity.

  • Type: submodule

  • Default:

    {
    digest = "sha256:d5e46da8aff7d73d6f00c761dae94472bcda6e78f4f17b3802dc89d44de0111b";
    pullPolicy = "IfNotPresent";
    repository = "registry.k8s.io/sig-storage/csi-provisioner";
    tag = "v5.2.0";
    }

Resolved manifest digest, sha256: followed by 64 hex characters. What will actually run. Null means not resolved.

  • Type: null or string
  • Default: the package’s digest while tag is the package’s tag, otherwise null

Whatever a person wanted to say about this pin. Kix never reads it and a promotion never discards it. Declared here for the same reason as the three fields above: a pin carries its own record-keeping, and the option accepts the whole pin rather than a subset of it.

  • Type: null or string
  • Default: null

Who resolved this pin, for the record. Null when unknown.

  • Type: null or string
  • Default: null

imagePullPolicy for containers using this image. Null leaves it to Kubernetes.

  • Type: null or string
  • Default: "IfNotPresent"

Image repository, registry host included.

  • Type: string
  • Default: "registry.k8s.io/sig-storage/csi-provisioner"

When this pin was resolved, RFC 3339. Null when unknown.

  • Type: null or string
  • Default: null

Revision of the source the image was built from, when Kix built it. Null for upstream images.

  • Type: null or string
  • Default: null

Image tag. What was asked for.

  • Type: string
  • Default: "v5.2.0"

Container resource requests and limits. Each field keeps its default until set, and null removes a default.

  • Type: submodule

  • Default:

    {
    limits = {
    cpu = "200m";
    memory = "128Mi";
    };
    requests = {
    cpu = "10m";
    memory = "32Mi";
    };
    }

Dynamic resource claims the container uses. Null leaves it unset.

  • Type: null or (list of (submodule))
  • Default: null

Name of an entry in the pod’s resourceClaims.

  • Type: string

Request within the claim to use. Null uses the whole claim.

  • Type: null or string
  • Default: null

Resource quantities by name.

  • Type: open submodule of attribute set of Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: { }

The cpu quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: "200m"

csiProvisioner.resources.limits.ephemeral-storage

Section titled “csiProvisioner.resources.limits.ephemeral-storage”

The ephemeral-storage quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: null

The memory quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: "128Mi"

Resource quantities by name.

  • Type: open submodule of attribute set of Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: { }

The cpu quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: "10m"

csiProvisioner.resources.requests.ephemeral-storage

Section titled “csiProvisioner.resources.requests.ephemeral-storage”

The ephemeral-storage quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: null

The memory quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: "32Mi"

Image of csi-resizer, the controller sidecar that expands volumes.

  • Type: submodule

  • Default:

    {
    digest = "sha256:8ddd178ba5d08973f1607f9b84619b58320948de494b31c9d7cd5375b316d6d4";
    pullPolicy = "IfNotPresent";
    repository = "registry.k8s.io/sig-storage/csi-resizer";
    tag = "v1.13.2";
    }

Resolved manifest digest, sha256: followed by 64 hex characters. What will actually run. Null means not resolved.

  • Type: null or string
  • Default: the package’s digest while tag is the package’s tag, otherwise null

Whatever a person wanted to say about this pin. Kix never reads it and a promotion never discards it. Declared here for the same reason as the three fields above: a pin carries its own record-keeping, and the option accepts the whole pin rather than a subset of it.

  • Type: null or string
  • Default: null

Who resolved this pin, for the record. Null when unknown.

  • Type: null or string
  • Default: null

imagePullPolicy for containers using this image. Null leaves it to Kubernetes.

  • Type: null or string
  • Default: "IfNotPresent"

Image repository, registry host included.

  • Type: string
  • Default: "registry.k8s.io/sig-storage/csi-resizer"

When this pin was resolved, RFC 3339. Null when unknown.

  • Type: null or string
  • Default: null

Revision of the source the image was built from, when Kix built it. Null for upstream images.

  • Type: null or string
  • Default: null

Image tag. What was asked for.

  • Type: string
  • Default: "v1.13.2"

Container resource requests and limits. Each field keeps its default until set, and null removes a default.

  • Type: submodule

  • Default:

    {
    limits = {
    cpu = "200m";
    memory = "128Mi";
    };
    requests = {
    cpu = "10m";
    memory = "32Mi";
    };
    }

Dynamic resource claims the container uses. Null leaves it unset.

  • Type: null or (list of (submodule))
  • Default: null

Name of an entry in the pod’s resourceClaims.

  • Type: string

Request within the claim to use. Null uses the whole claim.

  • Type: null or string
  • Default: null

Resource quantities by name.

  • Type: open submodule of attribute set of Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: { }

The cpu quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: "200m"

csiResizer.resources.limits.ephemeral-storage

Section titled “csiResizer.resources.limits.ephemeral-storage”

The ephemeral-storage quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: null

The memory quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: "128Mi"

Resource quantities by name.

  • Type: open submodule of attribute set of Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: { }

The cpu quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: "10m"

csiResizer.resources.requests.ephemeral-storage

Section titled “csiResizer.resources.requests.ephemeral-storage”

The ephemeral-storage quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: null

The memory quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: "32Mi"

Image of csi-snapshotter, which runs when the snapshotController dependency resolves.

  • Type: submodule

  • Default:

    {
    digest = "sha256:dd788d79cf4c1b8edee6d9b80b8a1ebfc51a38a365c5be656986b129be9ac784";
    pullPolicy = "IfNotPresent";
    repository = "registry.k8s.io/sig-storage/csi-snapshotter";
    tag = "v8.2.0";
    }

Resolved manifest digest, sha256: followed by 64 hex characters. What will actually run. Null means not resolved.

  • Type: null or string
  • Default: the package’s digest while tag is the package’s tag, otherwise null

Whatever a person wanted to say about this pin. Kix never reads it and a promotion never discards it. Declared here for the same reason as the three fields above: a pin carries its own record-keeping, and the option accepts the whole pin rather than a subset of it.

  • Type: null or string
  • Default: null

Who resolved this pin, for the record. Null when unknown.

  • Type: null or string
  • Default: null

imagePullPolicy for containers using this image. Null leaves it to Kubernetes.

  • Type: null or string
  • Default: "IfNotPresent"

Image repository, registry host included.

  • Type: string
  • Default: "registry.k8s.io/sig-storage/csi-snapshotter"

When this pin was resolved, RFC 3339. Null when unknown.

  • Type: null or string
  • Default: null

Revision of the source the image was built from, when Kix built it. Null for upstream images.

  • Type: null or string
  • Default: null

Image tag. What was asked for.

  • Type: string
  • Default: "v8.2.0"

Container resource requests and limits. Each field keeps its default until set, and null removes a default.

  • Type: submodule

  • Default:

    {
    limits = {
    cpu = "200m";
    memory = "128Mi";
    };
    requests = {
    cpu = "10m";
    memory = "32Mi";
    };
    }

Dynamic resource claims the container uses. Null leaves it unset.

  • Type: null or (list of (submodule))
  • Default: null

Name of an entry in the pod’s resourceClaims.

  • Type: string

Request within the claim to use. Null uses the whole claim.

  • Type: null or string
  • Default: null

Resource quantities by name.

  • Type: open submodule of attribute set of Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: { }

The cpu quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: "200m"

csiSnapshotter.resources.limits.ephemeral-storage

Section titled “csiSnapshotter.resources.limits.ephemeral-storage”

The ephemeral-storage quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: null

The memory quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: "128Mi"

Resource quantities by name.

  • Type: open submodule of attribute set of Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: { }

The cpu quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: "10m"

csiSnapshotter.resources.requests.ephemeral-storage

Section titled “csiSnapshotter.resources.requests.ephemeral-storage”

The ephemeral-storage quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: null

The memory quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: "32Mi"

Image of the controller and node plugins. Its major.minor must match the vendored CRDs.

  • Type: submodule

  • Default:

    {
    digest = "sha256:0234692bb4a48b3e70d0bc25f3327ca2b6f1c93d57a066eea755a5c0d94bfb2d";
    pullPolicy = "IfNotPresent";
    repository = "docker.io/openebs/zfs-driver";
    tag = "2.11.2";
    }

Resolved manifest digest, sha256: followed by 64 hex characters. What will actually run. Null means not resolved.

  • Type: null or string
  • Default: the package’s digest while tag is the package’s tag, otherwise null

Whatever a person wanted to say about this pin. Kix never reads it and a promotion never discards it. Declared here for the same reason as the three fields above: a pin carries its own record-keeping, and the option accepts the whole pin rather than a subset of it.

  • Type: null or string
  • Default: null

Who resolved this pin, for the record. Null when unknown.

  • Type: null or string
  • Default: null

imagePullPolicy for containers using this image. Null leaves it to Kubernetes.

  • Type: null or string
  • Default: "IfNotPresent"

Image repository, registry host included.

  • Type: string
  • Default: "docker.io/openebs/zfs-driver"

When this pin was resolved, RFC 3339. Null when unknown.

  • Type: null or string
  • Default: null

Revision of the source the image was built from, when Kix built it. Null for upstream images.

  • Type: null or string
  • Default: null

Image tag. What was asked for.

  • Type: string
  • Default: "2.11.2"

Host directory mounted at /home/keys in the node plugin for datasets encrypted with keylocation=file:///home/keys/... (zfsNode.encrKeysDir upstream). Null mounts nothing.

  • Type: null or string matching the pattern /.*
  • Default: null
  • Example: "/home/keys"

Extra environment variables of the node plugin: a string, a fieldRef source, or a secretKeyRef naming a Secret managed outside Kix with kix.untrackedRef. Defaults ALLOWED_TOPOLOGIES to kubernetes.io/hostname plus every key the classes in storageClasses select on in allowedTopologies; the driver always adds openebs.io/nodeid and openebs.io/nodename, and volumes pin to openebs.io/nodeid. Override with a comma-separated list of node label keys when an external StorageClass selects on other keys, or "All" to register every node label. Owns OPENEBS_NAMESPACE, OPENEBS_NODE_NAME, OPENEBS_CSI_ENDPOINT, and OPENEBS_NODE_DRIVER.

  • Type: attribute set of (null or string or env var source with `valueFrom`)
  • Default: { }

Flags appended to the node plugin. --endpoint, --plugin, --nodename, and --name are refused.

  • Type: list of string

  • Default: [ ]

  • Example:

    [
    "--default-format-options=xfs=-i nrext64=0"
    ]

The kubelet’s root directory on the host (zfsNode.kubeletDir upstream).

  • Type: string matching the pattern /.*
  • Default: "/var/lib/kubelet"

Node labels the node plugin is limited to, for clusters where only some nodes have a ZFS pool.

  • Type: attribute set of string
  • Default: { }

Resources of the node plugin container, which runs zfs for every volume operation.

  • Type: submodule

  • Default:

    {
    limits = {
    cpu = "500m";
    memory = "256Mi";
    };
    requests = {
    cpu = "10m";
    memory = "32Mi";
    };
    }

Dynamic resource claims the container uses. Null leaves it unset.

  • Type: null or (list of (submodule))
  • Default: null

Name of an entry in the pod’s resourceClaims.

  • Type: string

Request within the claim to use. Null uses the whole claim.

  • Type: null or string
  • Default: null

Resource quantities by name.

  • Type: open submodule of attribute set of Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: { }

The cpu quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: "500m"

The ephemeral-storage quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: null

The memory quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: "256Mi"

Resource quantities by name.

  • Type: open submodule of attribute set of Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: { }

The cpu quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: "10m"

The ephemeral-storage quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: null

The memory quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: "32Mi"

Taints the node plugin tolerates, for tainted storage nodes.

  • Type: list of (submodule)
  • Default: [ ]

Taint effect to tolerate. Leave unset to tolerate all effects.

  • Type: null or one of "NoSchedule", "PreferNoSchedule", "NoExecute"
  • Default: null

Taint key to match. Leave unset with operator = "Exists" to match all taint keys.

  • Type: null or string
  • Default: null

How to match the taint: "Equal" matches key and value, and "Exists" matches any value for key (or all taints when key is unset).

  • Type: one of "Exists", "Equal"
  • Default: "Equal"

Seconds a pod stays on a node after a matching NoExecute taint is added before Kubernetes evicts it. Leave unset to keep the pod on the node indefinitely. Requires effect = "NoExecute".

  • Type: null or (unsigned integer, meaning >=0)
  • Default: null

Taint value to match when operator is "Equal". Leave unset when operator is "Exists".

  • Type: null or string
  • Default: null

The zfs binary run under chroot /host when neither /sbin/zfs nor /usr/sbin/zfs exists on the host (zfs.bin upstream): an absolute path or a command name on the host’s PATH.

  • Type: string matching the pattern (/[A-Za-z0-9._+-]+)+|[A-Za-z0-9_][A-Za-z0-9._+-]*
  • Default: "zfs"
  • Example: "/run/current-system/sw/bin/zfs"

Image of node-driver-registrar, the node sidecar that registers the driver with the kubelet.

  • Type: submodule

  • Default:

    {
    digest = "sha256:d7138bcc3aa5f267403d45ad4292c95397e421ea17a0035888850f424c7de25d";
    pullPolicy = "IfNotPresent";
    repository = "registry.k8s.io/sig-storage/csi-node-driver-registrar";
    tag = "v2.13.0";
    }

Resolved manifest digest, sha256: followed by 64 hex characters. What will actually run. Null means not resolved.

  • Type: null or string
  • Default: the package’s digest while tag is the package’s tag, otherwise null

Whatever a person wanted to say about this pin. Kix never reads it and a promotion never discards it. Declared here for the same reason as the three fields above: a pin carries its own record-keeping, and the option accepts the whole pin rather than a subset of it.

  • Type: null or string
  • Default: null

Who resolved this pin, for the record. Null when unknown.

  • Type: null or string
  • Default: null

imagePullPolicy for containers using this image. Null leaves it to Kubernetes.

  • Type: null or string
  • Default: "IfNotPresent"

Image repository, registry host included.

  • Type: string
  • Default: "registry.k8s.io/sig-storage/csi-node-driver-registrar"

When this pin was resolved, RFC 3339. Null when unknown.

  • Type: null or string
  • Default: null

Revision of the source the image was built from, when Kix built it. Null for upstream images.

  • Type: null or string
  • Default: null

Image tag. What was asked for.

  • Type: string
  • Default: "v2.13.0"

Container resource requests and limits. Each field keeps its default until set, and null removes a default.

  • Type: submodule

  • Default:

    {
    limits = {
    cpu = "200m";
    memory = "128Mi";
    };
    requests = {
    cpu = "10m";
    memory = "32Mi";
    };
    }

Dynamic resource claims the container uses. Null leaves it unset.

  • Type: null or (list of (submodule))
  • Default: null

nodeDriverRegistrar.resources.claims.*.name

Section titled “nodeDriverRegistrar.resources.claims.*.name”

Name of an entry in the pod’s resourceClaims.

  • Type: string

nodeDriverRegistrar.resources.claims.*.request

Section titled “nodeDriverRegistrar.resources.claims.*.request”

Request within the claim to use. Null uses the whole claim.

  • Type: null or string
  • Default: null

Resource quantities by name.

  • Type: open submodule of attribute set of Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: { }

The cpu quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: "200m"

nodeDriverRegistrar.resources.limits.ephemeral-storage

Section titled “nodeDriverRegistrar.resources.limits.ephemeral-storage”

The ephemeral-storage quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: null

nodeDriverRegistrar.resources.limits.memory

Section titled “nodeDriverRegistrar.resources.limits.memory”

The memory quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: "128Mi"

Resource quantities by name.

  • Type: open submodule of attribute set of Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: { }

nodeDriverRegistrar.resources.requests.cpu

Section titled “nodeDriverRegistrar.resources.requests.cpu”

The cpu quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: "10m"

nodeDriverRegistrar.resources.requests.ephemeral-storage

Section titled “nodeDriverRegistrar.resources.requests.ephemeral-storage”

The ephemeral-storage quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: null

nodeDriverRegistrar.resources.requests.memory

Section titled “nodeDriverRegistrar.resources.requests.memory”

The memory quantity. Null leaves it unset.

  • Type: null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei)
  • Default: "32Mi"

StorageClasses this driver provisions, keyed by class name. parameters takes the driver’s keys (poolname, fstype, recordsize, compression, dedup, thinprovision, encryption, and others); poolname is required. Volumes are node-local, so the default volumeBindingMode is WaitForFirstConsumer.

  • Type: attribute set of (submodule)

  • Default: { }

  • Example:

    {
    zfs = {
    parameters = { poolname = "tank/k8s"; fstype = "zfs"; compression = "lz4"; };
    annotations."storageclass.kubernetes.io/is-default-class" = "true";
    };
    }

storageClasses.<name>.allowVolumeExpansion

Section titled “storageClasses.<name>.allowVolumeExpansion”

Whether a claim of this class may grow. Omitted from the manifest when false, because the apiserver leaves the field unset and rendering false would differ from an adopted class.

  • Type: boolean
  • Default: false

Nodes volumes of this class may be provisioned for. Omitted from the manifest when empty.

  • Type: list of (submodule)
  • Default: [ ]

storageClasses.<name>.allowedTopologies.*.matchLabelExpressions

Section titled “storageClasses.<name>.allowedTopologies.*.matchLabelExpressions”

Label requirements a node must meet for a volume of this class to be provisioned there.

  • Type: list of (submodule)
  • Default: [ ]

storageClasses.<name>.allowedTopologies.*.matchLabelExpressions.*.key

Section titled “storageClasses.<name>.allowedTopologies.*.matchLabelExpressions.*.key”

Node label key, such as topology.kubernetes.io/zone.

  • Type: string

storageClasses.<name>.allowedTopologies.*.matchLabelExpressions.*.values

Section titled “storageClasses.<name>.allowedTopologies.*.matchLabelExpressions.*.values”

Label values the node must carry one of.

  • Type: list of string
  • Default: [ ]

Annotations on the StorageClass. "storageclass.kubernetes.io/is-default-class" = "true" makes it the cluster default, which the apiserver gives every claim that names no class.

  • Type: attribute set of string
  • Default: { }

Labels on the StorageClass.

  • Type: attribute set of string
  • Default: { }

Mount options for volumes of this class. Omitted from the manifest when empty.

  • Type: list of string
  • Default: [ ]

Driver-specific parameters passed to the provisioner. Null values are left out. Omitted from the manifest when empty. The apiserver refuses changes to this field, so changing it means deleting and recreating the class.

  • Type: open submodule of attribute set of string
  • Default: { }

ZFS pool or dataset under which volumes of this class are created. Must exist on every node a volume can land on.

  • Type: string
  • Example: "tank/k8s"

What happens to a volume when its claim is deleted. The apiserver refuses changes to this field, so changing it means deleting and recreating the class.

  • Type: one of "Delete", "Retain"
  • Default: "Delete"

When a volume is provisioned: as soon as the claim exists, or once a pod using it is scheduled. Node-local drivers need WaitForFirstConsumer. The apiserver refuses changes to this field, so changing it means deleting and recreating the class.

  • Type: one of "Immediate", "WaitForFirstConsumer"
  • Default: "Immediate"

VolumeSnapshotClasses for this driver, keyed by class name. Requires a provider of the snapshotController role.

  • Type: attribute set of (submodule)
  • Default: { }
  • Example: { zfs.annotations."snapshot.storage.kubernetes.io/is-default-class" = "true"; }

Annotations on the VolumeSnapshotClass. Setting "snapshot.storage.kubernetes.io/is-default-class" = "true" makes this the default snapshot class for this driver’s volumes.

  • Type: attribute set of string
  • Default: { }

volumeSnapshotClasses.<name>.deletionPolicy

Section titled “volumeSnapshotClasses.<name>.deletionPolicy”

What happens to the underlying snapshot when its VolumeSnapshot is deleted: Delete deletes it, and Retain keeps it.

  • Type: one of "Delete", "Retain"
  • Default: "Delete"

Labels on the VolumeSnapshotClass.

  • Type: attribute set of string
  • Default: { }

Driver-specific snapshot parameters. Omitted from the manifest when empty.

  • Type: attribute set of string
  • Default: { }