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

Description
CephFilesystem represents a Ceph Filesystem
Type
object
Required
metadataspec

Specification

PropertyTypeDescription
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

Description
FilesystemSpec represents the spec of a file system
Type
object
Required
dataPoolsmetadataPoolmetadataServer
PropertyTypeDescription
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

Description
The data pool settings, with optional predefined pool name.
Type
array

.spec.dataPools[]

Description
NamedPoolSpec represents the named ceph pool spec
Type
object
PropertyTypeDescription
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

Description
The erasure code settings
Type
object
Required
codingChunksdataChunks
PropertyTypeDescription
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

Description
The mirroring settings
Type
object
PropertyTypeDescription
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

Description
Peers represents the peers spec
Type
object
PropertyTypeDescription
secretNamesarray

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

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

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

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

Type
string

.spec.dataPools[].mirroring.snapshotSchedules

Description
SnapshotSchedules is the scheduling of snapshot for mirrored images/pools
Type
array

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

Description
SnapshotScheduleSpec represents the snapshot scheduling settings of a mirrored pool
Type
object
PropertyTypeDescription
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

Description
Parameters is a list of properties to enable on a given pool
Type
object

.spec.dataPools[].quotas

Description
The quota settings
Type
object
PropertyTypeDescription
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

Description
The replication settings
Type
object
Required
size
PropertyTypeDescription
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

Description
HybridStorage represents hybrid storage tier settings
Type
object
Required
primaryDeviceClasssecondaryDeviceClass
PropertyTypeDescription
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

Description
The mirroring statusCheck
Type
object
PropertyTypeDescription
mirrorobject

HealthCheckSpec represents the health check of an object store bucket

.spec.dataPools[].statusCheck.mirror

Description
HealthCheckSpec represents the health check of an object store bucket
Type
object
PropertyTypeDescription
disabledboolean
intervalstring

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

timeoutstring

.spec.metadataPool

Description
The metadata pool settings
Type
object
PropertyTypeDescription
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

Description
The erasure code settings
Type
object
Required
codingChunksdataChunks
PropertyTypeDescription
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

Description
The mirroring settings
Type
object
PropertyTypeDescription
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

Description
Peers represents the peers spec
Type
object
PropertyTypeDescription
secretNamesarray

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

.spec.metadataPool.mirroring.peers.secretNames

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

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

Type
string

.spec.metadataPool.mirroring.snapshotSchedules

Description
SnapshotSchedules is the scheduling of snapshot for mirrored images/pools
Type
array

.spec.metadataPool.mirroring.snapshotSchedules[]

Description
SnapshotScheduleSpec represents the snapshot scheduling settings of a mirrored pool
Type
object
PropertyTypeDescription
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

Description
Parameters is a list of properties to enable on a given pool
Type
object

.spec.metadataPool.quotas

Description
The quota settings
Type
object
PropertyTypeDescription
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

Description
The replication settings
Type
object
Required
size
PropertyTypeDescription
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

Description
HybridStorage represents hybrid storage tier settings
Type
object
Required
primaryDeviceClasssecondaryDeviceClass
PropertyTypeDescription
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

Description
The mirroring statusCheck
Type
object
PropertyTypeDescription
mirrorobject

HealthCheckSpec represents the health check of an object store bucket

.spec.metadataPool.statusCheck.mirror

Description
HealthCheckSpec represents the health check of an object store bucket
Type
object
PropertyTypeDescription
disabledboolean
intervalstring

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

timeoutstring

.spec.metadataServer

Description
The mds pod info
Type
object
Required
activeCount
PropertyTypeDescription
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

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

.spec.metadataServer.labels

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

.spec.metadataServer.livenessProbe

Description
ProbeSpec is a wrapper around Probe so it can be enabled or disabled for a Ceph daemon
Type
object
PropertyTypeDescription
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

Description
Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.
Type
object
PropertyTypeDescription
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

Description
Exec specifies a command to execute in the container.
Type
object
PropertyTypeDescription
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

Description
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.
Type
array

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

Type
string

.spec.metadataServer.livenessProbe.probe.grpc

Description
GRPC specifies a GRPC HealthCheckRequest.
Type
object
Required
port
PropertyTypeDescription
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

Description
HTTPGet specifies an HTTP GET request to perform.
Type
object
Required
port
PropertyTypeDescription
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.

port

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

Description
Custom headers to set in the request. HTTP allows repeated headers.
Type
array

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

Description
HTTPHeader describes a custom header to be used in HTTP probes
Type
object
Required
namevalue
PropertyTypeDescription
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

Description
TCPSocket specifies a connection to a TCP port.
Type
object
Required
port
PropertyTypeDescription
hoststring

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

port

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

Type
object
PropertyTypeDescription
nodeAffinityobject
podAffinityobject
podAntiAffinityobject
tolerationsarray
topologySpreadConstraintsarray

.spec.metadataServer.placement.nodeAffinity

Type
object
PropertyTypeDescription
preferredDuringSchedulingIgnoredDuringExecutionarray
requiredDuringSchedulingIgnoredDuringExecutionobject

.spec.metadataServer.placement.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution

Type
array

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

Type
object
Required
preferenceweight
PropertyTypeDescription
preferenceobject
weightinteger

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

Type
object
PropertyTypeDescription
matchExpressionsarray
matchFieldsarray

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

Type
array

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

Type
object
Required
keyoperator
PropertyTypeDescription
keystring
operatorstring
valuesarray

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

Type
array

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

Type
string

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

Type
array

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

Type
object
Required
keyoperator
PropertyTypeDescription
keystring
operatorstring
valuesarray

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

Type
array

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

Type
string

.spec.metadataServer.placement.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution

Type
object
Required
nodeSelectorTerms
PropertyTypeDescription
nodeSelectorTermsarray

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

Type
array

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

Type
object
PropertyTypeDescription
matchExpressionsarray
matchFieldsarray

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

Type
array

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

Type
object
Required
keyoperator
PropertyTypeDescription
keystring
operatorstring
valuesarray

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

Type
array

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

Type
string

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

Type
array

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

Type
object
Required
keyoperator
PropertyTypeDescription
keystring
operatorstring
valuesarray

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

Type
array

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

Type
string

.spec.metadataServer.placement.podAffinity

Type
object
PropertyTypeDescription
preferredDuringSchedulingIgnoredDuringExecutionarray
requiredDuringSchedulingIgnoredDuringExecutionarray

.spec.metadataServer.placement.podAffinity.preferredDuringSchedulingIgnoredDuringExecution

Type
array

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

Type
object
Required
podAffinityTermweight
PropertyTypeDescription
podAffinityTermobject
weightinteger

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

Type
object
Required
topologyKey
PropertyTypeDescription
labelSelectorobject
matchLabelKeysarray
mismatchLabelKeysarray
namespaceSelectorobject
namespacesarray
topologyKeystring

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

Type
object
PropertyTypeDescription
matchExpressionsarray
matchLabelsobject

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

Type
array

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

Type
object
Required
keyoperator
PropertyTypeDescription
keystring
operatorstring
valuesarray

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

Type
array

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

Type
string

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

Type
object

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

Type
array

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

Type
string

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

Type
array

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

Type
string

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

Type
object
PropertyTypeDescription
matchExpressionsarray
matchLabelsobject

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

Type
array

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

Type
object
Required
keyoperator
PropertyTypeDescription
keystring
operatorstring
valuesarray

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

Type
array

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

Type
string

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

Type
object

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

Type
array

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

Type
string

.spec.metadataServer.placement.podAffinity.requiredDuringSchedulingIgnoredDuringExecution

Type
array

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

Type
object
Required
topologyKey
PropertyTypeDescription
labelSelectorobject
matchLabelKeysarray
mismatchLabelKeysarray
namespaceSelectorobject
namespacesarray
topologyKeystring

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

Type
object
PropertyTypeDescription
matchExpressionsarray
matchLabelsobject

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

Type
array

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

Type
object
Required
keyoperator
PropertyTypeDescription
keystring
operatorstring
valuesarray

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

Type
array

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

Type
string

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

Type
object

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

Type
array

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

Type
string

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

Type
array

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

Type
string

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

Type
object
PropertyTypeDescription
matchExpressionsarray
matchLabelsobject

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

Type
array

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

Type
object
Required
keyoperator
PropertyTypeDescription
keystring
operatorstring
valuesarray

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

Type
array

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

Type
string

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

Type
object

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

Type
array

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

Type
string

.spec.metadataServer.placement.podAntiAffinity

Type
object
PropertyTypeDescription
preferredDuringSchedulingIgnoredDuringExecutionarray
requiredDuringSchedulingIgnoredDuringExecutionarray

.spec.metadataServer.placement.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution

Type
array

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

Type
object
Required
podAffinityTermweight
PropertyTypeDescription
podAffinityTermobject
weightinteger

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

Type
object
Required
topologyKey
PropertyTypeDescription
labelSelectorobject
matchLabelKeysarray
mismatchLabelKeysarray
namespaceSelectorobject
namespacesarray
topologyKeystring

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

Type
object
PropertyTypeDescription
matchExpressionsarray
matchLabelsobject

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

Type
array

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

Type
object
Required
keyoperator
PropertyTypeDescription
keystring
operatorstring
valuesarray

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

Type
array

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

Type
string

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

Type
object

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

Type
array

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

Type
string

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

Type
array

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

Type
string

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

Type
object
PropertyTypeDescription
matchExpressionsarray
matchLabelsobject

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

Type
array

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

Type
object
Required
keyoperator
PropertyTypeDescription
keystring
operatorstring
valuesarray

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

Type
array

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

Type
string

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

Type
object

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

Type
array

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

Type
string

.spec.metadataServer.placement.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution

Type
array

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

Type
object
Required
topologyKey
PropertyTypeDescription
labelSelectorobject
matchLabelKeysarray
mismatchLabelKeysarray
namespaceSelectorobject
namespacesarray
topologyKeystring

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

Type
object
PropertyTypeDescription
matchExpressionsarray
matchLabelsobject

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

Type
array

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

Type
object
Required
keyoperator
PropertyTypeDescription
keystring
operatorstring
valuesarray

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

Type
array

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

Type
string

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

Type
object

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

Type
array

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

Type
string

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

Type
array

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

Type
string

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

Type
object
PropertyTypeDescription
matchExpressionsarray
matchLabelsobject

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

Type
array

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

Type
object
Required
keyoperator
PropertyTypeDescription
keystring
operatorstring
valuesarray

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

Type
array

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

Type
string

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

Type
object

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

Type
array

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

Type
string

.spec.metadataServer.placement.tolerations

Type
array

.spec.metadataServer.placement.tolerations[]

Type
object
PropertyTypeDescription
effectstring
keystring
operatorstring
tolerationSecondsinteger
valuestring

.spec.metadataServer.placement.topologySpreadConstraints

Type
array

.spec.metadataServer.placement.topologySpreadConstraints[]

Type
object
Required
maxSkewtopologyKeywhenUnsatisfiable
PropertyTypeDescription
labelSelectorobject
matchLabelKeysarray
maxSkewinteger
minDomainsinteger
nodeAffinityPolicystring
nodeTaintsPolicystring
topologyKeystring
whenUnsatisfiablestring

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

Type
object
PropertyTypeDescription
matchExpressionsarray
matchLabelsobject

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

Type
array

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

Type
object
Required
keyoperator
PropertyTypeDescription
keystring
operatorstring
valuesarray

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

Type
array

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

Type
string

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

Type
object

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

Type
array

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

Type
string

.spec.metadataServer.resources

Description
The resource requirements for the mds pods
Type
object
PropertyTypeDescription
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

Description
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.
Type
array

.spec.metadataServer.resources.claims[]

Description
ResourceClaim references one entry in PodSpec.ResourceClaims.
Type
object
Required
name
PropertyTypeDescription
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

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

.spec.metadataServer.resources.requests

Description
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/
Type
object

.spec.metadataServer.startupProbe

Description
ProbeSpec is a wrapper around Probe so it can be enabled or disabled for a Ceph daemon
Type
object
PropertyTypeDescription
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

Description
Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.
Type
object
PropertyTypeDescription
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

Description
Exec specifies a command to execute in the container.
Type
object
PropertyTypeDescription
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

Description
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.
Type
array

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

Type
string

.spec.metadataServer.startupProbe.probe.grpc

Description
GRPC specifies a GRPC HealthCheckRequest.
Type
object
Required
port
PropertyTypeDescription
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

Description
HTTPGet specifies an HTTP GET request to perform.
Type
object
Required
port
PropertyTypeDescription
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.

port

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

Description
Custom headers to set in the request. HTTP allows repeated headers.
Type
array

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

Description
HTTPHeader describes a custom header to be used in HTTP probes
Type
object
Required
namevalue
PropertyTypeDescription
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

Description
TCPSocket specifies a connection to a TCP port.
Type
object
Required
port
PropertyTypeDescription
hoststring

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

port

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

Description
The mirroring settings
Type
object
PropertyTypeDescription
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

Description
Peers represents the peers spec
Type
object
PropertyTypeDescription
secretNamesarray

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

.spec.mirroring.peers.secretNames

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

.spec.mirroring.peers.secretNames[]

Type
string

.spec.mirroring.snapshotRetention

Description
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
Type
array

.spec.mirroring.snapshotRetention[]

Description
SnapshotScheduleRetentionSpec is a retention policy
Type
object
PropertyTypeDescription
durationstring

Duration represents the retention duration for a snapshot

pathstring

Path is the path to snapshot

.spec.mirroring.snapshotSchedules

Description
SnapshotSchedules is the scheduling of snapshot for mirrored filesystems
Type
array

.spec.mirroring.snapshotSchedules[]

Description
SnapshotScheduleSpec represents the snapshot scheduling settings of a mirrored pool
Type
object
PropertyTypeDescription
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

Description
The mirroring statusCheck
Type
object
PropertyTypeDescription
mirrorobject

HealthCheckSpec represents the health check of an object store bucket

.spec.statusCheck.mirror

Description
HealthCheckSpec represents the health check of an object store bucket
Type
object
PropertyTypeDescription
disabledboolean
intervalstring

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

timeoutstring

.status

Description
CephFilesystemStatus represents the status of a Ceph Filesystem
Type
object
PropertyTypeDescription
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

Type
object
PropertyTypeDescription
daemonobject

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

.status.cephx.daemon

Description
Daemon shows the CephX key status for local Ceph daemons associated with this resources.
Type
object
PropertyTypeDescription
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

Type
array

.status.conditions[]

Description
Condition represents a status condition on any Rook-Ceph Custom Resource.
Type
object
PropertyTypeDescription
lastHeartbeatTimestring
lastTransitionTimestring
messagestring
reasonstring

ConditionReason is a reason for a condition

statusstring
typestring

ConditionType represent a resource's status

.status.info

Description
Use only info and put mirroringStatus in it?
Type
object

.status.mirroringStatus

Description
MirroringStatus is the filesystem mirroring status
Type
object
PropertyTypeDescription
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

Description
PoolMirroringStatus is the mirroring status of a filesystem
Type
array

.status.mirroringStatus.daemonsStatus[]

Description
FilesystemMirrorInfoSpec is the filesystem mirror status of a given filesystem
Type
object
PropertyTypeDescription
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

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

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

Description
FilesystemsSpec is spec for the mirrored filesystem
Type
object
PropertyTypeDescription
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

Description
Peers represents the mirroring peers
Type
array

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

Description
FilesystemMirrorInfoPeerSpec is the specification of a filesystem peer mirror
Type
object
PropertyTypeDescription
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

Description
Remote are the remote cluster information
Type
object
PropertyTypeDescription
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

Description
Stats are the stat a peer mirror
Type
object
PropertyTypeDescription
failure_countinteger

FailureCount is the number of mirroring failure

recovery_countinteger

RecoveryCount is the number of recovery attempted after failures

.status.snapshotScheduleStatus

Description
FilesystemSnapshotScheduleStatusSpec is the status of the snapshot schedule
Type
object
PropertyTypeDescription
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

Description
SnapshotSchedules is the list of snapshots scheduled
Type
array

.status.snapshotScheduleStatus.snapshotSchedules[]

Description
FilesystemSnapshotSchedulesSpec is the list of snapshot scheduled for images in a pool
Type
object
PropertyTypeDescription
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

Description
FilesystemSnapshotScheduleStatusRetention is the retention specification for a filesystem snapshot schedule
Type
object
PropertyTypeDescription
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 Endpoints

The following API endpoints are available:

  • /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 method
DELETE
Description
delete collection of CephFilesystem
HTTP responses
HTTP codeResponse body
200 - OKStatus schema
401 - UnauthorizedEmpty
HTTP method
GET
Description
list objects of kind CephFilesystem
HTTP responses
HTTP codeResponse body
200 - OKCephFilesystemList schema
401 - UnauthorizedEmpty
HTTP method
POST
Description
create a new CephFilesystem
Query parameters
ParameterTypeDescription
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.
Body parameters
ParameterTypeDescription
bodyCephFilesystem schemaapplication/json formatted
HTTP responses
HTTP codeResponse body
200 - OKCephFilesystem schema
201 - CreatedCephFilesystem schema
202 - AcceptedCephFilesystem schema
401 - UnauthorizedEmpty

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

HTTP method
DELETE
Description
delete the specified CephFilesystem
Query parameters
ParameterTypeDescription
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 responses
HTTP codeResponse body
200 - OKStatus schema
202 - AcceptedStatus schema
401 - UnauthorizedEmpty
HTTP method
GET
Description
read the specified CephFilesystem
HTTP responses
HTTP codeResponse body
200 - OKCephFilesystem schema
401 - UnauthorizedEmpty
HTTP method
PATCH
Description
partially update the specified CephFilesystem
Query parameters
ParameterTypeDescription
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 responses
HTTP codeResponse body
200 - OKCephFilesystem schema
401 - UnauthorizedEmpty
HTTP method
PUT
Description
replace the specified CephFilesystem
Query parameters
ParameterTypeDescription
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.
Body parameters
ParameterTypeDescription
bodyCephFilesystem schemaapplication/json formatted
HTTP responses
HTTP codeResponse body
200 - OKCephFilesystem schema
201 - CreatedCephFilesystem schema
401 - UnauthorizedEmpty

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

HTTP method
GET
Description
read status of the specified CephFilesystem
HTTP responses
HTTP codeResponse body
200 - OKCephFilesystem schema
401 - UnauthorizedEmpty
HTTP method
PATCH
Description
partially update status of the specified CephFilesystem
Query parameters
ParameterTypeDescription
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 responses
HTTP codeResponse body
200 - OKCephFilesystem schema
401 - UnauthorizedEmpty
HTTP method
PUT
Description
replace status of the specified CephFilesystem
Query parameters
ParameterTypeDescription
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.
Body parameters
ParameterTypeDescription
bodyCephFilesystem schemaapplication/json formatted
HTTP responses
HTTP codeResponse body
200 - OKCephFilesystem schema
201 - CreatedCephFilesystem schema
401 - UnauthorizedEmpty