TalosStorage

This page is generated from the CRD schema in config/crd/bases (make docs-reference). Do not edit it.

TalosStorage is the Schema for the talosstorages API

Groupichor.maesh.dev
KindTalosStorage (list kind TalosStorageList)
Resourcetalosstorages
Short nameststo
ScopeNamespaced

v1alpha1

Version v1alpha1: has a status subresource.

spec

FieldTypeRequiredDescription
specobjectyesspec defines the desired state of TalosStorage
spec.clusterRefobjectyesclusterRef names the TalosCluster this storage configuration applies to.
spec.clusterRef.namestringnoName of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names Default: "".
spec.diskPresetstringyesdiskPreset names which storage system this configuration prepares Talos for. Each preset fixes the required system extensions, the UserVolumeConfig shape, and the kubelet mount that preset needs; see pkg/storage. Allowed values: longhorn-v1.
spec.diskSelectorstringyesdiskSelector is a Talos disk-selector CEL expression (the same language provisioning.diskSelector.match uses in a VolumeConfig/UserVolumeConfig/RawVolumeConfig document) choosing which disk on each selected node is handed to the storage system.
spec.evacuationTimeoutstringnoevacuationTimeout bounds how long the node-operation hook (layer 4) waits for replicas to evacuate a node before pausing the operation rather than proceeding. Unset means the hook's own default.
spec.nodesobjectyesnodes selects which nodes get storage prepared, by their Kubernetes Node labels.
spec.nodes.matchExpressions[]objectnomatchExpressions is a list of label selector requirements. The requirements are ANDed.
spec.nodes.matchExpressions[].keystringyeskey is the label key that the selector applies to.
spec.nodes.matchExpressions[].operatorstringyesoperator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
spec.nodes.matchExpressions[].values[]stringnovalues is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
spec.nodes.matchLabelsmap[string]stringnomatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.

status

FieldTypeRequiredDescription
statusobjectnostatus defines the observed state of TalosStorage
status.conditions[]objectnoconditions represent the current state of the TalosStorage resource, kstatus-compatible. Ready reports whether the Talos side (layer 1) is prepared, so Argo CD's sync wave can hold the storage system's Application until this is true (design section "Storage").
status.conditions[].lastTransitionTimestring (date-time)yeslastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
status.conditions[].messagestringyesmessage is a human readable message indicating details about the transition. This may be an empty string.
status.conditions[].observedGenerationintegernoobservedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
status.conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
status.conditions[].statusstringyesstatus of the condition, one of True, False, Unknown. Allowed values: True, False, Unknown.
status.conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
status.observedGenerationintegernoobservedGeneration is the most recent generation the controller has reconciled.

Search the docs

Search pages and headings