longhorn.io / v1beta2 / Replica
- string
.apiVersion
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
- string
.kind
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
- object
.metadata
- object
.spec
ReplicaSpec defines the desired state of the Longhorn replica
- boolean
.spec .active
- string
.spec .backingImage
- string
.spec .dataDirectoryName
- string
.spec .dataEngine
- string
.spec .desireState
- string
.spec .diskID
- string
.spec .diskPath
- string
.spec .engineName
- boolean
.spec .evictionRequested
- string
.spec .failedAt
FailedAt is set when a running replica fails or when a running engine is unable to use a replica for any reason. FailedAt indicates the time the failure occurred. When FailedAt is set, a replica is likely to have useful (though possibly stale) data. A replica with FailedAt set must be rebuilt from a non-failed replica (or it can be used in a salvage if all replicas are failed). FailedAt is cleared before a rebuild or salvage. FailedAt may be later than the corresponding entry in an engine’s replicaTransitionTimeMap because it is set when the volume controller acknowledges the change.
- string
.spec .hardNodeAffinity
- string
.spec .healthyAt
HealthyAt is set the first time a replica becomes read/write in an engine after creation or rebuild. HealthyAt indicates the time the last successful rebuild occurred. When HealthyAt is set, a replica is likely to have useful (though possibly stale) data. HealthyAt is cleared before a rebuild. HealthyAt may be later than the corresponding entry in an engine’s replicaTransitionTimeMap because it is set when the volume controller acknowledges the change.
- string
.spec .image
- string
.spec .lastFailedAt
LastFailedAt is always set at the same time as FailedAt. Unlike FailedAt, LastFailedAt is never cleared. LastFailedAt is not a reliable indicator of the state of a replica’s data. For example, a replica with LastFailedAt may already be healthy and in use again. However, because it is never cleared, it can be compared to LastHealthyAt to help prevent dangerous replica deletion in some corner cases. LastFailedAt may be later than the corresponding entry in an engine’s replicaTransitionTimeMap because it is set when the volume controller acknowledges the change.
- string
.spec .lastHealthyAt
LastHealthyAt is set every time a replica becomes read/write in an engine. Unlike HealthyAt, LastHealthyAt is never cleared. LastHealthyAt is not a reliable indicator of the state of a replica’s data. For example, a replica with LastHealthyAt set may be in the middle of a rebuild. However, because it is never cleared, it can be compared to LastFailedAt to help prevent dangerous replica deletion in some corner cases. LastHealthyAt may be later than the corresponding entry in an engine’s replicaTransitionTimeMap because it is set when the volume controller acknowledges the change.
- boolean
.spec .logRequested
- string
.spec .migrationEngineName
MigrationEngineName is indicating the migrating engine which current connected to this replica. This is only used for live migration of v2 data engine
- string
.spec .nodeID
- integer
.spec .rebuildRetryCount
- boolean
.spec .revisionCounterDisabled
- boolean
.spec .salvageRequested
- integer
.spec .snapshotMaxCount
- string
.spec .snapshotMaxSize
- boolean
.spec .unmapMarkDiskChainRemovedEnabled
- string
.spec .volumeName
- string
.spec .volumeSize
- object
.status
ReplicaStatus defines the observed state of the Longhorn replica
- array | null
.status .conditions
- string
.status .currentImage
- string
.status .currentState
- boolean
.status .evictionRequested
Deprecated: Replaced by field
spec.evictionRequested
. - string
.status .instanceManagerName
- string
.status .ip
- boolean
.status .logFetched
- string
.status .ownerID
- integer
.status .port
- boolean
.status .salvageExecuted
- boolean
.status .started
- string
.status .storageIP
- integer
.status .ublkID