CephObjectStore [cephobjectstores.ceph.rook.io/v1]

描述
CephObjectStore represents a Ceph Object Store Gateway
类型
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

ObjectStoreSpec represent the spec of a pool

statusobject

ObjectStoreStatus represents the status of a Ceph Object Store resource

.spec

描述
ObjectStoreSpec represent the spec of a pool
类型
object
属性类型描述
allowUsersInNamespacesarray

The list of allowed namespaces in addition to the object store namespace where ceph object store users may be created. Specify "*" to allow all namespaces, otherwise list individual namespaces that are to be allowed. This is useful for applications that need object store credentials to be created in their own namespace, where neither OBCs nor COSI is being used to create buckets. The default is empty.

authobject

The authentication configuration

dataPoolobject

The data pool settings

defaultRealmboolean

Set this realm as the default in Ceph. Only one realm should be default. Do not set this true on more than one CephObjectStore. This may not be set when zone is also specified; in this case, the realm referenced by the zone's zonegroup should configure defaulting behavior.

gatewayobject

The rgw pod info

healthCheckobject

The RGW health probes

hostingobject

Hosting settings for the object store. A common use case for hosting configuration is to inform Rook of endpoints that support DNS wildcards, which in turn allows virtual host-style bucket addressing.

metadataPoolobject

The metadata pool settings

preservePoolsOnDeleteboolean

Preserve pools on object store deletion

protocolsobject

The protocol specification

securityobject

Security represents security settings

sharedPoolsobject

The pool information when configuring RADOS namespaces in existing pools.

zoneobject

The multisite info

.spec.allowUsersInNamespaces

描述
The list of allowed namespaces in addition to the object store namespace where ceph object store users may be created. Specify "*" to allow all namespaces, otherwise list individual namespaces that are to be allowed. This is useful for applications that need object store credentials to be created in their own namespace, where neither OBCs nor COSI is being used to create buckets. The default is empty.
类型
array

.spec.allowUsersInNamespaces[]

类型
string

.spec.auth

描述
The authentication configuration
类型
object
属性类型描述
keystoneobject

The spec for Keystone

.spec.auth.keystone

描述
The spec for Keystone
类型
object
必填
acceptedRolesserviceUserSecretNameurl
属性类型描述
acceptedRolesarray

The roles requires to serve requests.

implicitTenantsstring

Create new users in their own tenants of the same name. Possible values are true, false, swift and s3. The latter have the effect of splitting the identity space such that only the indicated protocol will use implicit tenants.

revocationIntervalinteger

The number of seconds between token revocation checks.

serviceUserSecretNamestring

The name of the secret containing the credentials for the service user account used by RGW. It has to be in the same namespace as the object store resource.

tokenCacheSizeinteger

The maximum number of entries in each Keystone token cache.

urlstring

The URL for the Keystone server.

.spec.auth.keystone.acceptedRoles

描述
The roles requires to serve requests.
类型
array

.spec.auth.keystone.acceptedRoles[]

类型
string

.spec.dataPool

描述
The data 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

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.dataPool.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.dataPool.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.dataPool.mirroring.peers

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

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

.spec.dataPool.mirroring.peers.secretNames

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

.spec.dataPool.mirroring.peers.secretNames[]

类型
string

.spec.dataPool.mirroring.snapshotSchedules

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

.spec.dataPool.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.dataPool.parameters

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

.spec.dataPool.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.dataPool.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.dataPool.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.dataPool.statusCheck

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

HealthCheckSpec represents the health check of an object store bucket

.spec.dataPool.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.gateway

描述
The rgw pod info
类型
object
属性类型描述
additionalVolumeMountsarray

AdditionalVolumeMounts allows additional volumes to be mounted to the RGW pod. The root directory for each additional volume mount is /var/rgw. Example: for an additional mount at subPath ldap, mounted from a secret that has key bindpass.secret, the file would reside at /var/rgw/ldap/bindpass.secret.

annotationsobject

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

caBundleRefstring

The name of the secret that stores custom ca-bundle with root and intermediate certificates.

dashboardEnabledboolean

Whether rgw dashboard is enabled for the rgw daemon. If not set, the rgw dashboard will be enabled.

disableMultisiteSyncTrafficboolean

DisableMultisiteSyncTraffic, when true, prevents this object store's gateways from transmitting multisite replication data. Note that this value does not affect whether gateways receive multisite replication traffic: see ObjectZone.spec.customEndpoints for that. If false or unset, this object store's gateways will be able to transmit multisite replication data.

externalRgwEndpointsarray

ExternalRgwEndpoints points to external RGW endpoint(s). Multiple endpoints can be given, but for stability of ObjectBucketClaims, we highly recommend that users give only a single external RGW endpoint that is a load balancer that sends requests to the multiple RGWs.

hostNetworkboolean

Whether host networking is enabled for the rgw daemon. If not set, the network settings from the cluster CR will be applied.

instancesinteger

The number of pods in the rgw replicaset.

labelsobject

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

opsLogSidecarobject

Enable enhanced operation Logs for S3 in a sidecar named ops-log

placementobject
portinteger

The port the rgw service will be listening on (http)

priorityClassNamestring

PriorityClassName sets priority classes on the rgw pods

readAffinityobject

ReadAffinity defines the RGW read affinity policy to optimize the read requests for the RGW clients Note: Only supported from Ceph Tentacle (v20)

resourcesobject

The resource requirements for the rgw pods

rgwCommandFlagsobject

RgwCommandFlags sets Ceph RGW config values for the gateway clients that serve this object store. Values are modified at RGW startup, resulting in RGW pod restarts. This feature is intended for advanced users. It allows breaking configurations to be easily applied. Use with caution.

rgwConfigobject

RgwConfig sets Ceph RGW config values for the gateway clients that serve this object store. Values are modified at runtime without RGW restart. This feature is intended for advanced users. It allows breaking configurations to be easily applied. Use with caution.

rgwConfigFromSecretobject

RgwConfigFromSecret works exactly like RgwConfig but takes config value from Secret Key reference. Values are modified at runtime without RGW restart. This feature is intended for advanced users. It allows breaking configurations to be easily applied. Use with caution.

securePortinteger

The port the rgw service will be listening on (https)

serviceobject

The configuration related to add/set on each rgw service.

sslCertificateRefstring

The name of the secret that stores the ssl certificate for secure rgw connections

.spec.gateway.additionalVolumeMounts

描述
AdditionalVolumeMounts allows additional volumes to be mounted to the RGW pod. The root directory for each additional volume mount is `/var/rgw`. Example: for an additional mount at subPath `ldap`, mounted from a secret that has key `bindpass.secret`, the file would reside at `/var/rgw/ldap/bindpass.secret`.
类型
array

.spec.gateway.additionalVolumeMounts[]

描述
AdditionalVolumeMount represents the source from where additional files in pod containers should come from and what subdirectory they are made available in.
类型
object
必填
subPathvolumeSource
属性类型描述
subPathstring

SubPath defines the sub-path (subdirectory) of the directory root where the volumeSource will be mounted. All files/keys in the volume source's volume will be mounted to the subdirectory. This is not the same as the Kubernetes subPath volume mount option. Each subPath definition must be unique and must not contain ':'.

volumeSourceobject

.spec.gateway.additionalVolumeMounts[].volumeSource

类型
object
属性类型描述
configMapobject
emptyDirobject
hostPathobject
persistentVolumeClaimobject
projectedobject
secretobject

.spec.gateway.additionalVolumeMounts[].volumeSource.configMap

类型
object
属性类型描述
defaultModeinteger
itemsarray
namestring
optionalboolean

.spec.gateway.additionalVolumeMounts[].volumeSource.configMap.items

类型
array

.spec.gateway.additionalVolumeMounts[].volumeSource.configMap.items[]

类型
object
必填
keypath
属性类型描述
keystring
modeinteger
pathstring

.spec.gateway.additionalVolumeMounts[].volumeSource.emptyDir

类型
object
属性类型描述
mediumstring
sizeLimitinteger|string

.spec.gateway.additionalVolumeMounts[].volumeSource.hostPath

类型
object
必填
path
属性类型描述
pathstring
typestring

.spec.gateway.additionalVolumeMounts[].volumeSource.persistentVolumeClaim

类型
object
必填
claimName
属性类型描述
claimNamestring
readOnlyboolean

.spec.gateway.additionalVolumeMounts[].volumeSource.projected

类型
object
属性类型描述
defaultModeinteger
sourcesarray

.spec.gateway.additionalVolumeMounts[].volumeSource.projected.sources

类型
array

.spec.gateway.additionalVolumeMounts[].volumeSource.projected.sources[]

类型
object
属性类型描述
clusterTrustBundleobject
configMapobject
downwardAPIobject
podCertificateobject
secretobject
serviceAccountTokenobject

.spec.gateway.additionalVolumeMounts[].volumeSource.projected.sources[].clusterTrustBundle

类型
object
必填
path
属性类型描述
labelSelectorobject
namestring
optionalboolean
pathstring
signerNamestring

.spec.gateway.additionalVolumeMounts[].volumeSource.projected.sources[].clusterTrustBundle.labelSelector

类型
object
属性类型描述
matchExpressionsarray
matchLabelsobject

.spec.gateway.additionalVolumeMounts[].volumeSource.projected.sources[].clusterTrustBundle.labelSelector.matchExpressions

类型
array

.spec.gateway.additionalVolumeMounts[].volumeSource.projected.sources[].clusterTrustBundle.labelSelector.matchExpressions[]

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

.spec.gateway.additionalVolumeMounts[].volumeSource.projected.sources[].clusterTrustBundle.labelSelector.matchExpressions[].values

类型
array

.spec.gateway.additionalVolumeMounts[].volumeSource.projected.sources[].clusterTrustBundle.labelSelector.matchExpressions[].values[]

类型
string

.spec.gateway.additionalVolumeMounts[].volumeSource.projected.sources[].clusterTrustBundle.labelSelector.matchLabels

类型
object

.spec.gateway.additionalVolumeMounts[].volumeSource.projected.sources[].configMap

类型
object
属性类型描述
itemsarray
namestring
optionalboolean

.spec.gateway.additionalVolumeMounts[].volumeSource.projected.sources[].configMap.items

类型
array

.spec.gateway.additionalVolumeMounts[].volumeSource.projected.sources[].configMap.items[]

类型
object
必填
keypath
属性类型描述
keystring
modeinteger
pathstring

.spec.gateway.additionalVolumeMounts[].volumeSource.projected.sources[].downwardAPI

类型
object
属性类型描述
itemsarray

.spec.gateway.additionalVolumeMounts[].volumeSource.projected.sources[].downwardAPI.items

类型
array

.spec.gateway.additionalVolumeMounts[].volumeSource.projected.sources[].downwardAPI.items[]

类型
object
必填
path
属性类型描述
fieldRefobject
modeinteger
pathstring
resourceFieldRefobject

.spec.gateway.additionalVolumeMounts[].volumeSource.projected.sources[].downwardAPI.items[].fieldRef

类型
object
必填
fieldPath
属性类型描述
apiVersionstring
fieldPathstring

.spec.gateway.additionalVolumeMounts[].volumeSource.projected.sources[].downwardAPI.items[].resourceFieldRef

类型
object
必填
resource
属性类型描述
containerNamestring
divisorinteger|string
resourcestring

.spec.gateway.additionalVolumeMounts[].volumeSource.projected.sources[].podCertificate

类型
object
必填
keyTypesignerName
属性类型描述
certificateChainPathstring
credentialBundlePathstring
keyPathstring
keyTypestring
maxExpirationSecondsinteger
signerNamestring
userAnnotationsobject

.spec.gateway.additionalVolumeMounts[].volumeSource.projected.sources[].podCertificate.userAnnotations

类型
object

.spec.gateway.additionalVolumeMounts[].volumeSource.projected.sources[].secret

类型
object
属性类型描述
itemsarray
namestring
optionalboolean

.spec.gateway.additionalVolumeMounts[].volumeSource.projected.sources[].secret.items

类型
array

.spec.gateway.additionalVolumeMounts[].volumeSource.projected.sources[].secret.items[]

类型
object
必填
keypath
属性类型描述
keystring
modeinteger
pathstring

.spec.gateway.additionalVolumeMounts[].volumeSource.projected.sources[].serviceAccountToken

类型
object
必填
path
属性类型描述
audiencestring
expirationSecondsinteger
pathstring

.spec.gateway.additionalVolumeMounts[].volumeSource.secret

类型
object
属性类型描述
defaultModeinteger
itemsarray
optionalboolean
secretNamestring

.spec.gateway.additionalVolumeMounts[].volumeSource.secret.items

类型
array

.spec.gateway.additionalVolumeMounts[].volumeSource.secret.items[]

类型
object
必填
keypath
属性类型描述
keystring
modeinteger
pathstring

.spec.gateway.annotations

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

.spec.gateway.externalRgwEndpoints

描述
ExternalRgwEndpoints points to external RGW endpoint(s). Multiple endpoints can be given, but for stability of ObjectBucketClaims, we highly recommend that users give only a single external RGW endpoint that is a load balancer that sends requests to the multiple RGWs.
类型
array

.spec.gateway.externalRgwEndpoints[]

描述
EndpointAddress is a tuple that describes a single IP address or host name. This is a subset of Kubernetes's v1.EndpointAddress.
类型
object
属性类型描述
hostnamestring

The DNS-addressable Hostname of this endpoint. This field will be preferred over IP if both are given.

ipstring

The IP of this endpoint. As a legacy behavior, this supports being given a DNS-addressable hostname as well.

.spec.gateway.labels

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

.spec.gateway.opsLogSidecar

描述
Enable enhanced operation Logs for S3 in a sidecar named ops-log
类型
object
属性类型描述
resourcesobject

Resources represents the way to specify resource requirements for the ops-log sidecar

.spec.gateway.opsLogSidecar.resources

描述
Resources represents the way to specify resource requirements for the ops-log sidecar
类型
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.gateway.opsLogSidecar.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.gateway.opsLogSidecar.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.gateway.opsLogSidecar.resources.limits

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

.spec.gateway.opsLogSidecar.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.gateway.placement

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

.spec.gateway.placement.nodeAffinity

类型
object
属性类型描述
preferredDuringSchedulingIgnoredDuringExecutionarray
requiredDuringSchedulingIgnoredDuringExecutionobject

.spec.gateway.placement.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution

类型
array

.spec.gateway.placement.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution[]

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

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

类型
object
属性类型描述
matchExpressionsarray
matchFieldsarray

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

类型
array

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

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

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

类型
array

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

类型
string

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

类型
array

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

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

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

类型
array

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

类型
string

.spec.gateway.placement.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution

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

.spec.gateway.placement.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms

类型
array

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

类型
object
属性类型描述
matchExpressionsarray
matchFieldsarray

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

类型
array

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

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

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

类型
array

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

类型
string

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

类型
array

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

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

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

类型
array

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

类型
string

.spec.gateway.placement.podAffinity

类型
object
属性类型描述
preferredDuringSchedulingIgnoredDuringExecutionarray
requiredDuringSchedulingIgnoredDuringExecutionarray

.spec.gateway.placement.podAffinity.preferredDuringSchedulingIgnoredDuringExecution

类型
array

.spec.gateway.placement.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[]

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

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

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

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

类型
object
属性类型描述
matchExpressionsarray
matchLabelsobject

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

类型
array

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

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

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

类型
array

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

类型
string

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

类型
object

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

类型
array

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

类型
string

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

类型
array

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

类型
string

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

类型
object
属性类型描述
matchExpressionsarray
matchLabelsobject

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

类型
array

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

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

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

类型
array

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

类型
string

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

类型
object

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

类型
array

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

类型
string

.spec.gateway.placement.podAffinity.requiredDuringSchedulingIgnoredDuringExecution

类型
array

.spec.gateway.placement.podAffinity.requiredDuringSchedulingIgnoredDuringExecution[]

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

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

类型
object
属性类型描述
matchExpressionsarray
matchLabelsobject

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

类型
array

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

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

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

类型
array

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

类型
string

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

类型
object

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

类型
array

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

类型
string

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

类型
array

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

类型
string

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

类型
object
属性类型描述
matchExpressionsarray
matchLabelsobject

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

类型
array

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

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

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

类型
array

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

类型
string

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

类型
object

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

类型
array

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

类型
string

.spec.gateway.placement.podAntiAffinity

类型
object
属性类型描述
preferredDuringSchedulingIgnoredDuringExecutionarray
requiredDuringSchedulingIgnoredDuringExecutionarray

.spec.gateway.placement.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution

类型
array

.spec.gateway.placement.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[]

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

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

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

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

类型
object
属性类型描述
matchExpressionsarray
matchLabelsobject

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

类型
array

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

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

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

类型
array

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

类型
string

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

类型
object

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

类型
array

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

类型
string

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

类型
array

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

类型
string

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

类型
object
属性类型描述
matchExpressionsarray
matchLabelsobject

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

类型
array

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

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

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

类型
array

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

类型
string

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

类型
object

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

类型
array

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

类型
string

.spec.gateway.placement.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution

类型
array

.spec.gateway.placement.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution[]

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

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

类型
object
属性类型描述
matchExpressionsarray
matchLabelsobject

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

类型
array

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

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

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

类型
array

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

类型
string

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

类型
object

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

类型
array

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

类型
string

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

类型
array

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

类型
string

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

类型
object
属性类型描述
matchExpressionsarray
matchLabelsobject

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

类型
array

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

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

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

类型
array

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

类型
string

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

类型
object

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

类型
array

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

类型
string

.spec.gateway.placement.tolerations

类型
array

.spec.gateway.placement.tolerations[]

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

.spec.gateway.placement.topologySpreadConstraints

类型
array

.spec.gateway.placement.topologySpreadConstraints[]

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

.spec.gateway.placement.topologySpreadConstraints[].labelSelector

类型
object
属性类型描述
matchExpressionsarray
matchLabelsobject

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

类型
array

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

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

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

类型
array

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

类型
string

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

类型
object

.spec.gateway.placement.topologySpreadConstraints[].matchLabelKeys

类型
array

.spec.gateway.placement.topologySpreadConstraints[].matchLabelKeys[]

类型
string

.spec.gateway.readAffinity

描述
ReadAffinity defines the RGW read affinity policy to optimize the read requests for the RGW clients Note: Only supported from Ceph Tentacle (v20)
类型
object
必填
type
属性类型描述
typestring

Type defines the RGW ReadAffinity type localize: read from the nearest OSD based on crush location of the RGW client balance: picks a random OSD from the PG's active set default: read from the primary OSD

.spec.gateway.resources

描述
The resource requirements for the rgw 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.gateway.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.gateway.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.gateway.resources.limits

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

.spec.gateway.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.gateway.rgwCommandFlags

描述
RgwCommandFlags sets Ceph RGW config values for the gateway clients that serve this object store. Values are modified at RGW startup, resulting in RGW pod restarts. This feature is intended for advanced users. It allows breaking configurations to be easily applied. Use with caution.
类型
object

.spec.gateway.rgwConfig

描述
RgwConfig sets Ceph RGW config values for the gateway clients that serve this object store. Values are modified at runtime without RGW restart. This feature is intended for advanced users. It allows breaking configurations to be easily applied. Use with caution.
类型
object

.spec.gateway.rgwConfigFromSecret

描述
RgwConfigFromSecret works exactly like RgwConfig but takes config value from Secret Key reference. Values are modified at runtime without RGW restart. This feature is intended for advanced users. It allows breaking configurations to be easily applied. Use with caution.
类型
object

.spec.gateway.service

描述
The configuration related to add/set on each rgw service.
类型
object
属性类型描述
annotationsobject

The annotations-related configuration to add/set on each rgw service. nullable optional

.spec.gateway.service.annotations

描述
The annotations-related configuration to add/set on each rgw service. nullable optional
类型
object

.spec.healthCheck

描述
The RGW health probes
类型
object
属性类型描述
readinessProbeobject

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

startupProbeobject

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

.spec.healthCheck.readinessProbe

描述
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.healthCheck.readinessProbe.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.healthCheck.readinessProbe.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.healthCheck.readinessProbe.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.healthCheck.readinessProbe.probe.exec.command[]

类型
string

.spec.healthCheck.readinessProbe.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.healthCheck.readinessProbe.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.healthCheck.readinessProbe.probe.httpGet.httpHeaders

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

.spec.healthCheck.readinessProbe.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.healthCheck.readinessProbe.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.healthCheck.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.healthCheck.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.healthCheck.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.healthCheck.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.healthCheck.startupProbe.probe.exec.command[]

类型
string

.spec.healthCheck.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.healthCheck.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.healthCheck.startupProbe.probe.httpGet.httpHeaders

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

.spec.healthCheck.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.healthCheck.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.hosting

描述
Hosting settings for the object store. A common use case for hosting configuration is to inform Rook of endpoints that support DNS wildcards, which in turn allows virtual host-style bucket addressing.
类型
object
属性类型描述
advertiseEndpointobject

AdvertiseEndpoint is the default endpoint Rook will return for resources dependent on this object store. This endpoint will be returned to CephObjectStoreUsers, Object Bucket Claims, and COSI Buckets/Accesses. By default, Rook returns the endpoint for the object store's Kubernetes service using HTTPS with gateway.securePort if it is defined (otherwise, HTTP with gateway.port).

dnsNamesarray

A list of DNS host names on which object store gateways will accept client S3 connections. When specified, object store gateways will reject client S3 connections to hostnames that are not present in this list, so include all endpoints. The object store's advertiseEndpoint and Kubernetes service endpoint, plus CephObjectZone customEndpoints are automatically added to the list but may be set here again if desired. Each DNS name must be valid according RFC-1123. If the DNS name corresponds to an endpoint with DNS wildcard support, do not include the wildcard itself in the list of hostnames. E.g., use "mystore.example.com" instead of "*.mystore.example.com".

.spec.hosting.advertiseEndpoint

描述
AdvertiseEndpoint is the default endpoint Rook will return for resources dependent on this object store. This endpoint will be returned to CephObjectStoreUsers, Object Bucket Claims, and COSI Buckets/Accesses. By default, Rook returns the endpoint for the object store's Kubernetes service using HTTPS with `gateway.securePort` if it is defined (otherwise, HTTP with `gateway.port`).
类型
object
必填
dnsNameportuseTls
属性类型描述
dnsNamestring

DnsName is the DNS name (in RFC-1123 format) of the endpoint. If the DNS name corresponds to an endpoint with DNS wildcard support, do not include the wildcard itself in the list of hostnames. E.g., use "mystore.example.com" instead of "*.mystore.example.com".

portinteger

Port is the port on which S3 connections can be made for this endpoint.

useTlsboolean

UseTls defines whether the endpoint uses TLS (HTTPS) or not (HTTP).

.spec.hosting.dnsNames

描述
A list of DNS host names on which object store gateways will accept client S3 connections. When specified, object store gateways will reject client S3 connections to hostnames that are not present in this list, so include all endpoints. The object store's advertiseEndpoint and Kubernetes service endpoint, plus CephObjectZone `customEndpoints` are automatically added to the list but may be set here again if desired. Each DNS name must be valid according RFC-1123. If the DNS name corresponds to an endpoint with DNS wildcard support, do not include the wildcard itself in the list of hostnames. E.g., use "mystore.example.com" instead of "*.mystore.example.com".
类型
array

.spec.hosting.dnsNames[]

类型
string

.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

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.protocols

描述
The protocol specification
类型
object
属性类型描述
enableAPIsarray

Represents RGW 'rgw_enable_apis' config option. See: https://docs.ceph.com/en/reef/radosgw/config-ref/#confval-rgw_enable_apis If no value provided then all APIs will be enabled: s3, s3website, swift, swift_auth, admin, sts, iam, notifications If enabled APIs are set, all remaining APIs will be disabled. This option overrides S3.Enabled value.

s3object

The spec for S3

swiftobject

The spec for Swift

.spec.protocols.enableAPIs

描述
Represents RGW 'rgw_enable_apis' config option. See: https://docs.ceph.com/en/reef/radosgw/config-ref/#confval-rgw_enable_apis If no value provided then all APIs will be enabled: s3, s3website, swift, swift_auth, admin, sts, iam, notifications If enabled APIs are set, all remaining APIs will be disabled. This option overrides S3.Enabled value.
类型
array

.spec.protocols.enableAPIs[]

类型
string

.spec.protocols.s3

描述
The spec for S3
类型
object
属性类型描述
authUseKeystoneboolean

Whether to use Keystone for authentication. This option maps directly to the rgw_s3_auth_use_keystone option. Enabling it allows generating S3 credentials via an OpenStack API call, see the docs. If not given, the defaults of the corresponding RGW option apply.

enabledboolean

Deprecated: use protocol.enableAPIs instead. Whether to enable S3. This defaults to true (even if protocols.s3 is not present in the CRD). This maintains backwards compatibility – by default S3 is enabled.

.spec.protocols.swift

描述
The spec for Swift
类型
object
属性类型描述
accountInUrlboolean

Whether or not the Swift account name should be included in the Swift API URL. If set to false (the default), then the Swift API will listen on a URL formed like http://host:port/<rgw_swift_url_prefix>/v1. If set to true, the Swift API URL will be http://host:port/<rgw_swift_url_prefix>/v1/AUTH_<account_name>. You must set this option to true (and update the Keystone service catalog) if you want radosgw to support publicly-readable containers and temporary URLs.

urlPrefixstring

The URL prefix for the Swift API, to distinguish it from the S3 API endpoint. The default is swift, which makes the Swift API available at the URL http://host:port/swift/v1 (or http://host:port/swift/v1/AUTH_%(tenant_id)s if rgw swift account in url is enabled).

versioningEnabledboolean

Enables the Object Versioning of OpenStack Object Storage API. This allows clients to put the X-Versions-Location attribute on containers that should be versioned.

.spec.security

描述
Security represents security settings
类型
object
属性类型描述
keyRotationobject

KeyRotation defines options for Key Rotation.

kmsobject

KeyManagementService is the main Key Management option

s3object

The settings for supporting AWS-SSE:S3 with RGW

.spec.security.keyRotation

描述
KeyRotation defines options for Key Rotation.
类型
object
属性类型描述
enabledboolean

Enabled represents whether the key rotation is enabled.

schedulestring

Schedule represents the cron schedule for key rotation.

.spec.security.kms

描述
KeyManagementService is the main Key Management option
类型
object
属性类型描述
connectionDetailsobject

ConnectionDetails contains the KMS connection details (address, port etc)

tokenSecretNamestring

TokenSecretName is the kubernetes secret containing the KMS token

.spec.security.kms.connectionDetails

描述
ConnectionDetails contains the KMS connection details (address, port etc)
类型
object

.spec.security.s3

描述
The settings for supporting AWS-SSE:S3 with RGW
类型
object
属性类型描述
connectionDetailsobject

ConnectionDetails contains the KMS connection details (address, port etc)

tokenSecretNamestring

TokenSecretName is the kubernetes secret containing the KMS token

.spec.security.s3.connectionDetails

描述
ConnectionDetails contains the KMS connection details (address, port etc)
类型
object

.spec.sharedPools

描述
The pool information when configuring RADOS namespaces in existing pools.
类型
object
属性类型描述
dataPoolNamestring

The data pool used for creating RADOS namespaces in the object store

metadataPoolNamestring

The metadata pool used for creating RADOS namespaces in the object store

poolPlacementsarray

PoolPlacements control which Pools are associated with a particular RGW bucket. Once PoolPlacements are defined, RGW client will be able to associate pool with ObjectStore bucket by providing "" during s3 bucket creation or "X-Storage-Policy" header during swift container creation. See: https://docs.ceph.com/en/latest/radosgw/placement/#placement-targets PoolPlacement with name: "default" will be used as a default pool if no option is provided during bucket creation. If default placement is not provided, spec.sharedPools.dataPoolName and spec.sharedPools.MetadataPoolName will be used as default pools. If spec.sharedPools are also empty, then RGW pools (spec.dataPool and spec.metadataPool) will be used as defaults.

preserveRadosNamespaceDataOnDeleteboolean

Whether the RADOS namespaces should be preserved on deletion of the object store

.spec.sharedPools.poolPlacements

描述
PoolPlacements control which Pools are associated with a particular RGW bucket. Once PoolPlacements are defined, RGW client will be able to associate pool with ObjectStore bucket by providing "<LocationConstraint>" during s3 bucket creation or "X-Storage-Policy" header during swift container creation. See: https://docs.ceph.com/en/latest/radosgw/placement/#placement-targets PoolPlacement with name: "default" will be used as a default pool if no option is provided during bucket creation. If default placement is not provided, spec.sharedPools.dataPoolName and spec.sharedPools.MetadataPoolName will be used as default pools. If spec.sharedPools are also empty, then RGW pools (spec.dataPool and spec.metadataPool) will be used as defaults.
类型
array

.spec.sharedPools.poolPlacements[]

类型
object
必填
dataPoolNamemetadataPoolNamename
属性类型描述
dataNonECPoolNamestring

The data pool used to store ObjectStore data that cannot use erasure coding (ex: multi-part uploads). If dataPoolName is not erasure coded, then there is no need for dataNonECPoolName.

dataPoolNamestring

The data pool used to store ObjectStore objects data.

defaultboolean

Sets given placement as default. Only one placement in the list can be marked as default. Default is false.

metadataPoolNamestring

The metadata pool used to store ObjectStore bucket index.

namestring

Pool placement name. Name can be arbitrary. Placement with name "default" will be used as default.

storageClassesarray

StorageClasses can be selected by user to override dataPoolName during object creation. Each placement has default STANDARD StorageClass pointing to dataPoolName. This list allows defining additional StorageClasses on top of default STANDARD storage class.

.spec.sharedPools.poolPlacements[].storageClasses

描述
StorageClasses can be selected by user to override dataPoolName during object creation. Each placement has default STANDARD StorageClass pointing to dataPoolName. This list allows defining additional StorageClasses on top of default STANDARD storage class.
类型
array

.spec.sharedPools.poolPlacements[].storageClasses[]

类型
object
必填
dataPoolNamename
属性类型描述
dataPoolNamestring

DataPoolName is the data pool used to store ObjectStore objects data.

namestring

Name is the StorageClass name. Ceph allows arbitrary name for StorageClasses, however most clients/libs insist on AWS names so it is recommended to use one of the valid x-amz-storage-class values for better compatibility: REDUCED_REDUNDANCY | STANDARD_IA | ONEZONE_IA | INTELLIGENT_TIERING | GLACIER | DEEP_ARCHIVE | OUTPOSTS | GLACIER_IR | SNOW | EXPRESS_ONEZONE See AWS docs: https://aws.amazon.com/de/s3/storage-classes/

.spec.zone

描述
The multisite info
类型
object
必填
name
属性类型描述
namestring

CephObjectStoreZone name this CephObjectStore is part of

.status

描述
ObjectStoreStatus represents the status of a Ceph Object Store resource
类型
object
属性类型描述
cephxobject
conditionsarray
endpointsobject
infoobject
messagestring
observedGenerationinteger

ObservedGeneration is the latest generation observed by the controller.

phasestring

ConditionType represent a resource's status

replicasinteger
selectorstring

.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.endpoints

类型
object
属性类型描述
insecurearray
securearray

.status.endpoints.insecure

类型
array

.status.endpoints.insecure[]

类型
string

.status.endpoints.secure

类型
array

.status.endpoints.secure[]

类型
string

.status.info

类型
object

API 端点

可用的 API 端点如下:

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

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

HTTP 方法
DELETE
描述
delete collection of CephObjectStore
HTTP 响应
HTTP 状态码响应体
200 - OKStatus schema
401 - UnauthorizedEmpty
HTTP 方法
GET
描述
list objects of kind CephObjectStore
HTTP 响应
HTTP 状态码响应体
200 - OKCephObjectStoreList schema
401 - UnauthorizedEmpty
HTTP 方法
POST
描述
create a new CephObjectStore
查询参数
参数类型描述
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.
请求体参数
参数类型描述
bodyCephObjectStore schemaapplication/json formatted
HTTP 响应
HTTP 状态码响应体
200 - OKCephObjectStore schema
201 - CreatedCephObjectStore schema
202 - AcceptedCephObjectStore schema
401 - UnauthorizedEmpty

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

HTTP 方法
DELETE
描述
delete the specified CephObjectStore
查询参数
参数类型描述
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 CephObjectStore
HTTP 响应
HTTP 状态码响应体
200 - OKCephObjectStore schema
401 - UnauthorizedEmpty
HTTP 方法
PATCH
描述
partially update the specified CephObjectStore
查询参数
参数类型描述
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 - OKCephObjectStore schema
401 - UnauthorizedEmpty
HTTP 方法
PUT
描述
replace the specified CephObjectStore
查询参数
参数类型描述
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.
请求体参数
参数类型描述
bodyCephObjectStore schemaapplication/json formatted
HTTP 响应
HTTP 状态码响应体
200 - OKCephObjectStore schema
201 - CreatedCephObjectStore schema
401 - UnauthorizedEmpty

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

HTTP 方法
GET
描述
read status of the specified CephObjectStore
HTTP 响应
HTTP 状态码响应体
200 - OKCephObjectStore schema
401 - UnauthorizedEmpty
HTTP 方法
PATCH
描述
partially update status of the specified CephObjectStore
查询参数
参数类型描述
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 - OKCephObjectStore schema
401 - UnauthorizedEmpty
HTTP 方法
PUT
描述
replace status of the specified CephObjectStore
查询参数
参数类型描述
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.
请求体参数
参数类型描述
bodyCephObjectStore schemaapplication/json formatted
HTTP 响应
HTTP 状态码响应体
200 - OKCephObjectStore schema
201 - CreatedCephObjectStore schema
401 - UnauthorizedEmpty

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

HTTP 方法
GET
描述
read scale of the specified CephObjectStore
HTTP 响应
HTTP 状态码响应体
200 - OKScale schema
401 - UnauthorizedEmpty
HTTP 方法
PATCH
描述
partially update scale of the specified CephObjectStore
查询参数
参数类型描述
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 方法
PUT
描述
replace scale of the specified CephObjectStore
查询参数
参数类型描述
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.
请求体参数
参数类型描述
bodyScale schemaapplication/json formatted