Skip to search

MiroirNode

miroir.home-operations.com / v1alpha1

apiVersion: miroir.home-operations.com/v1alpha1 kind: MiroirNode metadata: name: example
View raw schema
apiVersion string
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind string
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata object
spec object
MiroirNodeSpec records which pools a storage node runs.
pools []object
Pools lists this node's storage pools, one entry per pool.
backend string
Backend is the storage implementation backing this pool.
enum: lvmthin, zfs, loopfile
name string required
Name is the pool name from the node map ("default" for the pre-multi-pool single pool).
status object
MiroirNodeStatus is the pool capacity this node's agent publishes for capacity-aware placement and overcommit guardrails.
allocatedBytes integer
AllocatedBytes is the pre-multi-pool twin of CapacityBytes. Deprecated: superseded by Pools.
format: int64
capacityBytes integer
CapacityBytes is the pre-multi-pool single-pool figure. Kept in the schema so a mixed-version rollout (new controller, old agent) does not prune the old agent's stats into "fresh but empty" — Pool() folds these into the default pool entry. Never written by current agents; drop after one release. Deprecated: superseded by Pools.
format: int64
conditions []object
Conditions follow the standard Kubernetes condition conventions; PoolUsageHigh fires at the 80% data/metadata warn line (any pool).
lastTransitionTime string required
lastTransitionTime 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.
format: date-time
message string required
message is a human readable message indicating details about the transition. This may be an empty string.
maxLength: 32768
observedGeneration integer
observedGeneration 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.
format: int64
minimum: 0
reason string required
reason 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.
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
minLength: 1
maxLength: 1024
status string required
status of the condition, one of True, False, Unknown.
enum: True, False, Unknown
type string required
type of condition in CamelCase or in foo.example.com/CamelCase.
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])$
maxLength: 316
drbdVersion string
DRBDVersion is the DRBD kernel module version the agent probed at startup (e.g. "9.3.2"); absent on nodes without the module. The module ships with the host, not the agent image, so this is the per-node view that makes mixed clusters visible mid-upgrade.
metaUsedPercent integer
MetaUsedPercent is the pre-multi-pool twin of CapacityBytes. Deprecated: superseded by Pools.
format: int32
observedAt string
ObservedAt is when these figures were last sampled; the controller ignores stats older than a few poll intervals as unknown.
format: date-time
pools []object
Pools carries one capacity entry per storage pool on this node.
allocatedBytes integer
AllocatedBytes is the pool capacity currently used (all tenants).
format: int64
capacityBytes integer
CapacityBytes is the total size of this node-local pool.
format: int64
message string
Message carries the last stats-sampling error for this pool, if any — a pool whose backend cannot be read stays visible instead of silently dropping out of the list.
metaUsedPercent integer
MetaUsedPercent is the dm-thin metadata usage (lvmthin only; 0 otherwise), rounded — exhausting metadata wedges the pool independently of data space.
format: int32
name string required
Name is the pool name from the node map.

No matches. Try .spec.pools for an exact path