Стадия жизненного цикла модуля: Preview
Deckhouse Kubernetes Platform устанавливает CRD, но не удаляет их при отключении модуля. Если вам больше не нужны созданные CRD, удалите их.
MemcachedClass
Scope: Cluster
-
строкаapiVersionAPIVersion 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
-
строкаkindKind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
объектmetadata
-
объектspecMemcachedClassSpec defines the desired state of MemcachedClass
-
объектspec.configurationClassConfiguration is the default configuration for the class
-
булевыйspec.configuration.lockMemory
-
целочисленныйspec.configuration.maxConnections
-
строка или числоspec.configuration.maxItemSize
Шаблон:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ -
строкаspec.configuration.slabMinSize
Допустимые значения:
Short,Medium,Long -
целочисленныйspec.configuration.threads
-
-
объектspec.nodeAffinityNodeAffinity of the service pods
-
массив объектовspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecutionThe scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding “weight” to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred.
-
объектspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preferenceA node selector term, associated with the corresponding weight.
-
массив объектовspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchExpressionsA list of node selector requirements by node’s labels.
-
строкаspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchExpressions.keyThe label key that the selector applies to.
-
строкаspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchExpressions.operatorRepresents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
-
массив строкspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchExpressions.valuesAn array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
-
-
массив объектовspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchFieldsA list of node selector requirements by node’s fields.
-
строкаspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchFields.keyThe label key that the selector applies to.
-
строкаspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchFields.operatorRepresents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
-
массив строкspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchFields.valuesAn array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
-
-
-
целочисленныйspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.weightWeight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
-
-
объектspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecutionIf the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node.
-
массив объектовspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms
Обязательный параметр
Required. A list of node selector terms. The terms are ORed.-
массив объектовspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressionsA list of node selector requirements by node’s labels.
-
строкаspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressions.keyThe label key that the selector applies to.
-
строкаspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressions.operatorRepresents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
-
массив строкspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressions.valuesAn array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
-
-
массив объектовspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFieldsA list of node selector requirements by node’s fields.
-
строкаspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFields.keyThe label key that the selector applies to.
-
строкаspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFields.operatorRepresents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
-
массив строкspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFields.valuesAn array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
-
-
-
-
-
объектspec.nodeSelectorAllows a service pods to be assigned to specified nodes. The same as in the
spec.nodeSelectorparameter for Kubernetes Pods. -
массив строкspec.overridableConfigurationList of the configuration options that can be override by the user
-
строкаspec.overridableConfiguration.Элемент массиваConfigurationType is a type of configuration option
Допустимые значения:
maxItemSize,slabMinSize,lockMemory
-
-
массив объектовspec.sizingPolicies
Обязательный параметр
SizingPolicies is policy of the resource sizing-
массив строкspec.sizingPolicies.coreFractionCoreFractions is the multiplier for requests of the cores
-
строкаspec.sizingPolicies.coreFraction.Элемент массива
Шаблон:
^(100|[0-9]|[1-9][0-9])%$
-
-
объектspec.sizingPolicies.coresCores structure
-
целочисленныйspec.sizingPolicies.cores.max
Обязательный параметр
Higher limit for Cores settingПример:
max: 6 -
целочисленныйspec.sizingPolicies.cores.min
Обязательный параметр
Lower limit for Cores settingПример:
min: 1
-
-
объектspec.sizingPolicies.memoryMemory structure
-
строка или числоspec.sizingPolicies.memory.max
Обязательный параметр
Higher limit for Memory settingШаблон:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$Пример:
max: 5Gi -
строка или числоspec.sizingPolicies.memory.min
Обязательный параметр
Lower limit for Memory settingШаблон:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$Пример:
min: 128Mi -
строка или числоspec.sizingPolicies.memory.stepStep for Memory setting
Шаблон:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$Пример:
step: 1Gi
-
-
-
массив объектовspec.tolerationsTolerations of the service pods
-
строкаspec.tolerations.effectEffect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
-
строкаspec.tolerations.keyKey is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
-
строкаspec.tolerations.operatorOperator represents a key’s relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.
-
целочисленныйspec.tolerations.tolerationSecondsTolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
-
строкаspec.tolerations.valueValue is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
-
-
объектspec.topology
Обязательный параметр
Topology of the service-
массив строкspec.topology.allowedTopologies
Обязательный параметр
-
строкаspec.topology.allowedTopologies.Элемент массива
Допустимые значения:
Ignored,Zonal,TransZonal
-
-
массив строкspec.topology.allowedZones
По умолчанию:
[] -
строкаspec.topology.defaultTopology
Обязательный параметр
Допустимые значения:
Ignored,Zonal,TransZonal
-
-
массив объектовspec.validationsValidations List of the validation rules applied to the Memcached user configuration
-
строкаspec.validations.message
-
строкаspec.validations.rule
-
-
-
строкаapiVersionAPIVersion 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
-
строкаkindKind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
объектmetadata
-
объектspecMemcachedClassSpec defines the desired state of MemcachedClass
-
объектspec.configurationClassConfiguration is the default configuration for the class
-
булевыйspec.configuration.lockMemory
-
целочисленныйspec.configuration.maxConnections
-
строка или числоspec.configuration.maxItemSize
Шаблон:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ -
строкаspec.configuration.slabMinSize
Допустимые значения:
Short,Medium,Long -
целочисленныйspec.configuration.threads
-
-
объектspec.nodeAffinityNodeAffinity of the service pods
-
массив объектовspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecutionThe scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding “weight” to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred.
-
объектspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preferenceA node selector term, associated with the corresponding weight.
-
массив объектовspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchExpressionsA list of node selector requirements by node’s labels.
-
строкаspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchExpressions.keyThe label key that the selector applies to.
-
строкаspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchExpressions.operatorRepresents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
-
массив строкspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchExpressions.valuesAn array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
-
-
массив объектовspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchFieldsA list of node selector requirements by node’s fields.
-
строкаspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchFields.keyThe label key that the selector applies to.
-
строкаspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchFields.operatorRepresents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
-
массив строкspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchFields.valuesAn array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
-
-
-
целочисленныйspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.weightWeight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
-
-
объектspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecutionIf the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node.
-
массив объектовspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms
Обязательный параметр
Required. A list of node selector terms. The terms are ORed.-
массив объектовspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressionsA list of node selector requirements by node’s labels.
-
строкаspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressions.keyThe label key that the selector applies to.
-
строкаspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressions.operatorRepresents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
-
массив строкspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressions.valuesAn array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
-
-
массив объектовspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFieldsA list of node selector requirements by node’s fields.
-
строкаspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFields.keyThe label key that the selector applies to.
-
строкаspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFields.operatorRepresents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
-
массив строкspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFields.valuesAn array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
-
-
-
-
-
объектspec.nodeSelectorAllows a service pods to be assigned to specified nodes. The same as in the
spec.nodeSelectorparameter for Kubernetes Pods. -
массив строкspec.overridableConfigurationList of the configuration options that can be override by the user
-
строкаspec.overridableConfiguration.Элемент массиваConfigurationType is a type of configuration option
Допустимые значения:
maxItemSize,slabMinSize,lockMemory
-
-
массив объектовspec.sizingPolicies
Обязательный параметр
SizingPolicies is policy of the resource sizing-
массив целых чиселspec.sizingPolicies.coreFractionCoreFractions is the multiplier for requests of the cores
-
объектspec.sizingPolicies.coresCores structure
-
целочисленныйspec.sizingPolicies.cores.max
Обязательный параметр
Higher limit for Cores settingПример:
max: 6 -
целочисленныйspec.sizingPolicies.cores.min
Обязательный параметр
Lower limit for Cores settingПример:
min: 1
-
-
объектspec.sizingPolicies.memoryMemory structure
-
строка или числоspec.sizingPolicies.memory.max
Обязательный параметр
Higher limit for Memory settingШаблон:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$Пример:
max: 5Gi -
строка или числоspec.sizingPolicies.memory.min
Обязательный параметр
Lower limit for Memory settingШаблон:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$Пример:
min: 128Mi -
строка или числоspec.sizingPolicies.memory.stepStep for Memory setting
Шаблон:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$Пример:
step: 1Gi
-
-
-
массив объектовspec.tolerationsTolerations of the service pods
-
строкаspec.tolerations.effectEffect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
-
строкаspec.tolerations.keyKey is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
-
строкаspec.tolerations.operatorOperator represents a key’s relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.
-
целочисленныйspec.tolerations.tolerationSecondsTolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
-
строкаspec.tolerations.valueValue is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
-
-
объектspec.topology
Обязательный параметр
Topology of the service-
массив строкspec.topology.allowedTopologies
Обязательный параметр
-
строкаspec.topology.allowedTopologies.Элемент массива
Допустимые значения:
Ignored,Zonal,TransZonal
-
-
массив строкspec.topology.allowedZones
По умолчанию:
[] -
строкаspec.topology.defaultTopology
Обязательный параметр
Допустимые значения:
Ignored,Zonal,TransZonal
-
-
массив объектовspec.validationsValidations List of the validation rules applied to the Memcached user configuration
-
строкаspec.validations.message
-
строкаspec.validations.rule
-
-
Memcached
Scope: Namespaced
-
строкаapiVersionAPIVersion 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
-
строкаkindKind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
объектmetadata
-
объектspec
-
объектspec.configurationMemcached server configuration
-
булевыйspec.configuration.lockMemoryLockMemory memory blocking for using only by memcached server
Пример:
lockMemory: true || false -
строка или числоspec.configuration.maxItemSizeMaxItemSize Max memcached item size
Шаблон:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$Пример:
maxItemSize: 1Mi, 1Gi, 1k, 1Ki -
строкаspec.configuration.slabMinSizeSlabMinSize is slab size in memcached server (Short:50 bytes, Medium:100 bytes, Long:200 bytes)
Допустимые значения:
Short,Medium,LongПример:
slabMinSize: short
-
-
объектspec.group
-
целочисленныйspec.group.size
Обязательный параметр
По умолчанию:
2Допустимые значения:
2 <= X -
строкаspec.group.topology
Topology setting specifies how to schedule the cluster
- Zonal: cluster will be scheduled to one zone. If possible
- TransZonal: cluster will be scheduled to separated zone. If possible
- Ignored: cluster will be scheduled with default k8s schedule rules, only node separation will be provided
Допустимые значения:
Ignored,Zonal,TransZonalПример:
topology: Ignored
-
-
объектspec.instance
Обязательный параметр
Memcached instance configuration-
объектspec.instance.cpu
Обязательный параметр
-
строкаspec.instance.cpu.coreFraction
Обязательный параметр
Шаблон:
^(100|[0-9]|[1-9][0-9])%$Пример:
coreFraction: '''1%''' -
целочисленныйspec.instance.cpu.cores
Обязательный параметр
Пример:
cores: 1
-
-
объектspec.instance.memory
Обязательный параметр
-
строка или числоspec.instance.memory.size
Обязательный параметр
Шаблон:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
-
-
-
строкаspec.memcachedClassName
Обязательный параметр
Name of MemcachedClass kind, that has to be specified for settings validationПо умолчанию:
defaultПример:
memcachedClassName: minimal -
строкаspec.type
Обязательный параметр
Type of Memcached deploymentПо умолчанию:
StandaloneДопустимые значения:
Standalone,GroupПример:
type: Standalone
-
-
строкаapiVersionAPIVersion 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
-
строкаkindKind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
объектmetadata
-
объектspec
-
объектspec.configurationMemcached server configuration
-
булевыйspec.configuration.lockMemoryLockMemory memory blocking for using only by memcached server
Пример:
lockMemory: true || false -
строка или числоspec.configuration.maxItemSizeMaxItemSize Max memcached item size
Шаблон:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$Пример:
maxItemSize: 1Mi, 1Gi, 1k, 1Ki -
строкаspec.configuration.slabMinSizeSlabMinSize is slab size in memcached server (Short:50 bytes, Medium:100 bytes, Long:200 bytes)
Допустимые значения:
Short,Medium,LongПример:
slabMinSize: short
-
-
объектspec.group
-
целочисленныйspec.group.size
Обязательный параметр
По умолчанию:
2Допустимые значения:
2 <= X -
строкаspec.group.topology
Topology setting specifies how to schedule the cluster
- Zonal: cluster will be scheduled to one zone. If possible
- TransZonal: cluster will be scheduled to separated zone. If possible
- Ignored: cluster will be scheduled with default k8s schedule rules, only node separation will be provided
Допустимые значения:
Ignored,Zonal,TransZonalПример:
topology: Ignored
-
-
объектspec.instance
Обязательный параметр
Memcached instance configuration-
объектspec.instance.cpu
Обязательный параметр
-
целочисленныйspec.instance.cpu.coreFraction
Обязательный параметр
Допустимые значения:
1 <= X <= 100Пример:
coreFraction: 1 -
целочисленныйspec.instance.cpu.cores
Обязательный параметр
Пример:
cores: 1
-
-
объектspec.instance.memory
Обязательный параметр
-
строка или числоspec.instance.memory.size
Обязательный параметр
Шаблон:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
-
-
-
строкаspec.memcachedClassName
Обязательный параметр
Name of MemcachedClass kind, that has to be specified for settings validationПо умолчанию:
defaultПример:
memcachedClassName: minimal -
строкаspec.type
Обязательный параметр
Type of Memcached deploymentПо умолчанию:
StandaloneДопустимые значения:
Standalone,GroupПример:
type: Standalone
-