Стадия жизненного цикла модуля: Preview
У модуля есть требования для установки
Deckhouse Kubernetes Platform устанавливает CRD, но не удаляет их при отключении модуля. Если вам больше не нужны созданные CRD, удалите их.
MemcachedClass
Scope: Cluster
-
строкаapiVersionAPIVersion определяет версионную схему этого представления объекта. Серверы должны преобразовывать распознанные схемы в последнее внутреннее значение и могут отклонять нераспознанные значения. Подробнее: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
-
строкаkindKind — это строковое значение, представляющее REST-ресурс, который представляет этот объект. Серверы могут определить это из конечной точки, на которую клиент отправляет запросы. Не может быть обновлено. В CamelCase. Подробнее: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
объектmetadata
-
объектspecMemcachedClassSpec определяет желаемое состояние MemcachedClass. Ресурс для администратора кластера, который может валидировать ресурсы Memcached параметрами configuration, sizingPolicies, validations и т.д.
-
объектspec.configurationКонфигурация по умолчанию для класса
-
булевый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.nodeAffinityNode affinity подов сервиса
-
массив объектовspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecutionПланировщик предпочтет разворачивать поды на узлы, которые удовлетворяют выражениям affinity, указанным этим полем, но он может выбрать узел, который нарушает одно или несколько выражений. Наиболее предпочтительный узел — это тот, у которого наибольшая сумма весов, т.е. для каждого узла, который соответствует всем требованиям планирования (запрос ресурсов, выражения affinity requiredDuringScheduling и т.д.), вычислить сумму, перебирая элементы этого поля и добавляя «weight» к сумме, если узел соответствует соответствующим matchExpressions; узел(ы) с наибольшей суммой являются наиболее предпочтительными.
-
объектspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preferenceУсловие селектора узла, связанное с соответствующим весом (weight).
-
массив объектовspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchExpressionsСписок требований селектора узла по лейблам узла.
-
строкаspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchExpressions.keyКлюч лейбла, к которому применяется селектор.
-
строкаspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchExpressions.operator
Представляет отношение ключа к набору значений.
Допустимые операторы: In, NotIn, Exists, DoesNotExist, Gt и Lt.
-
массив строкspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchExpressions.values
Массив строковых значений. Если оператор In или NotIn, массив values не должен быть пустым. Если оператор Exists или DoesNotExist, массив values должен быть пустым. Если оператор Gt или Lt, массив values должен содержать один элемент, который будет интерпретирован как целое число.
Этот массив заменяется при strategic merge patch.
-
-
массив объектовspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchFieldsСписок требований селектора узла по полям узла.
-
строкаspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchFields.keyКлюч лейбла, к которому применяется селектор.
-
строкаspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchFields.operator
Представляет отношение ключа к набору значений.
Допустимые операторы: In, NotIn, Exists, DoesNotExist, Gt и Lt.
-
массив строкspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchFields.values
Массив строковых значений. Если оператор In или NotIn, массив values не должен быть пустым. Если оператор Exists или DoesNotExist, массив values должен быть пустым. Если оператор Gt или Lt, массив values должен содержать один элемент, который будет интерпретирован как целое число.
Этот массив заменяется при strategic merge patch.
-
-
-
целочисленныйspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.weightВес, связанный с сопоставлением соответствующего nodeSelectorTerm, в диапазоне 1–100.
-
-
объектspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecutionЕсли требования affinity, указанные этим полем, не выполняются во время планирования, под не будет запланирован на узел. Если требования affinity, указанные этим полем, перестают выполняться в какой-то момент во время выполнения пода (например, из-за обновления), система может или не может попытаться в конечном итоге выселить под с его узла.
-
массив объектовspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms
Обязательный параметр
Обязательно. Список условий селектора узла. Условия объединяются по ИЛИ.-
массив объектовspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressionsСписок требований селектора узла по лейблам узла.
-
строкаspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressions.keyКлюч лейбла, к которому применяется селектор.
-
строкаspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressions.operator
Представляет отношение ключа к набору значений.
Допустимые операторы: In, NotIn, Exists, DoesNotExist, Gt и Lt.
-
массив строкspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressions.values
Массив строковых значений. Если оператор In или NotIn, массив values не должен быть пустым. Если оператор Exists или DoesNotExist, массив values должен быть пустым. Если оператор Gt или Lt, массив values должен содержать один элемент, который будет интерпретирован как целое число.
Этот массив заменяется при strategic merge patch.
-
-
массив объектовspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFieldsСписок требований селектора узла по полям узла.
-
строкаspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFields.keyКлюч лейбла, к которому применяется селектор.
-
строкаspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFields.operator
Представляет отношение ключа к набору значений.
Допустимые операторы: In, NotIn, Exists, DoesNotExist, Gt и Lt.
-
массив строкspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFields.values
Массив строковых значений. Если оператор In или NotIn, массив values не должен быть пустым. Если оператор Exists или DoesNotExist, массив values должен быть пустым. Если оператор Gt или Lt, массив values должен содержать один элемент, который будет интерпретирован как целое число.
Этот массив заменяется при strategic merge patch.
-
-
-
-
-
объектspec.nodeSelectorПозволяет назначать поды сервиса на указанные узлы. Аналогично параметру
spec.nodeSelectorдля Kubernetes Pods. -
массив строкspec.overridableConfigurationСписок параметров конфигурации, которые пользователь может переопределить
-
строкаspec.overridableConfiguration.Элемент массиваConfigurationType — тип параметра конфигурации
Допустимые значения:
maxItemSize,slabMinSize,lockMemory
-
-
массив объектовspec.sizingPolicies
Обязательный параметр
SizingPolicies — политика размеров ресурсов-
массив строкspec.sizingPolicies.coreFractionМножитель для корректировки requests ядер
-
строкаspec.sizingPolicies.coreFraction.Элемент массива
Шаблон:
^(100|[0-9]|[1-9][0-9])%$
-
-
объектspec.sizingPolicies.coresСтруктура настроек ядер CPU
-
целочисленныйspec.sizingPolicies.cores.max
Обязательный параметр
Верхний предел настройки ядер CPUПример:
max: 6 -
целочисленныйspec.sizingPolicies.cores.min
Обязательный параметр
Нижний предел настройки ядер CPUПример:
min: 1
-
-
объектspec.sizingPolicies.memoryСтруктура настроек памяти
-
строка или числоspec.sizingPolicies.memory.max
Обязательный параметр
Верхний предел настройки памятиШаблон:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$Пример:
max: 5Gi -
строка или числоspec.sizingPolicies.memory.min
Обязательный параметр
Нижний предел настройки памятиШаблон:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$Пример:
min: 128Mi -
строка или числоspec.sizingPolicies.memory.stepШаг настройки памяти
Шаблон:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$Пример:
step: 1Gi
-
-
-
массив объектовspec.tolerationsTolerations подов сервиса
-
строкаspec.tolerations.effectEffect указывает эффект taint для сопоставления. Пустое значение означает сопоставление со всеми эффектами taint. При указании допустимые значения: NoSchedule, PreferNoSchedule и NoExecute.
-
строкаspec.tolerations.keyKey — ключ taint, к которому применяется toleration. Пустое значение означает сопоставление со всеми ключами taint. Если ключ пустой, operator должен быть Exists; эта комбинация означает сопоставление со всеми значениями и всеми ключами.
-
строкаspec.tolerations.operatorOperator представляет отношение ключа к значению. Допустимые операторы: Exists и Equal. По умолчанию Equal. Exists эквивалентен подстановочному знаку для value, поэтому под может толерировать все taints определённой категории.
-
целочисленныйspec.tolerations.tolerationSecondsTolerationSeconds — период времени, в течение которого toleration (которая должна иметь эффект NoExecute, иначе это поле игнорируется) толерирует taint. По умолчанию не установлено, что означает толерировать taint бессрочно (не вытеснять). Нулевые и отрицательные значения интерпретируются системой как 0 (немедленное вытеснение).
-
строкаspec.tolerations.valueValue — значение taint, с которым сопоставляется toleration. Если operator Exists, value должно быть пустым, иначе — обычная строка.
-
-
объектspec.topology
Обязательный параметр
Топология сервиса-
массив строкspec.topology.allowedTopologies
Обязательный параметр
-
строкаspec.topology.allowedTopologies.Элемент массива
Допустимые значения:
Ignored,Zonal,TransZonal
-
-
массив строкspec.topology.allowedZones
По умолчанию:
[] -
строкаspec.topology.defaultTopology
Обязательный параметр
Допустимые значения:
Ignored,Zonal,TransZonal
-
-
массив объектовspec.validationsСписок правил валидации, применяемых к пользовательской конфигурации Memcached
-
строкаspec.validations.message
-
строкаspec.validations.rule
-
-
-
объектstatusMemcachedClassStatus определяет наблюдаемое состояние MemcachedClass
-
строкаapiVersionAPIVersion определяет версионную схему этого представления объекта. Серверы должны преобразовывать распознанные схемы в последнее внутреннее значение и могут отклонять нераспознанные значения. Подробнее: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
-
строкаkindKind — это строковое значение, представляющее REST-ресурс, который представляет этот объект. Серверы могут определить это из конечной точки, на которую клиент отправляет запросы. Не может быть обновлено. В CamelCase. Подробнее: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
объектmetadata
-
объектspecMemcachedClassSpec определяет желаемое состояние MemcachedClass. Ресурс для администратора кластера, который может валидировать ресурсы Memcached параметрами configuration, sizingPolicies, validations и т.д.
-
объектspec.configurationКонфигурация по умолчанию для класса
-
булевый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.nodeAffinityNode affinity подов сервиса
-
массив объектовspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecutionПланировщик предпочтет разворачивать поды на узлы, которые удовлетворяют выражениям affinity, указанным этим полем, но он может выбрать узел, который нарушает одно или несколько выражений. Наиболее предпочтительный узел — это тот, у которого наибольшая сумма весов, т.е. для каждого узла, который соответствует всем требованиям планирования (запрос ресурсов, выражения affinity requiredDuringScheduling и т.д.), вычислить сумму, перебирая элементы этого поля и добавляя «weight» к сумме, если узел соответствует соответствующим matchExpressions; узел(ы) с наибольшей суммой являются наиболее предпочтительными.
-
объектspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preferenceУсловие селектора узла, связанное с соответствующим весом (weight).
-
массив объектовspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchExpressionsСписок требований селектора узла по лейблам узла.
-
строкаspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchExpressions.keyКлюч лейбла, к которому применяется селектор.
-
строкаspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchExpressions.operator
Представляет отношение ключа к набору значений.
Допустимые операторы: In, NotIn, Exists, DoesNotExist, Gt и Lt.
-
массив строкspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchExpressions.values
Массив строковых значений. Если оператор In или NotIn, массив values не должен быть пустым. Если оператор Exists или DoesNotExist, массив values должен быть пустым. Если оператор Gt или Lt, массив values должен содержать один элемент, который будет интерпретирован как целое число.
Этот массив заменяется при strategic merge patch.
-
-
массив объектовspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchFieldsСписок требований селектора узла по полям узла.
-
строкаspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchFields.keyКлюч лейбла, к которому применяется селектор.
-
строкаspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchFields.operator
Представляет отношение ключа к набору значений.
Допустимые операторы: In, NotIn, Exists, DoesNotExist, Gt и Lt.
-
массив строкspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchFields.values
Массив строковых значений. Если оператор In или NotIn, массив values не должен быть пустым. Если оператор Exists или DoesNotExist, массив values должен быть пустым. Если оператор Gt или Lt, массив values должен содержать один элемент, который будет интерпретирован как целое число.
Этот массив заменяется при strategic merge patch.
-
-
-
целочисленныйspec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.weightВес, связанный с сопоставлением соответствующего nodeSelectorTerm, в диапазоне 1–100.
-
-
объектspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecutionЕсли требования affinity, указанные этим полем, не выполняются во время планирования, под не будет запланирован на узел. Если требования affinity, указанные этим полем, перестают выполняться в какой-то момент во время выполнения пода (например, из-за обновления), система может или не может попытаться в конечном итоге выселить под с его узла.
-
массив объектовspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms
Обязательный параметр
Обязательно. Список условий селектора узла. Условия объединяются по ИЛИ.-
массив объектовspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressionsСписок требований селектора узла по лейблам узла.
-
строкаspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressions.keyКлюч лейбла, к которому применяется селектор.
-
строкаspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressions.operator
Представляет отношение ключа к набору значений.
Допустимые операторы: In, NotIn, Exists, DoesNotExist, Gt и Lt.
-
массив строкspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressions.values
Массив строковых значений. Если оператор In или NotIn, массив values не должен быть пустым. Если оператор Exists или DoesNotExist, массив values должен быть пустым. Если оператор Gt или Lt, массив values должен содержать один элемент, который будет интерпретирован как целое число.
Этот массив заменяется при strategic merge patch.
-
-
массив объектовspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFieldsСписок требований селектора узла по полям узла.
-
строкаspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFields.keyКлюч лейбла, к которому применяется селектор.
-
строкаspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFields.operator
Представляет отношение ключа к набору значений.
Допустимые операторы: In, NotIn, Exists, DoesNotExist, Gt и Lt.
-
массив строкspec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFields.values
Массив строковых значений. Если оператор In или NotIn, массив values не должен быть пустым. Если оператор Exists или DoesNotExist, массив values должен быть пустым. Если оператор Gt или Lt, массив values должен содержать один элемент, который будет интерпретирован как целое число.
Этот массив заменяется при strategic merge patch.
-
-
-
-
-
объектspec.nodeSelectorПозволяет назначать поды сервиса на указанные узлы. Аналогично параметру
spec.nodeSelectorдля Kubernetes Pods. -
массив строкspec.overridableConfigurationСписок параметров конфигурации, которые пользователь может переопределить
-
строкаspec.overridableConfiguration.Элемент массиваConfigurationType — тип параметра конфигурации
Допустимые значения:
maxItemSize,slabMinSize,lockMemory
-
-
массив объектовspec.sizingPolicies
Обязательный параметр
SizingPolicies — политика размеров ресурсов-
массив целых чиселspec.sizingPolicies.coreFractionМножитель для корректировки requests ядер
-
объектspec.sizingPolicies.coresСтруктура настроек ядер CPU
-
целочисленныйspec.sizingPolicies.cores.max
Обязательный параметр
Верхний предел настройки ядер CPUПример:
max: 6 -
целочисленныйspec.sizingPolicies.cores.min
Обязательный параметр
Нижний предел настройки ядер CPUПример:
min: 1
-
-
объектspec.sizingPolicies.memoryСтруктура настроек памяти
-
строка или числоspec.sizingPolicies.memory.max
Обязательный параметр
Верхний предел настройки памятиШаблон:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$Пример:
max: 5Gi -
строка или числоspec.sizingPolicies.memory.min
Обязательный параметр
Нижний предел настройки памятиШаблон:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$Пример:
min: 128Mi -
строка или числоspec.sizingPolicies.memory.stepШаг настройки памяти
Шаблон:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$Пример:
step: 1Gi
-
-
-
массив объектовspec.tolerationsTolerations подов сервиса
-
строкаspec.tolerations.effectEffect указывает эффект taint для сопоставления. Пустое значение означает сопоставление со всеми эффектами taint. При указании допустимые значения: NoSchedule, PreferNoSchedule и NoExecute.
-
строкаspec.tolerations.keyKey — ключ taint, к которому применяется toleration. Пустое значение означает сопоставление со всеми ключами taint. Если ключ пустой, operator должен быть Exists; эта комбинация означает сопоставление со всеми значениями и всеми ключами.
-
строкаspec.tolerations.operatorOperator представляет отношение ключа к значению. Допустимые операторы: Exists и Equal. По умолчанию Equal. Exists эквивалентен подстановочному знаку для value, поэтому под может толерировать все taints определённой категории.
-
целочисленныйspec.tolerations.tolerationSecondsTolerationSeconds — период времени, в течение которого toleration (которая должна иметь эффект NoExecute, иначе это поле игнорируется) толерирует taint. По умолчанию не установлено, что означает толерировать taint бессрочно (не вытеснять). Нулевые и отрицательные значения интерпретируются системой как 0 (немедленное вытеснение).
-
строкаspec.tolerations.valueValue — значение taint, с которым сопоставляется toleration. Если operator Exists, value должно быть пустым, иначе — обычная строка.
-
-
объектspec.topology
Обязательный параметр
Топология сервиса-
массив строкspec.topology.allowedTopologies
Обязательный параметр
-
строкаspec.topology.allowedTopologies.Элемент массива
Допустимые значения:
Ignored,Zonal,TransZonal
-
-
массив строкspec.topology.allowedZones
По умолчанию:
[] -
строкаspec.topology.defaultTopology
Обязательный параметр
Допустимые значения:
Ignored,Zonal,TransZonal
-
-
массив объектовspec.validationsСписок правил валидации, применяемых к пользовательской конфигурации Memcached
-
строкаspec.validations.message
-
строкаspec.validations.rule
-
-
-
объектstatusMemcachedClassStatus определяет наблюдаемое состояние MemcachedClass
Memcached
Scope: Namespaced
-
строкаapiVersionAPIVersion определяет версионную схему этого представления объекта. Серверы должны преобразовывать распознанные схемы в последнее внутреннее значение и могут отклонять нераспознанные значения. Подробнее: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
-
строкаkindKind — это строковое значение, представляющее REST-ресурс, который представляет этот объект. Серверы могут определить это из конечной точки, на которую клиент отправляет запросы. Не может быть обновлено. В CamelCase. Подробнее: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
объектmetadata
-
объектspec
-
объектspec.configurationКонфигурация сервера Memcached
-
булевыйspec.configuration.lockMemoryБлокировка памяти (lockMemory) для использования только сервером Memcached
Пример:
lockMemory: true || false -
строка или числоspec.configuration.maxItemSizeMaxItemSize — максимальный размер элемента в Memcached
Шаблон:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$Пример:
maxItemSize: 1Mi, 1Gi, 1k, 1Ki -
строкаspec.configuration.slabMinSizeSlabMinSize — размер slab в сервере Memcached (Short: 50 байт, Medium: 100 байт, Long: 200 байт)
Допустимые значения:
Short,Medium,LongПример:
slabMinSize: short
-
-
объектspec.group
-
целочисленныйspec.group.size
Обязательный параметр
По умолчанию:
2Допустимые значения:
2 <= X -
строкаspec.group.topology
Настройка топологии определяет, как планировать размещение кластера:
- Zonal: кластер будет развёрнут в одной зоне, если это возможно;
- TransZonal: кластер будет развёрнут в разных зонах, если это возможно;
- Ignored: кластер будет развёрнут по правилам планирования k8s по умолчанию, будет обеспечено только разделение по узлам.
Допустимые значения:
Ignored,Zonal,TransZonalПример:
topology: Ignored
-
-
объектspec.instance
Обязательный параметр
Конфигурация экземпляра Memcached-
объект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
Обязательный параметр
Имя MemcachedClass, которое должно быть указано для валидации настроекПо умолчанию:
defaultПример:
memcachedClassName: minimal -
строкаspec.type
Обязательный параметр
Тип развёртывания MemcachedПо умолчанию:
StandaloneДопустимые значения:
Standalone,GroupПример:
type: Standalone
-
-
объектstatusMemcachedStatus определяет наблюдаемое состояние Memcached
-
массив объектовstatus.conditions
-
строкаstatus.conditions.lastTransitionTime
-
строкаstatus.conditions.messageЧеловекочитаемое сообщение с подробностями о переходе состояния
-
целочисленныйstatus.conditions.observedGenerationНаблюдаемое поколение (observed generation)
-
строкаstatus.conditions.reasonПричина последнего перехода состояния
-
строкаstatus.conditions.statusСтатус условия — True, False или Unknown
-
строкаstatus.conditions.typeТип условия
-
-
объектstatus.lastValidConfiguration
-
объектstatus.lastValidConfiguration.group
-
целочисленныйstatus.lastValidConfiguration.group.size
Обязательный параметр
По умолчанию:
2Допустимые значения:
2 <= X -
строкаstatus.lastValidConfiguration.group.topology
Настройка топологии определяет, как планировать размещение кластера:
- Zonal: кластер будет развёрнут в одной зоне, если это возможно;
- TransZonal: кластер будет развёрнут в разных зонах, если это возможно;
- Ignored: кластер будет развёрнут по правилам планирования k8s по умолчанию, будет обеспечено только разделение по узлам.
Допустимые значения:
Ignored,Zonal,TransZonalПример:
topology: Ignored
-
-
объектstatus.lastValidConfiguration.instance
-
объектstatus.lastValidConfiguration.instance.cpu
Обязательный параметр
-
строкаstatus.lastValidConfiguration.instance.cpu.coreFraction
Обязательный параметр
Шаблон:
^(100|[0-9]|[1-9][0-9])%$Пример:
coreFraction: '''1%''' -
целочисленныйstatus.lastValidConfiguration.instance.cpu.cores
Обязательный параметр
Пример:
cores: 1
-
-
объектstatus.lastValidConfiguration.instance.memory
Обязательный параметр
-
строка или числоstatus.lastValidConfiguration.instance.memory.size
Обязательный параметр
Шаблон:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
-
-
-
булевыйstatus.lastValidConfiguration.lockMemory
Обязательный параметр
-
целочисленныйstatus.lastValidConfiguration.maxConnections
Обязательный параметр
-
строка или числоstatus.lastValidConfiguration.maxItemSize
Обязательный параметр
Шаблон:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ -
объектstatus.lastValidConfiguration.schedulingТип выходных данных планирования
-
объектstatus.lastValidConfiguration.scheduling.affinityAffinity is a group of affinity scheduling rules.
-
объектstatus.lastValidConfiguration.scheduling.affinity.nodeAffinityDescribes node affinity scheduling rules for the pod.
-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.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.
-
объектstatus.lastValidConfiguration.scheduling.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preferenceA node selector term, associated with the corresponding weight.
-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchExpressionsA list of node selector requirements by node’s labels.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchExpressions.keyThe label key that the selector applies to.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchExpressions.operatorRepresents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.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.
-
-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchFieldsA list of node selector requirements by node’s fields.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchFields.keyThe label key that the selector applies to.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchFields.operatorRepresents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.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.
-
-
-
целочисленныйstatus.lastValidConfiguration.scheduling.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.weightWeight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
-
-
объектstatus.lastValidConfiguration.scheduling.affinity.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.
-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms
Обязательный параметр
Required. A list of node selector terms. The terms are ORed.-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressionsA list of node selector requirements by node’s labels.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressions.keyThe label key that the selector applies to.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressions.operatorRepresents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.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.
-
-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFieldsA list of node selector requirements by node’s fields.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFields.keyThe label key that the selector applies to.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFields.operatorRepresents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.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.
-
-
-
-
-
объектstatus.lastValidConfiguration.scheduling.affinity.podAffinityDescribes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.podAffinity.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 has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.
-
объектstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTermRequired. A pod affinity term, associated with the corresponding weight.
-
объектstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelectorA label query over a set of resources, in this case pods. If it’s null, this PodAffinityTerm matches with no Pods.
-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.matchExpressionsmatchExpressions is a list of label selector requirements. The requirements are ANDed.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.matchExpressions.keykey is the label key that the selector applies to.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.matchExpressions.operatoroperator represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.matchExpressions.valuesvalues is an 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. This array is replaced during a strategic merge patch.
-
-
объектstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.matchLabelsmatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is “key”, the operator is “In”, and the values array contains only “value”. The requirements are ANDed.
-
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.matchLabelKeysMatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with
labelSelectoraskey in (value)to select the group of existing pods which pods will be taken into consideration for the incoming pod’s pod (anti) affinity. Keys that don’t exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn’t set. -
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.mismatchLabelKeysMismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with
labelSelectoraskey notin (value)to select the group of existing pods which pods will be taken into consideration for the incoming pod’s pod (anti) affinity. Keys that don’t exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn’t set. -
объектstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelectorA label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means “this pod’s namespace”. An empty selector ({}) matches all namespaces.
-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.matchExpressionsmatchExpressions is a list of label selector requirements. The requirements are ANDed.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.matchExpressions.keykey is the label key that the selector applies to.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.matchExpressions.operatoroperator represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.matchExpressions.valuesvalues is an 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. This array is replaced during a strategic merge patch.
-
-
объектstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.matchLabelsmatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is “key”, the operator is “In”, and the values array contains only “value”. The requirements are ANDed.
-
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespacesnamespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means “this pod’s namespace”.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.topologyKey
Обязательный параметр
This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.
-
-
целочисленныйstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.weightweight associated with matching the corresponding podAffinityTerm, in the range 1-100.
-
-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.podAffinity.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 a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.
-
объектstatus.lastValidConfiguration.scheduling.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelectorA label query over a set of resources, in this case pods. If it’s null, this PodAffinityTerm matches with no Pods.
-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.matchExpressionsmatchExpressions is a list of label selector requirements. The requirements are ANDed.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.matchExpressions.keykey is the label key that the selector applies to.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.matchExpressions.operatoroperator represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.matchExpressions.valuesvalues is an 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. This array is replaced during a strategic merge patch.
-
-
объектstatus.lastValidConfiguration.scheduling.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.matchLabelsmatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is “key”, the operator is “In”, and the values array contains only “value”. The requirements are ANDed.
-
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.matchLabelKeysMatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with
labelSelectoraskey in (value)to select the group of existing pods which pods will be taken into consideration for the incoming pod’s pod (anti) affinity. Keys that don’t exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn’t set. -
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.mismatchLabelKeysMismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with
labelSelectoraskey notin (value)to select the group of existing pods which pods will be taken into consideration for the incoming pod’s pod (anti) affinity. Keys that don’t exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn’t set. -
объектstatus.lastValidConfiguration.scheduling.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelectorA label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means “this pod’s namespace”. An empty selector ({}) matches all namespaces.
-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.matchExpressionsmatchExpressions is a list of label selector requirements. The requirements are ANDed.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.matchExpressions.keykey is the label key that the selector applies to.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.matchExpressions.operatoroperator represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.matchExpressions.valuesvalues is an 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. This array is replaced during a strategic merge patch.
-
-
объектstatus.lastValidConfiguration.scheduling.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.matchLabelsmatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is “key”, the operator is “In”, and the values array contains only “value”. The requirements are ANDed.
-
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespacesnamespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means “this pod’s namespace”.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.topologyKeyThis pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.
-
-
-
объектstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinityDescribes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecutionThe scheduler will prefer to schedule pods to nodes that satisfy the anti-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 anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and subtracting “weight” from the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.
-
объектstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTermRequired. A pod affinity term, associated with the corresponding weight.
-
объектstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelectorA label query over a set of resources, in this case pods. If it’s null, this PodAffinityTerm matches with no Pods.
-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.matchExpressionsmatchExpressions is a list of label selector requirements. The requirements are ANDed.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.matchExpressions.keykey is the label key that the selector applies to.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.matchExpressions.operatoroperator represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.matchExpressions.valuesvalues is an 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. This array is replaced during a strategic merge patch.
-
-
объектstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.matchLabelsmatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is “key”, the operator is “In”, and the values array contains only “value”. The requirements are ANDed.
-
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.matchLabelKeysMatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with
labelSelectoraskey in (value)to select the group of existing pods which pods will be taken into consideration for the incoming pod’s pod (anti) affinity. Keys that don’t exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn’t set. -
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.mismatchLabelKeysMismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with
labelSelectoraskey notin (value)to select the group of existing pods which pods will be taken into consideration for the incoming pod’s pod (anti) affinity. Keys that don’t exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn’t set. -
объектstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelectorA label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means “this pod’s namespace”. An empty selector ({}) matches all namespaces.
-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.matchExpressionsmatchExpressions is a list of label selector requirements. The requirements are ANDed.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.matchExpressions.keykey is the label key that the selector applies to.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.matchExpressions.operatoroperator represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.matchExpressions.valuesvalues is an 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. This array is replaced during a strategic merge patch.
-
-
объектstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.matchLabelsmatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is “key”, the operator is “In”, and the values array contains only “value”. The requirements are ANDed.
-
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespacesnamespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means “this pod’s namespace”.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.topologyKey
Обязательный параметр
This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.
-
-
целочисленныйstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.weightweight associated with matching the corresponding podAffinityTerm, in the range 1-100.
-
-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecutionIf the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.
-
объектstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelectorA label query over a set of resources, in this case pods. If it’s null, this PodAffinityTerm matches with no Pods.
-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.matchExpressionsmatchExpressions is a list of label selector requirements. The requirements are ANDed.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.matchExpressions.keykey is the label key that the selector applies to.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.matchExpressions.operatoroperator represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.matchExpressions.valuesvalues is an 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. This array is replaced during a strategic merge patch.
-
-
объектstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.matchLabelsmatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is “key”, the operator is “In”, and the values array contains only “value”. The requirements are ANDed.
-
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.matchLabelKeysMatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with
labelSelectoraskey in (value)to select the group of existing pods which pods will be taken into consideration for the incoming pod’s pod (anti) affinity. Keys that don’t exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn’t set. -
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.mismatchLabelKeysMismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with
labelSelectoraskey notin (value)to select the group of existing pods which pods will be taken into consideration for the incoming pod’s pod (anti) affinity. Keys that don’t exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn’t set. -
объектstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelectorA label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means “this pod’s namespace”. An empty selector ({}) matches all namespaces.
-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.matchExpressionsmatchExpressions is a list of label selector requirements. The requirements are ANDed.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.matchExpressions.keykey is the label key that the selector applies to.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.matchExpressions.operatoroperator represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.matchExpressions.valuesvalues is an 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. This array is replaced during a strategic merge patch.
-
-
объектstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.matchLabelsmatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is “key”, the operator is “In”, and the values array contains only “value”. The requirements are ANDed.
-
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespacesnamespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means “this pod’s namespace”.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.topologyKeyThis pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.
-
-
-
-
объектstatus.lastValidConfiguration.scheduling.nodeSelector
-
массив объектовstatus.lastValidConfiguration.scheduling.tolerations
-
строкаstatus.lastValidConfiguration.scheduling.tolerations.effectEffect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
-
строкаstatus.lastValidConfiguration.scheduling.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.
-
строкаstatus.lastValidConfiguration.scheduling.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.
-
целочисленныйstatus.lastValidConfiguration.scheduling.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.
-
строкаstatus.lastValidConfiguration.scheduling.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.
-
-
массив строкstatus.lastValidConfiguration.scheduling.warnings
-
-
строкаstatus.lastValidConfiguration.slabMinSize
Обязательный параметр
-
целочисленныйstatus.lastValidConfiguration.threads
Обязательный параметр
-
строкаstatus.lastValidConfiguration.type
Обязательный параметр
Допустимые значения:
Standalone,Group
-
-
строкаstatus.lastValidatedConfigurationHash
-
-
строкаapiVersionAPIVersion определяет версионную схему этого представления объекта. Серверы должны преобразовывать распознанные схемы в последнее внутреннее значение и могут отклонять нераспознанные значения. Подробнее: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
-
строкаkindKind — это строковое значение, представляющее REST-ресурс, который представляет этот объект. Серверы могут определить это из конечной точки, на которую клиент отправляет запросы. Не может быть обновлено. В CamelCase. Подробнее: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
объектmetadata
-
объектspec
-
объектspec.configurationКонфигурация сервера Memcached
-
булевыйspec.configuration.lockMemoryБлокировка памяти (lockMemory) для использования только сервером Memcached
Пример:
lockMemory: true || false -
строка или числоspec.configuration.maxItemSizeMaxItemSize — максимальный размер элемента в Memcached
Шаблон:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$Пример:
maxItemSize: 1Mi, 1Gi, 1k, 1Ki -
строкаspec.configuration.slabMinSizeSlabMinSize — размер slab в сервере Memcached (Short: 50 байт, Medium: 100 байт, Long: 200 байт)
Допустимые значения:
Short,Medium,LongПример:
slabMinSize: short
-
-
объектspec.group
-
целочисленныйspec.group.size
Обязательный параметр
По умолчанию:
2Допустимые значения:
2 <= X -
строкаspec.group.topology
Настройка топологии определяет, как планировать размещение кластера:
- Zonal: кластер будет развёрнут в одной зоне, если это возможно;
- TransZonal: кластер будет развёрнут в разных зонах, если это возможно;
- Ignored: кластер будет развёрнут по правилам планирования k8s по умолчанию, будет обеспечено только разделение по узлам.
Допустимые значения:
Ignored,Zonal,TransZonalПример:
topology: Ignored
-
-
объектspec.instance
Обязательный параметр
Конфигурация экземпляра Memcached-
объект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
Обязательный параметр
Имя MemcachedClass, которое должно быть указано для валидации настроекПо умолчанию:
defaultПример:
memcachedClassName: minimal -
строкаspec.type
Обязательный параметр
Тип развёртывания MemcachedПо умолчанию:
StandaloneДопустимые значения:
Standalone,GroupПример:
type: Standalone
-
-
объектstatusMemcachedStatus определяет наблюдаемое состояние Memcached
-
массив объектовstatus.conditions
-
строкаstatus.conditions.lastTransitionTime
-
строкаstatus.conditions.messageЧеловекочитаемое сообщение с подробностями о переходе состояния
-
целочисленныйstatus.conditions.observedGenerationНаблюдаемое поколение (observed generation)
-
строкаstatus.conditions.reasonПричина последнего перехода состояния
-
строкаstatus.conditions.statusСтатус условия — True, False или Unknown
-
строкаstatus.conditions.typeТип условия
-
-
объектstatus.lastValidConfiguration
-
объектstatus.lastValidConfiguration.group
-
целочисленныйstatus.lastValidConfiguration.group.size
Обязательный параметр
По умолчанию:
2Допустимые значения:
2 <= X -
строкаstatus.lastValidConfiguration.group.topology
Настройка топологии определяет, как планировать размещение кластера:
- Zonal: кластер будет развёрнут в одной зоне, если это возможно;
- TransZonal: кластер будет развёрнут в разных зонах, если это возможно;
- Ignored: кластер будет развёрнут по правилам планирования k8s по умолчанию, будет обеспечено только разделение по узлам.
Допустимые значения:
Ignored,Zonal,TransZonalПример:
topology: Ignored
-
-
объектstatus.lastValidConfiguration.instance
-
объектstatus.lastValidConfiguration.instance.cpu
Обязательный параметр
-
целочисленныйstatus.lastValidConfiguration.instance.cpu.coreFraction
Обязательный параметр
Допустимые значения:
1 <= X <= 100Пример:
coreFraction: 1 -
целочисленныйstatus.lastValidConfiguration.instance.cpu.cores
Обязательный параметр
Пример:
cores: 1
-
-
объектstatus.lastValidConfiguration.instance.memory
Обязательный параметр
-
строка или числоstatus.lastValidConfiguration.instance.memory.size
Обязательный параметр
Шаблон:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
-
-
-
булевыйstatus.lastValidConfiguration.lockMemory
Обязательный параметр
-
целочисленныйstatus.lastValidConfiguration.maxConnections
Обязательный параметр
-
строка или числоstatus.lastValidConfiguration.maxItemSize
Обязательный параметр
Шаблон:
^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ -
объектstatus.lastValidConfiguration.schedulingТип выходных данных планирования
-
объектstatus.lastValidConfiguration.scheduling.affinityAffinity is a group of affinity scheduling rules.
-
объектstatus.lastValidConfiguration.scheduling.affinity.nodeAffinityDescribes node affinity scheduling rules for the pod.
-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.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.
-
объектstatus.lastValidConfiguration.scheduling.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preferenceA node selector term, associated with the corresponding weight.
-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchExpressionsA list of node selector requirements by node’s labels.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchExpressions.keyThe label key that the selector applies to.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchExpressions.operatorRepresents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.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.
-
-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchFieldsA list of node selector requirements by node’s fields.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchFields.keyThe label key that the selector applies to.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchFields.operatorRepresents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.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.
-
-
-
целочисленныйstatus.lastValidConfiguration.scheduling.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.weightWeight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
-
-
объектstatus.lastValidConfiguration.scheduling.affinity.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.
-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms
Обязательный параметр
Required. A list of node selector terms. The terms are ORed.-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressionsA list of node selector requirements by node’s labels.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressions.keyThe label key that the selector applies to.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressions.operatorRepresents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.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.
-
-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFieldsA list of node selector requirements by node’s fields.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFields.keyThe label key that the selector applies to.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFields.operatorRepresents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.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.
-
-
-
-
-
объектstatus.lastValidConfiguration.scheduling.affinity.podAffinityDescribes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.podAffinity.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 has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.
-
объектstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTermRequired. A pod affinity term, associated with the corresponding weight.
-
объектstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelectorA label query over a set of resources, in this case pods. If it’s null, this PodAffinityTerm matches with no Pods.
-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.matchExpressionsmatchExpressions is a list of label selector requirements. The requirements are ANDed.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.matchExpressions.keykey is the label key that the selector applies to.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.matchExpressions.operatoroperator represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.matchExpressions.valuesvalues is an 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. This array is replaced during a strategic merge patch.
-
-
объектstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.matchLabelsmatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is “key”, the operator is “In”, and the values array contains only “value”. The requirements are ANDed.
-
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.matchLabelKeysMatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with
labelSelectoraskey in (value)to select the group of existing pods which pods will be taken into consideration for the incoming pod’s pod (anti) affinity. Keys that don’t exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn’t set. -
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.mismatchLabelKeysMismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with
labelSelectoraskey notin (value)to select the group of existing pods which pods will be taken into consideration for the incoming pod’s pod (anti) affinity. Keys that don’t exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn’t set. -
объектstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelectorA label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means “this pod’s namespace”. An empty selector ({}) matches all namespaces.
-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.matchExpressionsmatchExpressions is a list of label selector requirements. The requirements are ANDed.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.matchExpressions.keykey is the label key that the selector applies to.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.matchExpressions.operatoroperator represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.matchExpressions.valuesvalues is an 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. This array is replaced during a strategic merge patch.
-
-
объектstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.matchLabelsmatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is “key”, the operator is “In”, and the values array contains only “value”. The requirements are ANDed.
-
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespacesnamespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means “this pod’s namespace”.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.topologyKey
Обязательный параметр
This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.
-
-
целочисленныйstatus.lastValidConfiguration.scheduling.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution.weightweight associated with matching the corresponding podAffinityTerm, in the range 1-100.
-
-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.podAffinity.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 a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.
-
объектstatus.lastValidConfiguration.scheduling.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelectorA label query over a set of resources, in this case pods. If it’s null, this PodAffinityTerm matches with no Pods.
-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.matchExpressionsmatchExpressions is a list of label selector requirements. The requirements are ANDed.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.matchExpressions.keykey is the label key that the selector applies to.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.matchExpressions.operatoroperator represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.matchExpressions.valuesvalues is an 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. This array is replaced during a strategic merge patch.
-
-
объектstatus.lastValidConfiguration.scheduling.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.matchLabelsmatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is “key”, the operator is “In”, and the values array contains only “value”. The requirements are ANDed.
-
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.matchLabelKeysMatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with
labelSelectoraskey in (value)to select the group of existing pods which pods will be taken into consideration for the incoming pod’s pod (anti) affinity. Keys that don’t exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn’t set. -
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.mismatchLabelKeysMismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with
labelSelectoraskey notin (value)to select the group of existing pods which pods will be taken into consideration for the incoming pod’s pod (anti) affinity. Keys that don’t exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn’t set. -
объектstatus.lastValidConfiguration.scheduling.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelectorA label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means “this pod’s namespace”. An empty selector ({}) matches all namespaces.
-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.matchExpressionsmatchExpressions is a list of label selector requirements. The requirements are ANDed.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.matchExpressions.keykey is the label key that the selector applies to.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.matchExpressions.operatoroperator represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.matchExpressions.valuesvalues is an 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. This array is replaced during a strategic merge patch.
-
-
объектstatus.lastValidConfiguration.scheduling.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.matchLabelsmatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is “key”, the operator is “In”, and the values array contains only “value”. The requirements are ANDed.
-
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespacesnamespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means “this pod’s namespace”.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAffinity.requiredDuringSchedulingIgnoredDuringExecution.topologyKeyThis pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.
-
-
-
объектstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinityDescribes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecutionThe scheduler will prefer to schedule pods to nodes that satisfy the anti-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 anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and subtracting “weight” from the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.
-
объектstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTermRequired. A pod affinity term, associated with the corresponding weight.
-
объектstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelectorA label query over a set of resources, in this case pods. If it’s null, this PodAffinityTerm matches with no Pods.
-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.matchExpressionsmatchExpressions is a list of label selector requirements. The requirements are ANDed.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.matchExpressions.keykey is the label key that the selector applies to.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.matchExpressions.operatoroperator represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.matchExpressions.valuesvalues is an 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. This array is replaced during a strategic merge patch.
-
-
объектstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.labelSelector.matchLabelsmatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is “key”, the operator is “In”, and the values array contains only “value”. The requirements are ANDed.
-
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.matchLabelKeysMatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with
labelSelectoraskey in (value)to select the group of existing pods which pods will be taken into consideration for the incoming pod’s pod (anti) affinity. Keys that don’t exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn’t set. -
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.mismatchLabelKeysMismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with
labelSelectoraskey notin (value)to select the group of existing pods which pods will be taken into consideration for the incoming pod’s pod (anti) affinity. Keys that don’t exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn’t set. -
объектstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelectorA label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means “this pod’s namespace”. An empty selector ({}) matches all namespaces.
-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.matchExpressionsmatchExpressions is a list of label selector requirements. The requirements are ANDed.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.matchExpressions.keykey is the label key that the selector applies to.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.matchExpressions.operatoroperator represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.matchExpressions.valuesvalues is an 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. This array is replaced during a strategic merge patch.
-
-
объектstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespaceSelector.matchLabelsmatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is “key”, the operator is “In”, and the values array contains only “value”. The requirements are ANDed.
-
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.namespacesnamespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means “this pod’s namespace”.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.podAffinityTerm.topologyKey
Обязательный параметр
This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.
-
-
целочисленныйstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution.weightweight associated with matching the corresponding podAffinityTerm, in the range 1-100.
-
-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecutionIf the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.
-
объектstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelectorA label query over a set of resources, in this case pods. If it’s null, this PodAffinityTerm matches with no Pods.
-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.matchExpressionsmatchExpressions is a list of label selector requirements. The requirements are ANDed.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.matchExpressions.keykey is the label key that the selector applies to.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.matchExpressions.operatoroperator represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.matchExpressions.valuesvalues is an 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. This array is replaced during a strategic merge patch.
-
-
объектstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.labelSelector.matchLabelsmatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is “key”, the operator is “In”, and the values array contains only “value”. The requirements are ANDed.
-
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.matchLabelKeysMatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with
labelSelectoraskey in (value)to select the group of existing pods which pods will be taken into consideration for the incoming pod’s pod (anti) affinity. Keys that don’t exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn’t set. -
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.mismatchLabelKeysMismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with
labelSelectoraskey notin (value)to select the group of existing pods which pods will be taken into consideration for the incoming pod’s pod (anti) affinity. Keys that don’t exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn’t set. -
объектstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelectorA label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means “this pod’s namespace”. An empty selector ({}) matches all namespaces.
-
массив объектовstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.matchExpressionsmatchExpressions is a list of label selector requirements. The requirements are ANDed.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.matchExpressions.keykey is the label key that the selector applies to.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.matchExpressions.operatoroperator represents a key’s relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.matchExpressions.valuesvalues is an 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. This array is replaced during a strategic merge patch.
-
-
объектstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespaceSelector.matchLabelsmatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is “key”, the operator is “In”, and the values array contains only “value”. The requirements are ANDed.
-
-
массив строкstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.namespacesnamespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means “this pod’s namespace”.
-
строкаstatus.lastValidConfiguration.scheduling.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution.topologyKeyThis pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.
-
-
-
-
объектstatus.lastValidConfiguration.scheduling.nodeSelector
-
массив объектовstatus.lastValidConfiguration.scheduling.tolerations
-
строкаstatus.lastValidConfiguration.scheduling.tolerations.effectEffect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
-
строкаstatus.lastValidConfiguration.scheduling.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.
-
строкаstatus.lastValidConfiguration.scheduling.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.
-
целочисленныйstatus.lastValidConfiguration.scheduling.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.
-
строкаstatus.lastValidConfiguration.scheduling.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.
-
-
массив строкstatus.lastValidConfiguration.scheduling.warnings
-
-
строкаstatus.lastValidConfiguration.slabMinSize
Обязательный параметр
-
целочисленныйstatus.lastValidConfiguration.threads
Обязательный параметр
-
строкаstatus.lastValidConfiguration.type
Обязательный параметр
Допустимые значения:
Standalone,Group
-
-
строкаstatus.lastValidatedConfigurationHash
-