CephFilesystem [cephfilesystems.ceph.rook.io/v1]

描述
CephFilesystem represents a Ceph Filesystem
类型
object
必填
metadataspec

规格

属性类型描述
apiVersionstring

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

kindstring

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

metadataObjectMeta

ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.

specobject

FilesystemSpec represents the spec of a file system

statusobject

CephFilesystemStatus represents the status of a Ceph Filesystem

.spec

描述
FilesystemSpec represents the spec of a file system
类型
object
必填
dataPoolsmetadataPoolmetadataServer
属性类型描述
dataPoolsarray

The data pool settings, with optional predefined pool name.

metadataPoolobject

The metadata pool settings

metadataServerobject

The mds pod info

mirroringobject

The mirroring settings

preserveFilesystemOnDeleteboolean

Preserve the fs in the cluster on CephFilesystem CR deletion. Setting this to true automatically implies PreservePoolsOnDelete is true.

preservePoolNamesboolean

Preserve pool names as specified

preservePoolsOnDeleteboolean

Preserve pools on filesystem deletion

statusCheckobject

The mirroring statusCheck

.spec.dataPools

描述
The data pool settings, with optional predefined pool name.
类型
array

.spec.dataPools[]

描述
NamedPoolSpec represents the named ceph pool spec
类型
object
属性类型描述
applicationstring

The application name to set on the pool. Only expected to be set for rgw pools.

compressionModestring

DEPRECATED: use Parameters instead, e.g., Parameters["compression_mode"] = "force" The inline compression mode in Bluestore OSD to set to (options are: none, passive, aggressive, force) Do NOT set a default value for kubebuilder as this will override the Parameters

crushRootstring

The root of the crush hierarchy utilized by the pool

deviceClassstring

The device class the OSD should set to for use in the pool

enableCrushUpdatesboolean

Allow rook operator to change the pool CRUSH tunables once the pool is created

enableRBDStatsboolean

EnableRBDStats is used to enable gathering of statistics for all RBD images in the pool

erasureCodedobject

The erasure code settings

failureDomainstring

The failure domain: osd/host/(region or zone if available) - technically also any type in the crush map

mirroringobject

The mirroring settings

namestring

Name of the pool

parametersobject

Parameters is a list of properties to enable on a given pool

quotasobject

The quota settings

replicatedobject

The replication settings

statusCheckobject

The mirroring statusCheck

.spec.dataPools[].erasureCoded

描述
The erasure code settings
类型
object
必填
codingChunksdataChunks
属性类型描述
algorithmstring

The algorithm for erasure coding. If absent, defaults to the plugin specified in osd_pool_default_erasure_code_profile.

codingChunksinteger

Number of coding chunks per object in an erasure coded storage pool (required for erasure-coded pool type). This is the number of OSDs that can be lost simultaneously before data cannot be recovered.

dataChunksinteger

Number of data chunks per object in an erasure coded storage pool (required for erasure-coded pool type). The number of chunks required to recover an object when any single OSD is lost is the same as dataChunks so be aware that the larger the number of data chunks, the higher the cost of recovery.

.spec.dataPools[].mirroring

描述
The mirroring settings
类型
object
属性类型描述
enabledboolean

Enabled whether this pool is mirrored or not

modestring

Mode is the mirroring mode: pool, image or init-only.

peersobject

Peers represents the peers spec

snapshotSchedulesarray

SnapshotSchedules is the scheduling of snapshot for mirrored images/pools

.spec.dataPools[].mirroring.peers

描述
Peers represents the peers spec
类型
object
属性类型描述
secretNamesarray

SecretNames represents the Kubernetes Secret names to add rbd-mirror or cephfs-mirror peers

.spec.dataPools[].mirroring.peers.secretNames

描述
SecretNames represents the Kubernetes Secret names to add rbd-mirror or cephfs-mirror peers
类型
array

.spec.dataPools[].mirroring.peers.secretNames[]

类型
string

.spec.dataPools[].mirroring.snapshotSchedules

描述
SnapshotSchedules is the scheduling of snapshot for mirrored images/pools
类型
array

.spec.dataPools[].mirroring.snapshotSchedules[]

描述
SnapshotScheduleSpec represents the snapshot scheduling settings of a mirrored pool
类型
object
属性类型描述
intervalstring

Interval represent the periodicity of the snapshot.

pathstring

Path is the path to snapshot, only valid for CephFS

startTimestring

StartTime indicates when to start the snapshot

.spec.dataPools[].parameters

描述
Parameters is a list of properties to enable on a given pool
类型
object

.spec.dataPools[].quotas

描述
The quota settings
类型
object
属性类型描述
maxBytesinteger

MaxBytes represents the quota in bytes Deprecated in favor of MaxSize

maxObjectsinteger

MaxObjects represents the quota in objects

maxSizestring

MaxSize represents the quota in bytes as a string

.spec.dataPools[].replicated

描述
The replication settings
类型
object
必填
size
属性类型描述
hybridStorageobject

HybridStorage represents hybrid storage tier settings

replicasPerFailureDomaininteger

ReplicasPerFailureDomain the number of replica in the specified failure domain

requireSafeReplicaSizeboolean

RequireSafeReplicaSize if false allows you to set replica 1

sizeinteger

Size - Number of copies per object in a replicated storage pool, including the object itself (required for replicated pool type)

subFailureDomainstring

SubFailureDomain the name of the sub-failure domain

targetSizeRationumber

TargetSizeRatio gives a hint (%) to Ceph in terms of expected consumption of the total cluster capacity

.spec.dataPools[].replicated.hybridStorage

描述
HybridStorage represents hybrid storage tier settings
类型
object
必填
primaryDeviceClasssecondaryDeviceClass
属性类型描述
primaryDeviceClassstring

PrimaryDeviceClass represents high performance tier (for example SSD or NVME) for Primary OSD

secondaryDeviceClassstring

SecondaryDeviceClass represents low performance tier (for example HDDs) for remaining OSDs

.spec.dataPools[].statusCheck

描述
The mirroring statusCheck
类型
object
属性类型描述
mirrorobject

HealthCheckSpec represents the health check of an object store bucket

.spec.dataPools[].statusCheck.mirror

描述
HealthCheckSpec represents the health check of an object store bucket
类型
object
属性类型描述
disabledboolean
intervalstring

Interval is the internal in second or minute for the health check to run like 60s for 60 seconds

timeoutstring

.spec.metadataPool

描述
The metadata pool settings
类型
object
属性类型描述
applicationstring

The application name to set on the pool. Only expected to be set for rgw pools.

compressionModestring

DEPRECATED: use Parameters instead, e.g., Parameters["compression_mode"] = "force" The inline compression mode in Bluestore OSD to set to (options are: none, passive, aggressive, force) Do NOT set a default value for kubebuilder as this will override the Parameters

crushRootstring

The root of the crush hierarchy utilized by the pool

deviceClassstring

The device class the OSD should set to for use in the pool

enableCrushUpdatesboolean

Allow rook operator to change the pool CRUSH tunables once the pool is created

enableRBDStatsboolean

EnableRBDStats is used to enable gathering of statistics for all RBD images in the pool

erasureCodedobject

The erasure code settings

failureDomainstring

The failure domain: osd/host/(region or zone if available) - technically also any type in the crush map

mirroringobject

The mirroring settings

namestring

Name of the pool

parametersobject

Parameters is a list of properties to enable on a given pool

quotasobject

The quota settings

replicatedobject

The replication settings

statusCheckobject

The mirroring statusCheck

.spec.metadataPool.erasureCoded

描述
The erasure code settings
类型
object
必填
codingChunksdataChunks
属性类型描述
algorithmstring

The algorithm for erasure coding. If absent, defaults to the plugin specified in osd_pool_default_erasure_code_profile.

codingChunksinteger

Number of coding chunks per object in an erasure coded storage pool (required for erasure-coded pool type). This is the number of OSDs that can be lost simultaneously before data cannot be recovered.

dataChunksinteger

Number of data chunks per object in an erasure coded storage pool (required for erasure-coded pool type). The number of chunks required to recover an object when any single OSD is lost is the same as dataChunks so be aware that the larger the number of data chunks, the higher the cost of recovery.

.spec.metadataPool.mirroring

描述
The mirroring settings
类型
object
属性类型描述
enabledboolean

Enabled whether this pool is mirrored or not

modestring

Mode is the mirroring mode: pool, image or init-only.

peersobject

Peers represents the peers spec

snapshotSchedulesarray

SnapshotSchedules is the scheduling of snapshot for mirrored images/pools

.spec.metadataPool.mirroring.peers

描述
Peers represents the peers spec
类型
object
属性类型描述
secretNamesarray

SecretNames represents the Kubernetes Secret names to add rbd-mirror or cephfs-mirror peers

.spec.metadataPool.mirroring.peers.secretNames

描述
SecretNames represents the Kubernetes Secret names to add rbd-mirror or cephfs-mirror peers
类型
array

.spec.metadataPool.mirroring.peers.secretNames[]

类型
string

.spec.metadataPool.mirroring.snapshotSchedules

描述
SnapshotSchedules is the scheduling of snapshot for mirrored images/pools
类型
array

.spec.metadataPool.mirroring.snapshotSchedules[]

描述
SnapshotScheduleSpec represents the snapshot scheduling settings of a mirrored pool
类型
object
属性类型描述
intervalstring

Interval represent the periodicity of the snapshot.

pathstring

Path is the path to snapshot, only valid for CephFS

startTimestring

StartTime indicates when to start the snapshot

.spec.metadataPool.parameters

描述
Parameters is a list of properties to enable on a given pool
类型
object

.spec.metadataPool.quotas

描述
The quota settings
类型
object
属性类型描述
maxBytesinteger

MaxBytes represents the quota in bytes Deprecated in favor of MaxSize

maxObjectsinteger

MaxObjects represents the quota in objects

maxSizestring

MaxSize represents the quota in bytes as a string

.spec.metadataPool.replicated

描述
The replication settings
类型
object
必填
size
属性类型描述
hybridStorageobject

HybridStorage represents hybrid storage tier settings

replicasPerFailureDomaininteger

ReplicasPerFailureDomain the number of replica in the specified failure domain

requireSafeReplicaSizeboolean

RequireSafeReplicaSize if false allows you to set replica 1

sizeinteger

Size - Number of copies per object in a replicated storage pool, including the object itself (required for replicated pool type)

subFailureDomainstring

SubFailureDomain the name of the sub-failure domain

targetSizeRationumber

TargetSizeRatio gives a hint (%) to Ceph in terms of expected consumption of the total cluster capacity

.spec.metadataPool.replicated.hybridStorage

描述
HybridStorage represents hybrid storage tier settings
类型
object
必填
primaryDeviceClasssecondaryDeviceClass
属性类型描述
primaryDeviceClassstring

PrimaryDeviceClass represents high performance tier (for example SSD or NVME) for Primary OSD

secondaryDeviceClassstring

SecondaryDeviceClass represents low performance tier (for example HDDs) for remaining OSDs

.spec.metadataPool.statusCheck

描述
The mirroring statusCheck
类型
object
属性类型描述
mirrorobject

HealthCheckSpec represents the health check of an object store bucket

.spec.metadataPool.statusCheck.mirror

描述
HealthCheckSpec represents the health check of an object store bucket
类型
object
属性类型描述
disabledboolean
intervalstring

Interval is the internal in second or minute for the health check to run like 60s for 60 seconds

timeoutstring

.spec.metadataServer

描述
The mds pod info
类型
object
必填
activeCount
属性类型描述
activeCountinteger

The number of metadata servers that are active. The remaining servers in the cluster will be in standby mode.

activeStandbyboolean

Whether each active MDS instance will have an active standby with a warm metadata cache for faster failover. If false, standbys will still be available, but will not have a warm metadata cache.

annotationsobject

The annotations-related configuration to add/set on each Pod related object.

cacheMemoryLimitFactornumber

CacheMemoryLimitFactor is the factor applied to the memory limit to determine the MDS cache memory limit. MDS cache memory limit should be set to 50-60% of RAM reserved for the MDS container. MDS uses approximately 125% of the value of mds_cache_memory_limit in RAM. This factor is applied when resources.limits.memory is set.

cacheMemoryRequestFactornumber

CacheMemoryRequestFactor is the factor applied to the memory request to determine the MDS cache memory limit. This factor is applied when resources.requests.memory is set and resources.limits.memory is not set.

labelsobject

The labels-related configuration to add/set on each Pod related object.

livenessProbeobject

ProbeSpec is a wrapper around Probe so it can be enabled or disabled for a Ceph daemon

placementobject
priorityClassNamestring

PriorityClassName sets priority classes on components

resourcesobject

The resource requirements for the mds pods

startupProbeobject

ProbeSpec is a wrapper around Probe so it can be enabled or disabled for a Ceph daemon

.spec.metadataServer.annotations

描述
The annotations-related configuration to add/set on each Pod related object.
类型
object

.spec.metadataServer.labels

描述
The labels-related configuration to add/set on each Pod related object.
类型
object

.spec.metadataServer.livenessProbe

描述
ProbeSpec is a wrapper around Probe so it can be enabled or disabled for a Ceph daemon
类型
object
属性类型描述
disabledboolean

Disabled determines whether probe is disable or not

probeobject

Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.

.spec.metadataServer.livenessProbe.probe

描述
Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.
类型
object
属性类型描述
execobject

Exec specifies a command to execute in the container.

failureThresholdinteger

Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.

grpcobject

GRPC specifies a GRPC HealthCheckRequest.

httpGetobject

HTTPGet specifies an HTTP GET request to perform.

initialDelaySecondsinteger

Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

periodSecondsinteger

How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.

successThresholdinteger

Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.

tcpSocketobject

TCPSocket specifies a connection to a TCP port.

terminationGracePeriodSecondsinteger
timeoutSecondsinteger

Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

.spec.metadataServer.livenessProbe.probe.exec

描述
Exec specifies a command to execute in the container.
类型
object
属性类型描述
commandarray

Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.

.spec.metadataServer.livenessProbe.probe.exec.command

描述
Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
类型
array

.spec.metadataServer.livenessProbe.probe.exec.command[]

类型
string

.spec.metadataServer.livenessProbe.probe.grpc

描述
GRPC specifies a GRPC HealthCheckRequest.
类型
object
必填
port
属性类型描述
portinteger

Port number of the gRPC service. Number must be in the range 1 to 65535.

servicestring

Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).

If this is not specified, the default behavior is defined by gRPC.

.spec.metadataServer.livenessProbe.probe.httpGet

描述
HTTPGet specifies an HTTP GET request to perform.
类型
object
必填
port
属性类型描述
hoststring

Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.

httpHeadersarray

Custom headers to set in the request. HTTP allows repeated headers.

pathstring

Path to access on the HTTP server.

portinteger|string

Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.

schemestring

Scheme to use for connecting to the host. Defaults to HTTP.

.spec.metadataServer.livenessProbe.probe.httpGet.httpHeaders

描述
Custom headers to set in the request. HTTP allows repeated headers.
类型
array

.spec.metadataServer.livenessProbe.probe.httpGet.httpHeaders[]

描述
HTTPHeader describes a custom header to be used in HTTP probes
类型
object
必填
namevalue
属性类型描述
namestring

The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.

valuestring

The header field value

.spec.metadataServer.livenessProbe.probe.tcpSocket

描述
TCPSocket specifies a connection to a TCP port.
类型
object
必填
port
属性类型描述
hoststring

Optional: Host name to connect to, defaults to the pod IP.

portinteger|string

Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.

.spec.metadataServer.placement

类型
object
属性类型描述
nodeAffinityobject
podAffinityobject
podAntiAffinityobject
tolerationsarray
topologySpreadConstraintsarray

.spec.metadataServer.placement.nodeAffinity

类型
object
属性类型描述
preferredDuringSchedulingIgnoredDuringExecutionarray
requiredDuringSchedulingIgnoredDuringExecutionobject

.spec.metadataServer.placement.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution

类型
array

.spec.metadataServer.placement.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[]

类型
object
必填
preferenceweight
属性类型描述
preferenceobject
weightinteger

.spec.metadataServer.placement.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[].preference

类型
object
属性类型描述
matchExpressionsarray
matchFieldsarray

.spec.metadataServer.placement.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[].preference.matchExpressions

类型
array

.spec.metadataServer.placement.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[].preference.matchExpressions[]

类型
object
必填
keyoperator
属性类型描述
keystring
operatorstring
valuesarray

.spec.metadataServer.placement.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[].preference.matchExpressions[].values

类型
array

.spec.metadataServer.placement.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[].preference.matchExpressions[].values[]

类型
string

.spec.metadataServer.placement.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[].preference.matchFields

类型
array

.spec.metadataServer.placement.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[].preference.matchFields[]

类型
object
必填
keyoperator
属性类型描述
keystring
operatorstring
valuesarray

.spec.metadataServer.placement.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[].preference.matchFields[].values

类型
array

.spec.metadataServer.placement.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[].preference.matchFields[].values[]

类型
string

.spec.metadataServer.placement.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution

类型
object
必填
nodeSelectorTerms
属性类型描述
nodeSelectorTermsarray

.spec.metadataServer.placement.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms

类型
array

.spec.metadataServer.placement.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[]

类型
object
属性类型描述
matchExpressionsarray
matchFieldsarray

.spec.metadataServer.placement.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[].matchExpressions

类型
array

.spec.metadataServer.placement.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[].matchExpressions[]

类型
object
必填
keyoperator
属性类型描述
keystring
operatorstring
valuesarray

.spec.metadataServer.placement.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[].matchExpressions[].values

类型
array

.spec.metadataServer.placement.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[].matchExpressions[].values[]

类型
string

.spec.metadataServer.placement.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[].matchFields

类型
array

.spec.metadataServer.placement.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[].matchFields[]

类型
object
必填
keyoperator
属性类型描述
keystring
operatorstring
valuesarray

.spec.metadataServer.placement.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[].matchFields[].values

类型
array

.spec.metadataServer.placement.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[].matchFields[].values[]

类型
string

.spec.metadataServer.placement.podAffinity

类型
object
属性类型描述
preferredDuringSchedulingIgnoredDuringExecutionarray
requiredDuringSchedulingIgnoredDuringExecutionarray

.spec.metadataServer.placement.podAffinity.preferredDuringSchedulingIgnoredDuringExecution

类型
array

.spec.metadataServer.placement.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[]

类型
object
必填
podAffinityTermweight
属性类型描述
podAffinityTermobject
weightinteger

.spec.metadataServer.placement.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm

类型
object
必填
topologyKey
属性类型描述
labelSelectorobject
matchLabelKeysarray
mismatchLabelKeysarray
namespaceSelectorobject
namespacesarray
topologyKeystring

.spec.metadataServer.placement.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.labelSelector

类型
object
属性类型描述
matchExpressionsarray
matchLabelsobject

.spec.metadataServer.placement.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.labelSelector.matchExpressions

类型
array

.spec.metadataServer.placement.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.labelSelector.matchExpressions[]

类型
object
必填
keyoperator
属性类型描述
keystring
operatorstring
valuesarray

.spec.metadataServer.placement.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.labelSelector.matchExpressions[].values

类型
array

.spec.metadataServer.placement.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.labelSelector.matchExpressions[].values[]

类型
string

.spec.metadataServer.placement.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.labelSelector.matchLabels

类型
object

.spec.metadataServer.placement.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.matchLabelKeys

类型
array

.spec.metadataServer.placement.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.matchLabelKeys[]

类型
string

.spec.metadataServer.placement.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.mismatchLabelKeys

类型
array

.spec.metadataServer.placement.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.mismatchLabelKeys[]

类型
string

.spec.metadataServer.placement.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.namespaceSelector

类型
object
属性类型描述
matchExpressionsarray
matchLabelsobject

.spec.metadataServer.placement.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.namespaceSelector.matchExpressions

类型
array

.spec.metadataServer.placement.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.namespaceSelector.matchExpressions[]

类型
object
必填
keyoperator
属性类型描述
keystring
operatorstring
valuesarray

.spec.metadataServer.placement.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.namespaceSelector.matchExpressions[].values

类型
array

.spec.metadataServer.placement.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.namespaceSelector.matchExpressions[].values[]

类型
string

.spec.metadataServer.placement.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.namespaceSelector.matchLabels

类型
object

.spec.metadataServer.placement.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.namespaces

类型
array

.spec.metadataServer.placement.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.namespaces[]

类型
string

.spec.metadataServer.placement.podAffinity.requiredDuringSchedulingIgnoredDuringExecution

类型
array

.spec.metadataServer.placement.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[]

类型
object
必填
topologyKey
属性类型描述
labelSelectorobject
matchLabelKeysarray
mismatchLabelKeysarray
namespaceSelectorobject
namespacesarray
topologyKeystring

.spec.metadataServer.placement.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].labelSelector

类型
object
属性类型描述
matchExpressionsarray
matchLabelsobject

.spec.metadataServer.placement.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].labelSelector.matchExpressions

类型
array

.spec.metadataServer.placement.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].labelSelector.matchExpressions[]

类型
object
必填
keyoperator
属性类型描述
keystring
operatorstring
valuesarray

.spec.metadataServer.placement.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].labelSelector.matchExpressions[].values

类型
array

.spec.metadataServer.placement.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].labelSelector.matchExpressions[].values[]

类型
string

.spec.metadataServer.placement.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].labelSelector.matchLabels

类型
object

.spec.metadataServer.placement.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].matchLabelKeys

类型
array

.spec.metadataServer.placement.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].matchLabelKeys[]

类型
string

.spec.metadataServer.placement.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].mismatchLabelKeys

类型
array

.spec.metadataServer.placement.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].mismatchLabelKeys[]

类型
string

.spec.metadataServer.placement.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].namespaceSelector

类型
object
属性类型描述
matchExpressionsarray
matchLabelsobject

.spec.metadataServer.placement.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].namespaceSelector.matchExpressions

类型
array

.spec.metadataServer.placement.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].namespaceSelector.matchExpressions[]

类型
object
必填
keyoperator
属性类型描述
keystring
operatorstring
valuesarray

.spec.metadataServer.placement.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].namespaceSelector.matchExpressions[].values

类型
array

.spec.metadataServer.placement.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].namespaceSelector.matchExpressions[].values[]

类型
string

.spec.metadataServer.placement.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].namespaceSelector.matchLabels

类型
object

.spec.metadataServer.placement.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].namespaces

类型
array

.spec.metadataServer.placement.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[].namespaces[]

类型
string

.spec.metadataServer.placement.podAntiAffinity

类型
object
属性类型描述
preferredDuringSchedulingIgnoredDuringExecutionarray
requiredDuringSchedulingIgnoredDuringExecutionarray

.spec.metadataServer.placement.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution

类型
array

.spec.metadataServer.placement.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[]

类型
object
必填
podAffinityTermweight
属性类型描述
podAffinityTermobject
weightinteger

.spec.metadataServer.placement.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm

类型
object
必填
topologyKey
属性类型描述
labelSelectorobject
matchLabelKeysarray
mismatchLabelKeysarray
namespaceSelectorobject
namespacesarray
topologyKeystring

.spec.metadataServer.placement.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.labelSelector

类型
object
属性类型描述
matchExpressionsarray
matchLabelsobject

.spec.metadataServer.placement.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.labelSelector.matchExpressions

类型
array

.spec.metadataServer.placement.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.labelSelector.matchExpressions[]

类型
object
必填
keyoperator
属性类型描述
keystring
operatorstring
valuesarray

.spec.metadataServer.placement.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.labelSelector.matchExpressions[].values

类型
array

.spec.metadataServer.placement.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.labelSelector.matchExpressions[].values[]

类型
string

.spec.metadataServer.placement.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.labelSelector.matchLabels

类型
object

.spec.metadataServer.placement.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.matchLabelKeys

类型
array

.spec.metadataServer.placement.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.matchLabelKeys[]

类型
string

.spec.metadataServer.placement.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.mismatchLabelKeys

类型
array

.spec.metadataServer.placement.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.mismatchLabelKeys[]

类型
string

.spec.metadataServer.placement.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.namespaceSelector

类型
object
属性类型描述
matchExpressionsarray
matchLabelsobject

.spec.metadataServer.placement.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.namespaceSelector.matchExpressions

类型
array

.spec.metadataServer.placement.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.namespaceSelector.matchExpressions[]

类型
object
必填
keyoperator
属性类型描述
keystring
operatorstring
valuesarray

.spec.metadataServer.placement.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.namespaceSelector.matchExpressions[].values

类型
array

.spec.metadataServer.placement.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.namespaceSelector.matchExpressions[].values[]

类型
string

.spec.metadataServer.placement.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.namespaceSelector.matchLabels

类型
object

.spec.metadataServer.placement.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.namespaces

类型
array

.spec.metadataServer.placement.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[].podAffinityTerm.namespaces[]

类型
string

.spec.metadataServer.placement.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution

类型
array

.spec.metadataServer.placement.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[]

类型
object
必填
topologyKey
属性类型描述
labelSelectorobject
matchLabelKeysarray
mismatchLabelKeysarray
namespaceSelectorobject
namespacesarray
topologyKeystring

.spec.metadataServer.placement.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].labelSelector

类型
object
属性类型描述
matchExpressionsarray
matchLabelsobject

.spec.metadataServer.placement.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].labelSelector.matchExpressions

类型
array

.spec.metadataServer.placement.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].labelSelector.matchExpressions[]

类型
object
必填
keyoperator
属性类型描述
keystring
operatorstring
valuesarray

.spec.metadataServer.placement.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].labelSelector.matchExpressions[].values

类型
array

.spec.metadataServer.placement.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].labelSelector.matchExpressions[].values[]

类型
string

.spec.metadataServer.placement.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].labelSelector.matchLabels

类型
object

.spec.metadataServer.placement.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].matchLabelKeys

类型
array

.spec.metadataServer.placement.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].matchLabelKeys[]

类型
string

.spec.metadataServer.placement.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].mismatchLabelKeys

类型
array

.spec.metadataServer.placement.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].mismatchLabelKeys[]

类型
string

.spec.metadataServer.placement.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].namespaceSelector

类型
object
属性类型描述
matchExpressionsarray
matchLabelsobject

.spec.metadataServer.placement.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].namespaceSelector.matchExpressions

类型
array

.spec.metadataServer.placement.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].namespaceSelector.matchExpressions[]

类型
object
必填
keyoperator
属性类型描述
keystring
operatorstring
valuesarray

.spec.metadataServer.placement.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].namespaceSelector.matchExpressions[].values

类型
array

.spec.metadataServer.placement.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].namespaceSelector.matchExpressions[].values[]

类型
string

.spec.metadataServer.placement.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].namespaceSelector.matchLabels

类型
object

.spec.metadataServer.placement.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].namespaces

类型
array

.spec.metadataServer.placement.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[].namespaces[]

类型
string

.spec.metadataServer.placement.tolerations

类型
array

.spec.metadataServer.placement.tolerations[]

类型
object
属性类型描述
effectstring
keystring
operatorstring
tolerationSecondsinteger
valuestring

.spec.metadataServer.placement.topologySpreadConstraints

类型
array

.spec.metadataServer.placement.topologySpreadConstraints[]

类型
object
必填
maxSkewtopologyKeywhenUnsatisfiable
属性类型描述
labelSelectorobject
matchLabelKeysarray
maxSkewinteger
minDomainsinteger
nodeAffinityPolicystring
nodeTaintsPolicystring
topologyKeystring
whenUnsatisfiablestring

.spec.metadataServer.placement.topologySpreadConstraints[].labelSelector

类型
object
属性类型描述
matchExpressionsarray
matchLabelsobject

.spec.metadataServer.placement.topologySpreadConstraints[].labelSelector.matchExpressions

类型
array

.spec.metadataServer.placement.topologySpreadConstraints[].labelSelector.matchExpressions[]

类型
object
必填
keyoperator
属性类型描述
keystring
operatorstring
valuesarray

.spec.metadataServer.placement.topologySpreadConstraints[].labelSelector.matchExpressions[].values

类型
array

.spec.metadataServer.placement.topologySpreadConstraints[].labelSelector.matchExpressions[].values[]

类型
string

.spec.metadataServer.placement.topologySpreadConstraints[].labelSelector.matchLabels

类型
object

.spec.metadataServer.placement.topologySpreadConstraints[].matchLabelKeys

类型
array

.spec.metadataServer.placement.topologySpreadConstraints[].matchLabelKeys[]

类型
string

.spec.metadataServer.resources

描述
The resource requirements for the mds pods
类型
object
属性类型描述
claimsarray

Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.

This field depends on the DynamicResourceAllocation feature gate.

This field is immutable. It can only be set for containers.

limitsobject

Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/

requestsobject

Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/

.spec.metadataServer.resources.claims

描述
Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. This field depends on the DynamicResourceAllocation feature gate. This field is immutable. It can only be set for containers.
类型
array

.spec.metadataServer.resources.claims[]

描述
ResourceClaim references one entry in PodSpec.ResourceClaims.
类型
object
必填
name
属性类型描述
namestring

Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.

requeststring

Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request.

.spec.metadataServer.resources.limits

描述
Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
类型
object

.spec.metadataServer.resources.requests

描述
Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
类型
object

.spec.metadataServer.startupProbe

描述
ProbeSpec is a wrapper around Probe so it can be enabled or disabled for a Ceph daemon
类型
object
属性类型描述
disabledboolean

Disabled determines whether probe is disable or not

probeobject

Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.

.spec.metadataServer.startupProbe.probe

描述
Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.
类型
object
属性类型描述
execobject

Exec specifies a command to execute in the container.

failureThresholdinteger

Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.

grpcobject

GRPC specifies a GRPC HealthCheckRequest.

httpGetobject

HTTPGet specifies an HTTP GET request to perform.

initialDelaySecondsinteger

Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

periodSecondsinteger

How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.

successThresholdinteger

Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.

tcpSocketobject

TCPSocket specifies a connection to a TCP port.

terminationGracePeriodSecondsinteger
timeoutSecondsinteger

Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

.spec.metadataServer.startupProbe.probe.exec

描述
Exec specifies a command to execute in the container.
类型
object
属性类型描述
commandarray

Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.

.spec.metadataServer.startupProbe.probe.exec.command

描述
Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
类型
array

.spec.metadataServer.startupProbe.probe.exec.command[]

类型
string

.spec.metadataServer.startupProbe.probe.grpc

描述
GRPC specifies a GRPC HealthCheckRequest.
类型
object
必填
port
属性类型描述
portinteger

Port number of the gRPC service. Number must be in the range 1 to 65535.

servicestring

Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).

If this is not specified, the default behavior is defined by gRPC.

.spec.metadataServer.startupProbe.probe.httpGet

描述
HTTPGet specifies an HTTP GET request to perform.
类型
object
必填
port
属性类型描述
hoststring

Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.

httpHeadersarray

Custom headers to set in the request. HTTP allows repeated headers.

pathstring

Path to access on the HTTP server.

portinteger|string

Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.

schemestring

Scheme to use for connecting to the host. Defaults to HTTP.

.spec.metadataServer.startupProbe.probe.httpGet.httpHeaders

描述
Custom headers to set in the request. HTTP allows repeated headers.
类型
array

.spec.metadataServer.startupProbe.probe.httpGet.httpHeaders[]

描述
HTTPHeader describes a custom header to be used in HTTP probes
类型
object
必填
namevalue
属性类型描述
namestring

The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.

valuestring

The header field value

.spec.metadataServer.startupProbe.probe.tcpSocket

描述
TCPSocket specifies a connection to a TCP port.
类型
object
必填
port
属性类型描述
hoststring

Optional: Host name to connect to, defaults to the pod IP.

portinteger|string

Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.

.spec.mirroring

描述
The mirroring settings
类型
object
属性类型描述
enabledboolean

Enabled whether this filesystem is mirrored or not

peersobject

Peers represents the peers spec

snapshotRetentionarray

Retention is the retention policy for a snapshot schedule One path has exactly one retention policy. A policy can however contain multiple count-time period pairs in order to specify complex retention policies

snapshotSchedulesarray

SnapshotSchedules is the scheduling of snapshot for mirrored filesystems

.spec.mirroring.peers

描述
Peers represents the peers spec
类型
object
属性类型描述
secretNamesarray

SecretNames represents the Kubernetes Secret names to add rbd-mirror or cephfs-mirror peers

.spec.mirroring.peers.secretNames

描述
SecretNames represents the Kubernetes Secret names to add rbd-mirror or cephfs-mirror peers
类型
array

.spec.mirroring.peers.secretNames[]

类型
string

.spec.mirroring.snapshotRetention

描述
Retention is the retention policy for a snapshot schedule One path has exactly one retention policy. A policy can however contain multiple count-time period pairs in order to specify complex retention policies
类型
array

.spec.mirroring.snapshotRetention[]

描述
SnapshotScheduleRetentionSpec is a retention policy
类型
object
属性类型描述
durationstring

Duration represents the retention duration for a snapshot

pathstring

Path is the path to snapshot

.spec.mirroring.snapshotSchedules

描述
SnapshotSchedules is the scheduling of snapshot for mirrored filesystems
类型
array

.spec.mirroring.snapshotSchedules[]

描述
SnapshotScheduleSpec represents the snapshot scheduling settings of a mirrored pool
类型
object
属性类型描述
intervalstring

Interval represent the periodicity of the snapshot.

pathstring

Path is the path to snapshot, only valid for CephFS

startTimestring

StartTime indicates when to start the snapshot

.spec.statusCheck

描述
The mirroring statusCheck
类型
object
属性类型描述
mirrorobject

HealthCheckSpec represents the health check of an object store bucket

.spec.statusCheck.mirror

描述
HealthCheckSpec represents the health check of an object store bucket
类型
object
属性类型描述
disabledboolean
intervalstring

Interval is the internal in second or minute for the health check to run like 60s for 60 seconds

timeoutstring

.status

描述
CephFilesystemStatus represents the status of a Ceph Filesystem
类型
object
属性类型描述
cephxobject
conditionsarray
infoobject

Use only info and put mirroringStatus in it?

mirroringStatusobject

MirroringStatus is the filesystem mirroring status

observedGenerationinteger

ObservedGeneration is the latest generation observed by the controller.

phasestring

ConditionType represent a resource's status

snapshotScheduleStatusobject

FilesystemSnapshotScheduleStatusSpec is the status of the snapshot schedule

.status.cephx

类型
object
属性类型描述
daemonobject

Daemon shows the CephX key status for local Ceph daemons associated with this resources.

.status.cephx.daemon

描述
Daemon shows the CephX key status for local Ceph daemons associated with this resources.
类型
object
属性类型描述
keyCephVersionstring

KeyCephVersion reports the Ceph version that created the current generation's keys. This is same string format as reported by CephCluster.status.version.version to allow them to be compared. E.g., 20.2.0-0. For all newly-created resources, this field set to the version of Ceph that created the key. The special value "Uninitialized" indicates that keys are being created for the first time. An empty string indicates that the version is unknown, as expected in brownfield deployments.

keyGenerationinteger

KeyGeneration represents the CephX key generation for the last successful reconcile. For all newly-created resources, this field is set to 1. When keys are rotated due to any rotation policy, the generation is incremented or updated to the configured policy generation. Generation 0 indicates that keys existed prior to the implementation of key tracking.

.status.conditions

类型
array

.status.conditions[]

描述
Condition represents a status condition on any Rook-Ceph Custom Resource.
类型
object
属性类型描述
lastHeartbeatTimestring
lastTransitionTimestring
messagestring
reasonstring

ConditionReason is a reason for a condition

statusstring
typestring

ConditionType represent a resource's status

.status.info

描述
Use only info and put mirroringStatus in it?
类型
object

.status.mirroringStatus

描述
MirroringStatus is the filesystem mirroring status
类型
object
属性类型描述
daemonsStatusarray

PoolMirroringStatus is the mirroring status of a filesystem

detailsstring

Details contains potential status errors

lastChangedstring

LastChanged is the last time time the status last changed

lastCheckedstring

LastChecked is the last time time the status was checked

.status.mirroringStatus.daemonsStatus

描述
PoolMirroringStatus is the mirroring status of a filesystem
类型
array

.status.mirroringStatus.daemonsStatus[]

描述
FilesystemMirrorInfoSpec is the filesystem mirror status of a given filesystem
类型
object
属性类型描述
daemon_idinteger

DaemonID is the cephfs-mirror name

filesystemsarray

Filesystems is the list of filesystems managed by a given cephfs-mirror daemon

.status.mirroringStatus.daemonsStatus[].filesystems

描述
Filesystems is the list of filesystems managed by a given cephfs-mirror daemon
类型
array

.status.mirroringStatus.daemonsStatus[].filesystems[]

描述
FilesystemsSpec is spec for the mirrored filesystem
类型
object
属性类型描述
directory_countinteger

DirectoryCount is the number of directories in the filesystem

filesystem_idinteger

FilesystemID is the filesystem identifier

namestring

Name is name of the filesystem

peersarray

Peers represents the mirroring peers

.status.mirroringStatus.daemonsStatus[].filesystems[].peers

描述
Peers represents the mirroring peers
类型
array

.status.mirroringStatus.daemonsStatus[].filesystems[].peers[]

描述
FilesystemMirrorInfoPeerSpec is the specification of a filesystem peer mirror
类型
object
属性类型描述
remoteobject

Remote are the remote cluster information

statsobject

Stats are the stat a peer mirror

uuidstring

UUID is the peer unique identifier

.status.mirroringStatus.daemonsStatus[].filesystems[].peers[].remote

描述
Remote are the remote cluster information
类型
object
属性类型描述
client_namestring

ClientName is cephx name

cluster_namestring

ClusterName is the name of the cluster

fs_namestring

FsName is the filesystem name

.status.mirroringStatus.daemonsStatus[].filesystems[].peers[].stats

描述
Stats are the stat a peer mirror
类型
object
属性类型描述
failure_countinteger

FailureCount is the number of mirroring failure

recovery_countinteger

RecoveryCount is the number of recovery attempted after failures

.status.snapshotScheduleStatus

描述
FilesystemSnapshotScheduleStatusSpec is the status of the snapshot schedule
类型
object
属性类型描述
detailsstring

Details contains potential status errors

lastChangedstring

LastChanged is the last time time the status last changed

lastCheckedstring

LastChecked is the last time time the status was checked

snapshotSchedulesarray

SnapshotSchedules is the list of snapshots scheduled

.status.snapshotScheduleStatus.snapshotSchedules

描述
SnapshotSchedules is the list of snapshots scheduled
类型
array

.status.snapshotScheduleStatus.snapshotSchedules[]

描述
FilesystemSnapshotSchedulesSpec is the list of snapshot scheduled for images in a pool
类型
object
属性类型描述
fsstring

Fs is the name of the Ceph Filesystem

pathstring

Path is the path on the filesystem

rel_pathstring
retentionobject

FilesystemSnapshotScheduleStatusRetention is the retention specification for a filesystem snapshot schedule

schedulestring
subvolstring

Subvol is the name of the sub volume

.status.snapshotScheduleStatus.snapshotSchedules[].retention

描述
FilesystemSnapshotScheduleStatusRetention is the retention specification for a filesystem snapshot schedule
类型
object
属性类型描述
activeboolean

Active is whether the scheduled is active or not

createdstring

Created is when the snapshot schedule was created

created_countinteger

CreatedCount is total amount of snapshots

firststring

First is when the first snapshot schedule was taken

laststring

Last is when the last snapshot schedule was taken

last_prunedstring

LastPruned is when the last snapshot schedule was pruned

pruned_countinteger

PrunedCount is total amount of pruned snapshots

startstring

Start is when the snapshot schedule starts

API 端点

可用的 API 端点如下:

  • /apis/ceph.rook.io/v1/namespaces/{namespace}/cephfilesystems
    • DELETE: delete collection of CephFilesystem
    • GET: list objects of kind CephFilesystem
    • POST: create a new CephFilesystem
  • /apis/ceph.rook.io/v1/namespaces/{namespace}/cephfilesystems/{name}
    • DELETE: delete the specified CephFilesystem
    • GET: read the specified CephFilesystem
    • PATCH: partially update the specified CephFilesystem
    • PUT: replace the specified CephFilesystem
  • /apis/ceph.rook.io/v1/namespaces/{namespace}/cephfilesystems/{name}/status
    • GET: read status of the specified CephFilesystem
    • PATCH: partially update status of the specified CephFilesystem
    • PUT: replace status of the specified CephFilesystem

/apis/ceph.rook.io/v1/namespaces/{namespace}/cephfilesystems

HTTP 方法
DELETE
描述
delete collection of CephFilesystem
HTTP 响应
HTTP 状态码响应体
200 - OKStatus schema
401 - UnauthorizedEmpty
HTTP 方法
GET
描述
list objects of kind CephFilesystem
HTTP 响应
HTTP 状态码响应体
200 - OKCephFilesystemList schema
401 - UnauthorizedEmpty
HTTP 方法
POST
描述
create a new CephFilesystem
查询参数
参数类型描述
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
请求体参数
参数类型描述
bodyCephFilesystem schemaapplication/json formatted
HTTP 响应
HTTP 状态码响应体
200 - OKCephFilesystem schema
201 - CreatedCephFilesystem schema
202 - AcceptedCephFilesystem schema
401 - UnauthorizedEmpty

/apis/ceph.rook.io/v1/namespaces/{namespace}/cephfilesystems/{name}

HTTP 方法
DELETE
描述
delete the specified CephFilesystem
查询参数
参数类型描述
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
HTTP 响应
HTTP 状态码响应体
200 - OKStatus schema
202 - AcceptedStatus schema
401 - UnauthorizedEmpty
HTTP 方法
GET
描述
read the specified CephFilesystem
HTTP 响应
HTTP 状态码响应体
200 - OKCephFilesystem schema
401 - UnauthorizedEmpty
HTTP 方法
PATCH
描述
partially update the specified CephFilesystem
查询参数
参数类型描述
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
HTTP 响应
HTTP 状态码响应体
200 - OKCephFilesystem schema
401 - UnauthorizedEmpty
HTTP 方法
PUT
描述
replace the specified CephFilesystem
查询参数
参数类型描述
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
请求体参数
参数类型描述
bodyCephFilesystem schemaapplication/json formatted
HTTP 响应
HTTP 状态码响应体
200 - OKCephFilesystem schema
201 - CreatedCephFilesystem schema
401 - UnauthorizedEmpty

/apis/ceph.rook.io/v1/namespaces/{namespace}/cephfilesystems/{name}/status

HTTP 方法
GET
描述
read status of the specified CephFilesystem
HTTP 响应
HTTP 状态码响应体
200 - OKCephFilesystem schema
401 - UnauthorizedEmpty
HTTP 方法
PATCH
描述
partially update status of the specified CephFilesystem
查询参数
参数类型描述
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
HTTP 响应
HTTP 状态码响应体
200 - OKCephFilesystem schema
401 - UnauthorizedEmpty
HTTP 方法
PUT
描述
replace status of the specified CephFilesystem
查询参数
参数类型描述
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
请求体参数
参数类型描述
bodyCephFilesystem schemaapplication/json formatted
HTTP 响应
HTTP 状态码响应体
200 - OKCephFilesystem schema
201 - CreatedCephFilesystem schema
401 - UnauthorizedEmpty