From 3d4c04dfda0585ce18cc4dfb8692b9e1d7e0d38e Mon Sep 17 00:00:00 2001 From: Konstantin Khlebnikov Date: Fri, 17 Jan 2025 17:07:17 +0100 Subject: [PATCH] Add StatefulSet UpdateStrategy --- api/v1/ytsaurus_types.go | 38 +- api/v1/zz_generated.deepcopy.go | 36 +- ...cluster.ytsaurus.tech_remotedatanodes.yaml | 28 ++ ...cluster.ytsaurus.tech_remoteexecnodes.yaml | 28 ++ ...uster.ytsaurus.tech_remotetabletnodes.yaml | 28 ++ .../cluster.ytsaurus.tech_remoteytsaurus.yaml | 28 ++ .../bases/cluster.ytsaurus.tech_ytsaurus.yaml | 448 ++++++++++++++++++ docs/api.md | 182 +++---- pkg/components/server.go | 4 + ...remotedatanodes.cluster.ytsaurus.tech.yaml | 28 ++ ...remoteexecnodes.cluster.ytsaurus.tech.yaml | 28 ++ ...motetabletnodes.cluster.ytsaurus.tech.yaml | 28 ++ .../remoteytsaurus.cluster.ytsaurus.tech.yaml | 28 ++ .../crds/ytsaurus.cluster.ytsaurus.tech.yaml | 448 ++++++++++++++++++ 14 files changed, 1272 insertions(+), 108 deletions(-) diff --git a/api/v1/ytsaurus_types.go b/api/v1/ytsaurus_types.go index a67d09fd..d7c7e3b3 100644 --- a/api/v1/ytsaurus_types.go +++ b/api/v1/ytsaurus_types.go @@ -17,6 +17,7 @@ limitations under the License. package v1 import ( + appsv1 "k8s.io/api/apps/v1" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" @@ -245,21 +246,35 @@ type HealthcheckProbeParams struct { } type InstanceSpec struct { + // Desired number of instances. + InstanceCount int32 `json:"instanceCount,omitempty"` + + // Acceptable number of instances. + MinReadyInstanceCount *int `json:"minReadyInstanceCount,omitempty"` + + // StatefulSet update strategy. + //+optional + UpdateStrategy *appsv1.StatefulSetUpdateStrategy `json:"updateStrategy,omitempty"` + + // Parameters for periodic probe of instance readiness. + //+optional + ReadinessProbeParams *HealthcheckProbeParams `json:"readinessProbeParams,omitempty"` + + // Optional duration in seconds the pod needs to terminate gracefully. Defaults to 30 seconds. + //+optional + TerminationGracePeriodSeconds *int64 `json:"terminationGracePeriodSeconds,omitempty"` + // Overrides coreImage for component. //+optional Image *string `json:"image,omitempty"` // Specifies wrapper for component container command. //+optional - EntrypointWrapper []string `json:"entrypointWrapper,omitempty"` - Volumes []corev1.Volume `json:"volumes,omitempty"` - VolumeMounts []corev1.VolumeMount `json:"volumeMounts,omitempty"` - //+optional - ReadinessProbeParams *HealthcheckProbeParams `json:"readinessProbeParams,omitempty"` - Resources corev1.ResourceRequirements `json:"resources,omitempty"` - InstanceCount int32 `json:"instanceCount,omitempty"` - MinReadyInstanceCount *int `json:"minReadyInstanceCount,omitempty"` - Locations []LocationSpec `json:"locations,omitempty"` - VolumeClaimTemplates []EmbeddedPersistentVolumeClaim `json:"volumeClaimTemplates,omitempty"` + EntrypointWrapper []string `json:"entrypointWrapper,omitempty"` + Volumes []corev1.Volume `json:"volumes,omitempty"` + VolumeMounts []corev1.VolumeMount `json:"volumeMounts,omitempty"` + Resources corev1.ResourceRequirements `json:"resources,omitempty"` + Locations []LocationSpec `json:"locations,omitempty"` + VolumeClaimTemplates []EmbeddedPersistentVolumeClaim `json:"volumeClaimTemplates,omitempty"` //+optional RuntimeClassName *string `json:"runtimeClassName,omitempty"` // Deprecated: use Affinity.PodAntiAffinity instead. @@ -279,9 +294,6 @@ type InstanceSpec struct { // SetHostnameAsFQDN indicates whether to set the hostname as FQDN. //+kubebuilder:default:=true SetHostnameAsFQDN *bool `json:"setHostnameAsFqdn,omitempty"` - // Optional duration in seconds the pod needs to terminate gracefully. - //+optional - TerminationGracePeriodSeconds *int64 `json:"terminationGracePeriodSeconds,omitempty"` // Component config for native RPC bus transport. //+optional NativeTransport *RPCTransportSpec `json:"nativeTransport,omitempty"` diff --git a/api/v1/zz_generated.deepcopy.go b/api/v1/zz_generated.deepcopy.go index 8b182c47..44410519 100644 --- a/api/v1/zz_generated.deepcopy.go +++ b/api/v1/zz_generated.deepcopy.go @@ -21,6 +21,7 @@ limitations under the License. package v1 import ( + appsv1 "k8s.io/api/apps/v1" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" @@ -624,6 +625,26 @@ func (in *HealthcheckProbeParams) DeepCopy() *HealthcheckProbeParams { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *InstanceSpec) DeepCopyInto(out *InstanceSpec) { *out = *in + if in.MinReadyInstanceCount != nil { + in, out := &in.MinReadyInstanceCount, &out.MinReadyInstanceCount + *out = new(int) + **out = **in + } + if in.UpdateStrategy != nil { + in, out := &in.UpdateStrategy, &out.UpdateStrategy + *out = new(appsv1.StatefulSetUpdateStrategy) + (*in).DeepCopyInto(*out) + } + if in.ReadinessProbeParams != nil { + in, out := &in.ReadinessProbeParams, &out.ReadinessProbeParams + *out = new(HealthcheckProbeParams) + **out = **in + } + if in.TerminationGracePeriodSeconds != nil { + in, out := &in.TerminationGracePeriodSeconds, &out.TerminationGracePeriodSeconds + *out = new(int64) + **out = **in + } if in.Image != nil { in, out := &in.Image, &out.Image *out = new(string) @@ -648,17 +669,7 @@ func (in *InstanceSpec) DeepCopyInto(out *InstanceSpec) { (*in)[i].DeepCopyInto(&(*out)[i]) } } - if in.ReadinessProbeParams != nil { - in, out := &in.ReadinessProbeParams, &out.ReadinessProbeParams - *out = new(HealthcheckProbeParams) - **out = **in - } in.Resources.DeepCopyInto(&out.Resources) - if in.MinReadyInstanceCount != nil { - in, out := &in.MinReadyInstanceCount, &out.MinReadyInstanceCount - *out = new(int) - **out = **in - } if in.Locations != nil { in, out := &in.Locations, &out.Locations *out = make([]LocationSpec, len(*in)) @@ -745,11 +756,6 @@ func (in *InstanceSpec) DeepCopyInto(out *InstanceSpec) { *out = new(bool) **out = **in } - if in.TerminationGracePeriodSeconds != nil { - in, out := &in.TerminationGracePeriodSeconds, &out.TerminationGracePeriodSeconds - *out = new(int64) - **out = **in - } if in.NativeTransport != nil { in, out := &in.NativeTransport, &out.NativeTransport *out = new(RPCTransportSpec) diff --git a/config/crd/bases/cluster.ytsaurus.tech_remotedatanodes.yaml b/config/crd/bases/cluster.ytsaurus.tech_remotedatanodes.yaml index fc122f8b..c7fb8fd6 100644 --- a/config/crd/bases/cluster.ytsaurus.tech_remotedatanodes.yaml +++ b/config/crd/bases/cluster.ytsaurus.tech_remotedatanodes.yaml @@ -744,6 +744,7 @@ spec: x-kubernetes-map-type: atomic type: array instanceCount: + description: Desired number of instances. format: int32 type: integer jobImage: @@ -866,6 +867,7 @@ spec: type: object type: array minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -914,6 +916,7 @@ spec: description: Name of the node rack. type: string readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -1088,6 +1091,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters when + Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be unavailable + during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object useIpv4: default: false type: boolean diff --git a/config/crd/bases/cluster.ytsaurus.tech_remoteexecnodes.yaml b/config/crd/bases/cluster.ytsaurus.tech_remoteexecnodes.yaml index 3cb38175..6d83acd1 100644 --- a/config/crd/bases/cluster.ytsaurus.tech_remoteexecnodes.yaml +++ b/config/crd/bases/cluster.ytsaurus.tech_remoteexecnodes.yaml @@ -749,6 +749,7 @@ spec: type: string type: array instanceCount: + description: Desired number of instances. format: int32 type: integer jobEnvironment: @@ -1051,6 +1052,7 @@ spec: type: object type: array minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -1102,6 +1104,7 @@ spec: description: Name of the node rack. type: string readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -1281,6 +1284,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters when + Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be unavailable + during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object useIpv4: default: false type: boolean diff --git a/config/crd/bases/cluster.ytsaurus.tech_remotetabletnodes.yaml b/config/crd/bases/cluster.ytsaurus.tech_remotetabletnodes.yaml index 9196c96a..53c2de93 100644 --- a/config/crd/bases/cluster.ytsaurus.tech_remotetabletnodes.yaml +++ b/config/crd/bases/cluster.ytsaurus.tech_remotetabletnodes.yaml @@ -744,6 +744,7 @@ spec: x-kubernetes-map-type: atomic type: array instanceCount: + description: Desired number of instances. format: int32 type: integer jobImage: @@ -866,6 +867,7 @@ spec: type: object type: array minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -914,6 +916,7 @@ spec: description: Name of the node rack. type: string readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -1088,6 +1091,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters when + Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be unavailable + during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object useIpv4: default: false type: boolean diff --git a/config/crd/bases/cluster.ytsaurus.tech_remoteytsaurus.yaml b/config/crd/bases/cluster.ytsaurus.tech_remoteytsaurus.yaml index 1412c3d6..306e38c2 100644 --- a/config/crd/bases/cluster.ytsaurus.tech_remoteytsaurus.yaml +++ b/config/crd/bases/cluster.ytsaurus.tech_remoteytsaurus.yaml @@ -705,6 +705,7 @@ spec: description: Overrides coreImage for component. type: string instanceCount: + description: Desired number of instances. format: int32 type: integer locations: @@ -822,6 +823,7 @@ spec: type: object type: array minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -863,6 +865,7 @@ spec: type: string type: object readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -1020,6 +1023,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters when + Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be unavailable + during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object volumeClaimTemplates: items: description: EmbeddedPersistentVolumeClaim is an embedded version diff --git a/config/crd/bases/cluster.ytsaurus.tech_ytsaurus.yaml b/config/crd/bases/cluster.ytsaurus.tech_ytsaurus.yaml index be4fe901..2a451225 100644 --- a/config/crd/bases/cluster.ytsaurus.tech_ytsaurus.yaml +++ b/config/crd/bases/cluster.ytsaurus.tech_ytsaurus.yaml @@ -771,6 +771,7 @@ spec: description: Overrides coreImage for component. type: string instanceCount: + description: Desired number of instances. format: int32 type: integer locations: @@ -889,6 +890,7 @@ spec: type: object type: array minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -931,6 +933,7 @@ spec: type: string type: object readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -1091,6 +1094,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters + when Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be unavailable + during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object volumeClaimTemplates: items: description: EmbeddedPersistentVolumeClaim is an embedded version @@ -3213,6 +3241,7 @@ spec: description: Overrides coreImage for component. type: string instanceCount: + description: Desired number of instances. format: int32 type: integer locations: @@ -3331,6 +3360,7 @@ spec: type: object type: array minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -3380,6 +3410,7 @@ spec: description: Name of the node rack. type: string readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -3545,6 +3576,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters + when Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be + unavailable during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object volumeClaimTemplates: items: description: EmbeddedPersistentVolumeClaim is an embedded @@ -5666,6 +5722,7 @@ spec: description: Overrides coreImage for component. type: string instanceCount: + description: Desired number of instances. format: int32 type: integer locations: @@ -5784,6 +5841,7 @@ spec: type: object type: array minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -5826,6 +5884,7 @@ spec: type: string type: object readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -5986,6 +6045,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters + when Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be unavailable + during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object volumeClaimTemplates: items: description: EmbeddedPersistentVolumeClaim is an embedded version @@ -8146,6 +8230,7 @@ spec: type: string type: array instanceCount: + description: Desired number of instances. format: int32 type: integer jobEnvironment: @@ -8446,6 +8531,7 @@ spec: type: object type: array minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -8498,6 +8584,7 @@ spec: description: Name of the node rack. type: string readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -8668,6 +8755,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters + when Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be + unavailable during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object volumeClaimTemplates: items: description: EmbeddedPersistentVolumeClaim is an embedded @@ -10812,6 +10924,7 @@ spec: description: Overrides coreImage for component. type: string instanceCount: + description: Desired number of instances. format: int32 type: integer locations: @@ -10930,6 +11043,7 @@ spec: type: object type: array minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -10972,6 +11086,7 @@ spec: type: string type: object readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -11156,6 +11271,31 @@ spec: type: object x-kubernetes-map-type: atomic type: object + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters + when Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be + unavailable during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object volumeClaimTemplates: items: description: EmbeddedPersistentVolumeClaim is an embedded @@ -13305,6 +13445,7 @@ spec: description: Overrides coreImage for component. type: string instanceCount: + description: Desired number of instances. format: int32 type: integer locations: @@ -13423,6 +13564,7 @@ spec: type: object type: array minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -13465,6 +13607,7 @@ spec: type: string type: object readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -13633,6 +13776,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters + when Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be + unavailable during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object volumeClaimTemplates: items: description: EmbeddedPersistentVolumeClaim is an embedded @@ -15763,6 +15931,7 @@ spec: description: Overrides coreImage for component. type: string instanceCount: + description: Desired number of instances. format: int32 type: integer locations: @@ -15881,6 +16050,7 @@ spec: type: object type: array minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -15923,6 +16093,7 @@ spec: type: string type: object readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -16083,6 +16254,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters + when Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be unavailable + during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object volumeClaimTemplates: items: description: EmbeddedPersistentVolumeClaim is an embedded version @@ -18273,6 +18469,7 @@ spec: description: Overrides coreImage for component. type: string instanceCount: + description: Desired number of instances. format: int32 type: integer locations: @@ -18395,6 +18592,7 @@ spec: maxSnapshotCountToKeep: type: integer minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -18437,6 +18635,7 @@ spec: type: string type: object readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -18602,6 +18801,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters + when Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be unavailable + during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object volumeClaimTemplates: items: description: EmbeddedPersistentVolumeClaim is an embedded version @@ -20716,6 +20940,7 @@ spec: description: Overrides coreImage for component. type: string instanceCount: + description: Desired number of instances. format: int32 type: integer locations: @@ -20834,6 +21059,7 @@ spec: type: object type: array minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -20876,6 +21102,7 @@ spec: type: string type: object readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -21036,6 +21263,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters + when Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be unavailable + during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object volumeClaimTemplates: items: description: EmbeddedPersistentVolumeClaim is an embedded version @@ -23148,6 +23400,7 @@ spec: description: Overrides coreImage for component. type: string instanceCount: + description: Desired number of instances. format: int32 type: integer locations: @@ -23266,6 +23519,7 @@ spec: type: object type: array minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -23308,6 +23562,7 @@ spec: type: string type: object readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -23468,6 +23723,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters + when Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be unavailable + during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object volumeClaimTemplates: items: description: EmbeddedPersistentVolumeClaim is an embedded version @@ -25588,6 +25868,7 @@ spec: description: Overrides coreImage for component. type: string instanceCount: + description: Desired number of instances. format: int32 type: integer locations: @@ -25706,6 +25987,7 @@ spec: type: object type: array minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -25751,6 +26033,7 @@ spec: type: string type: object readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -25943,6 +26226,31 @@ spec: type: object x-kubernetes-map-type: atomic type: object + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters + when Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be + unavailable during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object volumeClaimTemplates: items: description: EmbeddedPersistentVolumeClaim is an embedded @@ -28063,6 +28371,7 @@ spec: description: Overrides coreImage for component. type: string instanceCount: + description: Desired number of instances. format: int32 type: integer locations: @@ -28181,6 +28490,7 @@ spec: type: object type: array minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -28223,6 +28533,7 @@ spec: type: string type: object readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -28383,6 +28694,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters + when Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be unavailable + during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object volumeClaimTemplates: items: description: EmbeddedPersistentVolumeClaim is an embedded version @@ -30511,6 +30847,7 @@ spec: description: Overrides coreImage for component. type: string instanceCount: + description: Desired number of instances. format: int32 type: integer locations: @@ -30633,6 +30970,7 @@ spec: maxSnapshotCountToKeep: type: integer minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -30675,6 +31013,7 @@ spec: type: string type: object readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -30840,6 +31179,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters + when Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be + unavailable during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object volumeClaimTemplates: items: description: EmbeddedPersistentVolumeClaim is an embedded @@ -33098,6 +33462,7 @@ spec: description: Overrides coreImage for component. type: string instanceCount: + description: Desired number of instances. format: int32 type: integer locations: @@ -33216,6 +33581,7 @@ spec: type: object type: array minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -33265,6 +33631,7 @@ spec: description: Name of the node rack. type: string readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -33430,6 +33797,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters + when Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be + unavailable during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object volumeClaimTemplates: items: description: EmbeddedPersistentVolumeClaim is an embedded @@ -35558,6 +35950,7 @@ spec: description: Overrides coreImage for component. type: string instanceCount: + description: Desired number of instances. format: int32 type: integer locations: @@ -35680,6 +36073,7 @@ spec: format: int32 type: integer minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -35727,6 +36121,7 @@ spec: format: int32 type: integer readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -35895,6 +36290,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters + when Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be + unavailable during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object volumeClaimTemplates: items: description: EmbeddedPersistentVolumeClaim is an embedded @@ -38333,6 +38753,7 @@ spec: description: Overrides coreImage for component. type: string instanceCount: + description: Desired number of instances. format: int32 type: integer locations: @@ -38451,6 +38872,7 @@ spec: type: object type: array minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -38493,6 +38915,7 @@ spec: type: string type: object readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -38653,6 +39076,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters + when Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be unavailable + during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object volumeClaimTemplates: items: description: EmbeddedPersistentVolumeClaim is an embedded version diff --git a/docs/api.md b/docs/api.md index 841dddb0..a5f031dc 100644 --- a/docs/api.md +++ b/docs/api.md @@ -340,14 +340,16 @@ _Appears in:_ | Field | Description | Default | Validation | | --- | --- | --- | --- | +| `instanceCount` _integer_ | Desired number of instances. | | | +| `minReadyInstanceCount` _integer_ | Acceptable number of instances. | | | +| `updateStrategy` _[StatefulSetUpdateStrategy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#statefulsetupdatestrategy-v1-apps)_ | StatefulSet update strategy. | | | +| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | Parameters for periodic probe of instance readiness. | | | +| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. Defaults to 30 seconds. | | | | `image` _string_ | Overrides coreImage for component. | | | | `entrypointWrapper` _string array_ | Specifies wrapper for component container command. | | | | `volumes` _[Volume](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volume-v1-core) array_ | | | | | `volumeMounts` _[VolumeMount](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volumemount-v1-core) array_ | | | | -| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | | | | | `resources` _[ResourceRequirements](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#resourcerequirements-v1-core)_ | | | | -| `instanceCount` _integer_ | | | | -| `minReadyInstanceCount` _integer_ | | | | | `locations` _[LocationSpec](#locationspec) array_ | | | | | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | @@ -362,7 +364,6 @@ _Appears in:_ | `podLabels` _object (keys:string, values:string)_ | | | | | `podAnnotations` _object (keys:string, values:string)_ | | | | | `setHostnameAsFqdn` _boolean_ | SetHostnameAsFQDN indicates whether to set the hostname as FQDN. | true | | -| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. | | | | `nativeTransport` _[RPCTransportSpec](#rpctransportspec)_ | Component config for native RPC bus transport. | | | | `dnsConfig` _[PodDNSConfig](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#poddnsconfig-v1-core)_ | DNSConfig allows customizing the DNS settings for the pods. | | | | `dnsPolicy` _[DNSPolicy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#dnspolicy-v1-core)_ | | | | @@ -382,14 +383,16 @@ _Appears in:_ | Field | Description | Default | Validation | | --- | --- | --- | --- | +| `instanceCount` _integer_ | Desired number of instances. | | | +| `minReadyInstanceCount` _integer_ | Acceptable number of instances. | | | +| `updateStrategy` _[StatefulSetUpdateStrategy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#statefulsetupdatestrategy-v1-apps)_ | StatefulSet update strategy. | | | +| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | Parameters for periodic probe of instance readiness. | | | +| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. Defaults to 30 seconds. | | | | `image` _string_ | Overrides coreImage for component. | | | | `entrypointWrapper` _string array_ | Specifies wrapper for component container command. | | | | `volumes` _[Volume](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volume-v1-core) array_ | | | | | `volumeMounts` _[VolumeMount](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volumemount-v1-core) array_ | | | | -| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | | | | | `resources` _[ResourceRequirements](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#resourcerequirements-v1-core)_ | | | | -| `instanceCount` _integer_ | | | | -| `minReadyInstanceCount` _integer_ | | | | | `locations` _[LocationSpec](#locationspec) array_ | | | | | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | @@ -404,7 +407,6 @@ _Appears in:_ | `podLabels` _object (keys:string, values:string)_ | | | | | `podAnnotations` _object (keys:string, values:string)_ | | | | | `setHostnameAsFqdn` _boolean_ | SetHostnameAsFQDN indicates whether to set the hostname as FQDN. | true | | -| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. | | | | `nativeTransport` _[RPCTransportSpec](#rpctransportspec)_ | Component config for native RPC bus transport. | | | | `dnsConfig` _[PodDNSConfig](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#poddnsconfig-v1-core)_ | DNSConfig allows customizing the DNS settings for the pods. | | | | `dnsPolicy` _[DNSPolicy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#dnspolicy-v1-core)_ | | | | @@ -443,14 +445,16 @@ _Appears in:_ | Field | Description | Default | Validation | | --- | --- | --- | --- | +| `instanceCount` _integer_ | Desired number of instances. | | | +| `minReadyInstanceCount` _integer_ | Acceptable number of instances. | | | +| `updateStrategy` _[StatefulSetUpdateStrategy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#statefulsetupdatestrategy-v1-apps)_ | StatefulSet update strategy. | | | +| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | Parameters for periodic probe of instance readiness. | | | +| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. Defaults to 30 seconds. | | | | `image` _string_ | Overrides coreImage for component. | | | | `entrypointWrapper` _string array_ | Specifies wrapper for component container command. | | | | `volumes` _[Volume](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volume-v1-core) array_ | | | | | `volumeMounts` _[VolumeMount](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volumemount-v1-core) array_ | | | | -| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | | | | | `resources` _[ResourceRequirements](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#resourcerequirements-v1-core)_ | | | | -| `instanceCount` _integer_ | | | | -| `minReadyInstanceCount` _integer_ | | | | | `locations` _[LocationSpec](#locationspec) array_ | | | | | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | @@ -465,7 +469,6 @@ _Appears in:_ | `podLabels` _object (keys:string, values:string)_ | | | | | `podAnnotations` _object (keys:string, values:string)_ | | | | | `setHostnameAsFqdn` _boolean_ | SetHostnameAsFQDN indicates whether to set the hostname as FQDN. | true | | -| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. | | | | `nativeTransport` _[RPCTransportSpec](#rpctransportspec)_ | Component config for native RPC bus transport. | | | | `dnsConfig` _[PodDNSConfig](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#poddnsconfig-v1-core)_ | DNSConfig allows customizing the DNS settings for the pods. | | | | `dnsPolicy` _[DNSPolicy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#dnspolicy-v1-core)_ | | | | @@ -541,14 +544,16 @@ _Appears in:_ | Field | Description | Default | Validation | | --- | --- | --- | --- | +| `instanceCount` _integer_ | Desired number of instances. | | | +| `minReadyInstanceCount` _integer_ | Acceptable number of instances. | | | +| `updateStrategy` _[StatefulSetUpdateStrategy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#statefulsetupdatestrategy-v1-apps)_ | StatefulSet update strategy. | | | +| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | Parameters for periodic probe of instance readiness. | | | +| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. Defaults to 30 seconds. | | | | `image` _string_ | Overrides coreImage for component. | | | | `entrypointWrapper` _string array_ | Specifies wrapper for component container command. | | | | `volumes` _[Volume](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volume-v1-core) array_ | | | | | `volumeMounts` _[VolumeMount](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volumemount-v1-core) array_ | | | | -| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | | | | | `resources` _[ResourceRequirements](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#resourcerequirements-v1-core)_ | | | | -| `instanceCount` _integer_ | | | | -| `minReadyInstanceCount` _integer_ | | | | | `locations` _[LocationSpec](#locationspec) array_ | | | | | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | @@ -563,7 +568,6 @@ _Appears in:_ | `podLabels` _object (keys:string, values:string)_ | | | | | `podAnnotations` _object (keys:string, values:string)_ | | | | | `setHostnameAsFqdn` _boolean_ | SetHostnameAsFQDN indicates whether to set the hostname as FQDN. | true | | -| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. | | | | `nativeTransport` _[RPCTransportSpec](#rpctransportspec)_ | Component config for native RPC bus transport. | | | | `dnsConfig` _[PodDNSConfig](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#poddnsconfig-v1-core)_ | DNSConfig allows customizing the DNS settings for the pods. | | | | `dnsPolicy` _[DNSPolicy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#dnspolicy-v1-core)_ | | | | @@ -591,14 +595,16 @@ _Appears in:_ | Field | Description | Default | Validation | | --- | --- | --- | --- | +| `instanceCount` _integer_ | Desired number of instances. | | | +| `minReadyInstanceCount` _integer_ | Acceptable number of instances. | | | +| `updateStrategy` _[StatefulSetUpdateStrategy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#statefulsetupdatestrategy-v1-apps)_ | StatefulSet update strategy. | | | +| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | Parameters for periodic probe of instance readiness. | | | +| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. Defaults to 30 seconds. | | | | `image` _string_ | Overrides coreImage for component. | | | | `entrypointWrapper` _string array_ | Specifies wrapper for component container command. | | | | `volumes` _[Volume](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volume-v1-core) array_ | | | | | `volumeMounts` _[VolumeMount](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volumemount-v1-core) array_ | | | | -| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | | | | | `resources` _[ResourceRequirements](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#resourcerequirements-v1-core)_ | | | | -| `instanceCount` _integer_ | | | | -| `minReadyInstanceCount` _integer_ | | | | | `locations` _[LocationSpec](#locationspec) array_ | | | | | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | @@ -613,7 +619,6 @@ _Appears in:_ | `podLabels` _object (keys:string, values:string)_ | | | | | `podAnnotations` _object (keys:string, values:string)_ | | | | | `setHostnameAsFqdn` _boolean_ | SetHostnameAsFQDN indicates whether to set the hostname as FQDN. | true | | -| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. | | | | `nativeTransport` _[RPCTransportSpec](#rpctransportspec)_ | Component config for native RPC bus transport. | | | | `dnsConfig` _[PodDNSConfig](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#poddnsconfig-v1-core)_ | DNSConfig allows customizing the DNS settings for the pods. | | | | `dnsPolicy` _[DNSPolicy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#dnspolicy-v1-core)_ | | | | @@ -711,14 +716,16 @@ _Appears in:_ | Field | Description | Default | Validation | | --- | --- | --- | --- | +| `instanceCount` _integer_ | Desired number of instances. | | | +| `minReadyInstanceCount` _integer_ | Acceptable number of instances. | | | +| `updateStrategy` _[StatefulSetUpdateStrategy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#statefulsetupdatestrategy-v1-apps)_ | StatefulSet update strategy. | | | +| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | Parameters for periodic probe of instance readiness. | | | +| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. Defaults to 30 seconds. | | | | `image` _string_ | Overrides coreImage for component. | | | | `entrypointWrapper` _string array_ | Specifies wrapper for component container command. | | | | `volumes` _[Volume](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volume-v1-core) array_ | | | | | `volumeMounts` _[VolumeMount](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volumemount-v1-core) array_ | | | | -| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | | | | | `resources` _[ResourceRequirements](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#resourcerequirements-v1-core)_ | | | | -| `instanceCount` _integer_ | | | | -| `minReadyInstanceCount` _integer_ | | | | | `locations` _[LocationSpec](#locationspec) array_ | | | | | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | @@ -733,7 +740,6 @@ _Appears in:_ | `podLabels` _object (keys:string, values:string)_ | | | | | `podAnnotations` _object (keys:string, values:string)_ | | | | | `setHostnameAsFqdn` _boolean_ | SetHostnameAsFQDN indicates whether to set the hostname as FQDN. | true | | -| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. | | | | `nativeTransport` _[RPCTransportSpec](#rpctransportspec)_ | Component config for native RPC bus transport. | | | | `dnsConfig` _[PodDNSConfig](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#poddnsconfig-v1-core)_ | DNSConfig allows customizing the DNS settings for the pods. | | | | `dnsPolicy` _[DNSPolicy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#dnspolicy-v1-core)_ | | | | @@ -773,14 +779,16 @@ _Appears in:_ | Field | Description | Default | Validation | | --- | --- | --- | --- | +| `instanceCount` _integer_ | Desired number of instances. | | | +| `minReadyInstanceCount` _integer_ | Acceptable number of instances. | | | +| `updateStrategy` _[StatefulSetUpdateStrategy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#statefulsetupdatestrategy-v1-apps)_ | StatefulSet update strategy. | | | +| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | Parameters for periodic probe of instance readiness. | | | +| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. Defaults to 30 seconds. | | | | `image` _string_ | Overrides coreImage for component. | | | | `entrypointWrapper` _string array_ | Specifies wrapper for component container command. | | | | `volumes` _[Volume](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volume-v1-core) array_ | | | | | `volumeMounts` _[VolumeMount](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volumemount-v1-core) array_ | | | | -| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | | | | | `resources` _[ResourceRequirements](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#resourcerequirements-v1-core)_ | | | | -| `instanceCount` _integer_ | | | | -| `minReadyInstanceCount` _integer_ | | | | | `locations` _[LocationSpec](#locationspec) array_ | | | | | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | @@ -795,8 +803,9 @@ _Appears in:_ | `podLabels` _object (keys:string, values:string)_ | | | | | `podAnnotations` _object (keys:string, values:string)_ | | | | | `setHostnameAsFqdn` _boolean_ | SetHostnameAsFQDN indicates whether to set the hostname as FQDN. | true | | -| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. | | | | `nativeTransport` _[RPCTransportSpec](#rpctransportspec)_ | Component config for native RPC bus transport. | | | +| `dnsConfig` _[PodDNSConfig](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#poddnsconfig-v1-core)_ | DNSConfig allows customizing the DNS settings for the pods. | | | +| `dnsPolicy` _[DNSPolicy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#dnspolicy-v1-core)_ | | | | | `serviceType` _[ServiceType](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#servicetype-v1-core)_ | | | | | `role` _string_ | | default | MinLength: 1
| @@ -995,14 +1004,16 @@ _Appears in:_ | Field | Description | Default | Validation | | --- | --- | --- | --- | +| `instanceCount` _integer_ | Desired number of instances. | | | +| `minReadyInstanceCount` _integer_ | Acceptable number of instances. | | | +| `updateStrategy` _[StatefulSetUpdateStrategy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#statefulsetupdatestrategy-v1-apps)_ | StatefulSet update strategy. | | | +| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | Parameters for periodic probe of instance readiness. | | | +| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. Defaults to 30 seconds. | | | | `image` _string_ | Overrides coreImage for component. | | | | `entrypointWrapper` _string array_ | Specifies wrapper for component container command. | | | | `volumes` _[Volume](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volume-v1-core) array_ | | | | | `volumeMounts` _[VolumeMount](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volumemount-v1-core) array_ | | | | -| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | | | | | `resources` _[ResourceRequirements](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#resourcerequirements-v1-core)_ | | | | -| `instanceCount` _integer_ | | | | -| `minReadyInstanceCount` _integer_ | | | | | `locations` _[LocationSpec](#locationspec) array_ | | | | | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | @@ -1017,7 +1028,6 @@ _Appears in:_ | `podLabels` _object (keys:string, values:string)_ | | | | | `podAnnotations` _object (keys:string, values:string)_ | | | | | `setHostnameAsFqdn` _boolean_ | SetHostnameAsFQDN indicates whether to set the hostname as FQDN. | true | | -| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. | | | | `nativeTransport` _[RPCTransportSpec](#rpctransportspec)_ | Component config for native RPC bus transport. | | | | `dnsConfig` _[PodDNSConfig](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#poddnsconfig-v1-core)_ | DNSConfig allows customizing the DNS settings for the pods. | | | | `dnsPolicy` _[DNSPolicy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#dnspolicy-v1-core)_ | | | | @@ -1057,14 +1067,16 @@ _Appears in:_ | Field | Description | Default | Validation | | --- | --- | --- | --- | +| `instanceCount` _integer_ | Desired number of instances. | | | +| `minReadyInstanceCount` _integer_ | Acceptable number of instances. | | | +| `updateStrategy` _[StatefulSetUpdateStrategy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#statefulsetupdatestrategy-v1-apps)_ | StatefulSet update strategy. | | | +| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | Parameters for periodic probe of instance readiness. | | | +| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. Defaults to 30 seconds. | | | | `image` _string_ | Overrides coreImage for component. | | | | `entrypointWrapper` _string array_ | Specifies wrapper for component container command. | | | | `volumes` _[Volume](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volume-v1-core) array_ | | | | | `volumeMounts` _[VolumeMount](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volumemount-v1-core) array_ | | | | -| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | | | | | `resources` _[ResourceRequirements](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#resourcerequirements-v1-core)_ | | | | -| `instanceCount` _integer_ | | | | -| `minReadyInstanceCount` _integer_ | | | | | `locations` _[LocationSpec](#locationspec) array_ | | | | | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | @@ -1079,7 +1091,6 @@ _Appears in:_ | `podLabels` _object (keys:string, values:string)_ | | | | | `podAnnotations` _object (keys:string, values:string)_ | | | | | `setHostnameAsFqdn` _boolean_ | SetHostnameAsFQDN indicates whether to set the hostname as FQDN. | true | | -| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. | | | | `nativeTransport` _[RPCTransportSpec](#rpctransportspec)_ | Component config for native RPC bus transport. | | | | `dnsConfig` _[PodDNSConfig](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#poddnsconfig-v1-core)_ | DNSConfig allows customizing the DNS settings for the pods. | | | | `dnsPolicy` _[DNSPolicy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#dnspolicy-v1-core)_ | | | | @@ -1160,14 +1171,16 @@ _Appears in:_ | Field | Description | Default | Validation | | --- | --- | --- | --- | +| `instanceCount` _integer_ | Desired number of instances. | | | +| `minReadyInstanceCount` _integer_ | Acceptable number of instances. | | | +| `updateStrategy` _[StatefulSetUpdateStrategy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#statefulsetupdatestrategy-v1-apps)_ | StatefulSet update strategy. | | | +| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | Parameters for periodic probe of instance readiness. | | | +| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. Defaults to 30 seconds. | | | | `image` _string_ | Overrides coreImage for component. | | | | `entrypointWrapper` _string array_ | Specifies wrapper for component container command. | | | | `volumes` _[Volume](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volume-v1-core) array_ | | | | | `volumeMounts` _[VolumeMount](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volumemount-v1-core) array_ | | | | -| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | | | | | `resources` _[ResourceRequirements](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#resourcerequirements-v1-core)_ | | | | -| `instanceCount` _integer_ | | | | -| `minReadyInstanceCount` _integer_ | | | | | `locations` _[LocationSpec](#locationspec) array_ | | | | | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | @@ -1182,7 +1195,6 @@ _Appears in:_ | `podLabels` _object (keys:string, values:string)_ | | | | | `podAnnotations` _object (keys:string, values:string)_ | | | | | `setHostnameAsFqdn` _boolean_ | SetHostnameAsFQDN indicates whether to set the hostname as FQDN. | true | | -| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. | | | | `nativeTransport` _[RPCTransportSpec](#rpctransportspec)_ | Component config for native RPC bus transport. | | | | `dnsConfig` _[PodDNSConfig](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#poddnsconfig-v1-core)_ | DNSConfig allows customizing the DNS settings for the pods. | | | | `dnsPolicy` _[DNSPolicy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#dnspolicy-v1-core)_ | | | | @@ -1201,14 +1213,16 @@ _Appears in:_ | Field | Description | Default | Validation | | --- | --- | --- | --- | +| `instanceCount` _integer_ | Desired number of instances. | | | +| `minReadyInstanceCount` _integer_ | Acceptable number of instances. | | | +| `updateStrategy` _[StatefulSetUpdateStrategy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#statefulsetupdatestrategy-v1-apps)_ | StatefulSet update strategy. | | | +| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | Parameters for periodic probe of instance readiness. | | | +| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. Defaults to 30 seconds. | | | | `image` _string_ | Overrides coreImage for component. | | | | `entrypointWrapper` _string array_ | Specifies wrapper for component container command. | | | | `volumes` _[Volume](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volume-v1-core) array_ | | | | | `volumeMounts` _[VolumeMount](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volumemount-v1-core) array_ | | | | -| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | | | | | `resources` _[ResourceRequirements](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#resourcerequirements-v1-core)_ | | | | -| `instanceCount` _integer_ | | | | -| `minReadyInstanceCount` _integer_ | | | | | `locations` _[LocationSpec](#locationspec) array_ | | | | | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | @@ -1223,7 +1237,6 @@ _Appears in:_ | `podLabels` _object (keys:string, values:string)_ | | | | | `podAnnotations` _object (keys:string, values:string)_ | | | | | `setHostnameAsFqdn` _boolean_ | SetHostnameAsFQDN indicates whether to set the hostname as FQDN. | true | | -| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. | | | | `nativeTransport` _[RPCTransportSpec](#rpctransportspec)_ | Component config for native RPC bus transport. | | | | `dnsConfig` _[PodDNSConfig](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#poddnsconfig-v1-core)_ | DNSConfig allows customizing the DNS settings for the pods. | | | | `dnsPolicy` _[DNSPolicy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#dnspolicy-v1-core)_ | | | | @@ -1242,14 +1255,16 @@ _Appears in:_ | Field | Description | Default | Validation | | --- | --- | --- | --- | +| `instanceCount` _integer_ | Desired number of instances. | | | +| `minReadyInstanceCount` _integer_ | Acceptable number of instances. | | | +| `updateStrategy` _[StatefulSetUpdateStrategy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#statefulsetupdatestrategy-v1-apps)_ | StatefulSet update strategy. | | | +| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | Parameters for periodic probe of instance readiness. | | | +| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. Defaults to 30 seconds. | | | | `image` _string_ | Overrides coreImage for component. | | | | `entrypointWrapper` _string array_ | Specifies wrapper for component container command. | | | | `volumes` _[Volume](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volume-v1-core) array_ | | | | | `volumeMounts` _[VolumeMount](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volumemount-v1-core) array_ | | | | -| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | | | | | `resources` _[ResourceRequirements](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#resourcerequirements-v1-core)_ | | | | -| `instanceCount` _integer_ | | | | -| `minReadyInstanceCount` _integer_ | | | | | `locations` _[LocationSpec](#locationspec) array_ | | | | | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | @@ -1264,7 +1279,6 @@ _Appears in:_ | `podLabels` _object (keys:string, values:string)_ | | | | | `podAnnotations` _object (keys:string, values:string)_ | | | | | `setHostnameAsFqdn` _boolean_ | SetHostnameAsFQDN indicates whether to set the hostname as FQDN. | true | | -| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. | | | | `nativeTransport` _[RPCTransportSpec](#rpctransportspec)_ | Component config for native RPC bus transport. | | | | `dnsConfig` _[PodDNSConfig](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#poddnsconfig-v1-core)_ | DNSConfig allows customizing the DNS settings for the pods. | | | | `dnsPolicy` _[DNSPolicy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#dnspolicy-v1-core)_ | | | | @@ -1381,14 +1395,16 @@ _Appears in:_ | `extraPodAnnotations` _object (keys:string, values:string)_ | | | | | `configOverrides` _[LocalObjectReference](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#localobjectreference-v1-core)_ | | | | | `imagePullSecrets` _[LocalObjectReference](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#localobjectreference-v1-core) array_ | | | | +| `instanceCount` _integer_ | Desired number of instances. | | | +| `minReadyInstanceCount` _integer_ | Acceptable number of instances. | | | +| `updateStrategy` _[StatefulSetUpdateStrategy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#statefulsetupdatestrategy-v1-apps)_ | StatefulSet update strategy. | | | +| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | Parameters for periodic probe of instance readiness. | | | +| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. Defaults to 30 seconds. | | | | `image` _string_ | Overrides coreImage for component. | | | | `entrypointWrapper` _string array_ | Specifies wrapper for component container command. | | | | `volumes` _[Volume](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volume-v1-core) array_ | | | | | `volumeMounts` _[VolumeMount](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volumemount-v1-core) array_ | | | | -| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | | | | | `resources` _[ResourceRequirements](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#resourcerequirements-v1-core)_ | | | | -| `instanceCount` _integer_ | | | | -| `minReadyInstanceCount` _integer_ | | | | | `locations` _[LocationSpec](#locationspec) array_ | | | | | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | @@ -1403,7 +1419,6 @@ _Appears in:_ | `podLabels` _object (keys:string, values:string)_ | | | | | `podAnnotations` _object (keys:string, values:string)_ | | | | | `setHostnameAsFqdn` _boolean_ | SetHostnameAsFQDN indicates whether to set the hostname as FQDN. | true | | -| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. | | | | `nativeTransport` _[RPCTransportSpec](#rpctransportspec)_ | Component config for native RPC bus transport. | | | | `dnsConfig` _[PodDNSConfig](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#poddnsconfig-v1-core)_ | DNSConfig allows customizing the DNS settings for the pods. | | | | `dnsPolicy` _[DNSPolicy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#dnspolicy-v1-core)_ | | | | @@ -1477,14 +1492,16 @@ _Appears in:_ | `extraPodAnnotations` _object (keys:string, values:string)_ | | | | | `configOverrides` _[LocalObjectReference](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#localobjectreference-v1-core)_ | | | | | `imagePullSecrets` _[LocalObjectReference](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#localobjectreference-v1-core) array_ | | | | +| `instanceCount` _integer_ | Desired number of instances. | | | +| `minReadyInstanceCount` _integer_ | Acceptable number of instances. | | | +| `updateStrategy` _[StatefulSetUpdateStrategy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#statefulsetupdatestrategy-v1-apps)_ | StatefulSet update strategy. | | | +| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | Parameters for periodic probe of instance readiness. | | | +| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. Defaults to 30 seconds. | | | | `image` _string_ | Overrides coreImage for component. | | | | `entrypointWrapper` _string array_ | Specifies wrapper for component container command. | | | | `volumes` _[Volume](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volume-v1-core) array_ | | | | | `volumeMounts` _[VolumeMount](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volumemount-v1-core) array_ | | | | -| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | | | | | `resources` _[ResourceRequirements](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#resourcerequirements-v1-core)_ | | | | -| `instanceCount` _integer_ | | | | -| `minReadyInstanceCount` _integer_ | | | | | `locations` _[LocationSpec](#locationspec) array_ | | | | | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | @@ -1499,7 +1516,6 @@ _Appears in:_ | `podLabels` _object (keys:string, values:string)_ | | | | | `podAnnotations` _object (keys:string, values:string)_ | | | | | `setHostnameAsFqdn` _boolean_ | SetHostnameAsFQDN indicates whether to set the hostname as FQDN. | true | | -| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. | | | | `nativeTransport` _[RPCTransportSpec](#rpctransportspec)_ | Component config for native RPC bus transport. | | | | `dnsConfig` _[PodDNSConfig](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#poddnsconfig-v1-core)_ | DNSConfig allows customizing the DNS settings for the pods. | | | | `dnsPolicy` _[DNSPolicy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#dnspolicy-v1-core)_ | | | | @@ -1618,14 +1634,16 @@ _Appears in:_ | `extraPodAnnotations` _object (keys:string, values:string)_ | | | | | `configOverrides` _[LocalObjectReference](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#localobjectreference-v1-core)_ | | | | | `imagePullSecrets` _[LocalObjectReference](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#localobjectreference-v1-core) array_ | | | | +| `instanceCount` _integer_ | Desired number of instances. | | | +| `minReadyInstanceCount` _integer_ | Acceptable number of instances. | | | +| `updateStrategy` _[StatefulSetUpdateStrategy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#statefulsetupdatestrategy-v1-apps)_ | StatefulSet update strategy. | | | +| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | Parameters for periodic probe of instance readiness. | | | +| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. Defaults to 30 seconds. | | | | `image` _string_ | Overrides coreImage for component. | | | | `entrypointWrapper` _string array_ | Specifies wrapper for component container command. | | | | `volumes` _[Volume](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volume-v1-core) array_ | | | | | `volumeMounts` _[VolumeMount](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volumemount-v1-core) array_ | | | | -| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | | | | | `resources` _[ResourceRequirements](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#resourcerequirements-v1-core)_ | | | | -| `instanceCount` _integer_ | | | | -| `minReadyInstanceCount` _integer_ | | | | | `locations` _[LocationSpec](#locationspec) array_ | | | | | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | @@ -1640,7 +1658,6 @@ _Appears in:_ | `podLabels` _object (keys:string, values:string)_ | | | | | `podAnnotations` _object (keys:string, values:string)_ | | | | | `setHostnameAsFqdn` _boolean_ | SetHostnameAsFQDN indicates whether to set the hostname as FQDN. | true | | -| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. | | | | `nativeTransport` _[RPCTransportSpec](#rpctransportspec)_ | Component config for native RPC bus transport. | | | | `dnsConfig` _[PodDNSConfig](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#poddnsconfig-v1-core)_ | DNSConfig allows customizing the DNS settings for the pods. | | | | `dnsPolicy` _[DNSPolicy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#dnspolicy-v1-core)_ | | | | @@ -1700,14 +1717,16 @@ _Appears in:_ | --- | --- | --- | --- | | `cellTag` _integer_ | | | | | `hostAddresses` _string array_ | | | | +| `instanceCount` _integer_ | Desired number of instances. | | | +| `minReadyInstanceCount` _integer_ | Acceptable number of instances. | | | +| `updateStrategy` _[StatefulSetUpdateStrategy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#statefulsetupdatestrategy-v1-apps)_ | StatefulSet update strategy. | | | +| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | Parameters for periodic probe of instance readiness. | | | +| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. Defaults to 30 seconds. | | | | `image` _string_ | Overrides coreImage for component. | | | | `entrypointWrapper` _string array_ | Specifies wrapper for component container command. | | | | `volumes` _[Volume](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volume-v1-core) array_ | | | | | `volumeMounts` _[VolumeMount](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volumemount-v1-core) array_ | | | | -| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | | | | | `resources` _[ResourceRequirements](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#resourcerequirements-v1-core)_ | | | | -| `instanceCount` _integer_ | | | | -| `minReadyInstanceCount` _integer_ | | | | | `locations` _[LocationSpec](#locationspec) array_ | | | | | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | @@ -1722,7 +1741,6 @@ _Appears in:_ | `podLabels` _object (keys:string, values:string)_ | | | | | `podAnnotations` _object (keys:string, values:string)_ | | | | | `setHostnameAsFqdn` _boolean_ | SetHostnameAsFQDN indicates whether to set the hostname as FQDN. | true | | -| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. | | | | `nativeTransport` _[RPCTransportSpec](#rpctransportspec)_ | Component config for native RPC bus transport. | | | | `dnsConfig` _[PodDNSConfig](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#poddnsconfig-v1-core)_ | DNSConfig allows customizing the DNS settings for the pods. | | | | `dnsPolicy` _[DNSPolicy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#dnspolicy-v1-core)_ | | | | @@ -1757,14 +1775,16 @@ _Appears in:_ | Field | Description | Default | Validation | | --- | --- | --- | --- | +| `instanceCount` _integer_ | Desired number of instances. | | | +| `minReadyInstanceCount` _integer_ | Acceptable number of instances. | | | +| `updateStrategy` _[StatefulSetUpdateStrategy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#statefulsetupdatestrategy-v1-apps)_ | StatefulSet update strategy. | | | +| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | Parameters for periodic probe of instance readiness. | | | +| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. Defaults to 30 seconds. | | | | `image` _string_ | Overrides coreImage for component. | | | | `entrypointWrapper` _string array_ | Specifies wrapper for component container command. | | | | `volumes` _[Volume](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volume-v1-core) array_ | | | | | `volumeMounts` _[VolumeMount](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volumemount-v1-core) array_ | | | | -| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | | | | | `resources` _[ResourceRequirements](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#resourcerequirements-v1-core)_ | | | | -| `instanceCount` _integer_ | | | | -| `minReadyInstanceCount` _integer_ | | | | | `locations` _[LocationSpec](#locationspec) array_ | | | | | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | @@ -1779,7 +1799,6 @@ _Appears in:_ | `podLabels` _object (keys:string, values:string)_ | | | | | `podAnnotations` _object (keys:string, values:string)_ | | | | | `setHostnameAsFqdn` _boolean_ | SetHostnameAsFQDN indicates whether to set the hostname as FQDN. | true | | -| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. | | | | `nativeTransport` _[RPCTransportSpec](#rpctransportspec)_ | Component config for native RPC bus transport. | | | | `dnsConfig` _[PodDNSConfig](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#poddnsconfig-v1-core)_ | DNSConfig allows customizing the DNS settings for the pods. | | | | `dnsPolicy` _[DNSPolicy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#dnspolicy-v1-core)_ | | | | @@ -1935,14 +1954,16 @@ _Appears in:_ | Field | Description | Default | Validation | | --- | --- | --- | --- | +| `instanceCount` _integer_ | Desired number of instances. | | | +| `minReadyInstanceCount` _integer_ | Acceptable number of instances. | | | +| `updateStrategy` _[StatefulSetUpdateStrategy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#statefulsetupdatestrategy-v1-apps)_ | StatefulSet update strategy. | | | +| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | Parameters for periodic probe of instance readiness. | | | +| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. Defaults to 30 seconds. | | | | `image` _string_ | Overrides coreImage for component. | | | | `entrypointWrapper` _string array_ | Specifies wrapper for component container command. | | | | `volumes` _[Volume](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volume-v1-core) array_ | | | | | `volumeMounts` _[VolumeMount](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volumemount-v1-core) array_ | | | | -| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | | | | | `resources` _[ResourceRequirements](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#resourcerequirements-v1-core)_ | | | | -| `instanceCount` _integer_ | | | | -| `minReadyInstanceCount` _integer_ | | | | | `locations` _[LocationSpec](#locationspec) array_ | | | | | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | @@ -1957,7 +1978,6 @@ _Appears in:_ | `podLabels` _object (keys:string, values:string)_ | | | | | `podAnnotations` _object (keys:string, values:string)_ | | | | | `setHostnameAsFqdn` _boolean_ | SetHostnameAsFQDN indicates whether to set the hostname as FQDN. | true | | -| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. | | | | `nativeTransport` _[RPCTransportSpec](#rpctransportspec)_ | Component config for native RPC bus transport. | | | | `dnsConfig` _[PodDNSConfig](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#poddnsconfig-v1-core)_ | DNSConfig allows customizing the DNS settings for the pods. | | | | `dnsPolicy` _[DNSPolicy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#dnspolicy-v1-core)_ | | | | @@ -1998,14 +2018,16 @@ _Appears in:_ | Field | Description | Default | Validation | | --- | --- | --- | --- | +| `instanceCount` _integer_ | Desired number of instances. | | | +| `minReadyInstanceCount` _integer_ | Acceptable number of instances. | | | +| `updateStrategy` _[StatefulSetUpdateStrategy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#statefulsetupdatestrategy-v1-apps)_ | StatefulSet update strategy. | | | +| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | Parameters for periodic probe of instance readiness. | | | +| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. Defaults to 30 seconds. | | | | `image` _string_ | Overrides coreImage for component. | | | | `entrypointWrapper` _string array_ | Specifies wrapper for component container command. | | | | `volumes` _[Volume](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volume-v1-core) array_ | | | | | `volumeMounts` _[VolumeMount](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volumemount-v1-core) array_ | | | | -| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | | | | | `resources` _[ResourceRequirements](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#resourcerequirements-v1-core)_ | | | | -| `instanceCount` _integer_ | | | | -| `minReadyInstanceCount` _integer_ | | | | | `locations` _[LocationSpec](#locationspec) array_ | | | | | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | @@ -2020,7 +2042,6 @@ _Appears in:_ | `podLabels` _object (keys:string, values:string)_ | | | | | `podAnnotations` _object (keys:string, values:string)_ | | | | | `setHostnameAsFqdn` _boolean_ | SetHostnameAsFQDN indicates whether to set the hostname as FQDN. | true | | -| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. | | | | `nativeTransport` _[RPCTransportSpec](#rpctransportspec)_ | Component config for native RPC bus transport. | | | | `dnsConfig` _[PodDNSConfig](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#poddnsconfig-v1-core)_ | DNSConfig allows customizing the DNS settings for the pods. | | | | `dnsPolicy` _[DNSPolicy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#dnspolicy-v1-core)_ | | | | @@ -2216,14 +2237,16 @@ _Appears in:_ | Field | Description | Default | Validation | | --- | --- | --- | --- | +| `instanceCount` _integer_ | Desired number of instances. | | | +| `minReadyInstanceCount` _integer_ | Acceptable number of instances. | | | +| `updateStrategy` _[StatefulSetUpdateStrategy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#statefulsetupdatestrategy-v1-apps)_ | StatefulSet update strategy. | | | +| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | Parameters for periodic probe of instance readiness. | | | +| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. Defaults to 30 seconds. | | | | `image` _string_ | Overrides coreImage for component. | | | | `entrypointWrapper` _string array_ | Specifies wrapper for component container command. | | | | `volumes` _[Volume](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volume-v1-core) array_ | | | | | `volumeMounts` _[VolumeMount](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#volumemount-v1-core) array_ | | | | -| `readinessProbeParams` _[HealthcheckProbeParams](#healthcheckprobeparams)_ | | | | | `resources` _[ResourceRequirements](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#resourcerequirements-v1-core)_ | | | | -| `instanceCount` _integer_ | | | | -| `minReadyInstanceCount` _integer_ | | | | | `locations` _[LocationSpec](#locationspec) array_ | | | | | `volumeClaimTemplates` _[EmbeddedPersistentVolumeClaim](#embeddedpersistentvolumeclaim) array_ | | | | | `runtimeClassName` _string_ | | | | @@ -2238,7 +2261,6 @@ _Appears in:_ | `podLabels` _object (keys:string, values:string)_ | | | | | `podAnnotations` _object (keys:string, values:string)_ | | | | | `setHostnameAsFqdn` _boolean_ | SetHostnameAsFQDN indicates whether to set the hostname as FQDN. | true | | -| `terminationGracePeriodSeconds` _integer_ | Optional duration in seconds the pod needs to terminate gracefully. | | | | `nativeTransport` _[RPCTransportSpec](#rpctransportspec)_ | Component config for native RPC bus transport. | | | | `dnsConfig` _[PodDNSConfig](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#poddnsconfig-v1-core)_ | DNSConfig allows customizing the DNS settings for the pods. | | | | `dnsPolicy` _[DNSPolicy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#dnspolicy-v1-core)_ | | | | diff --git a/pkg/components/server.go b/pkg/components/server.go index 39c3580e..c8244a95 100644 --- a/pkg/components/server.go +++ b/pkg/components/server.go @@ -282,6 +282,10 @@ func (s *serverImpl) rebuildStatefulSet() *appsv1.StatefulSet { statefulSet.Spec.ServiceName = s.headlessService.Name() statefulSet.Spec.VolumeClaimTemplates = createVolumeClaims(s.instanceSpec.VolumeClaimTemplates) + if s.instanceSpec.UpdateStrategy != nil { + s.instanceSpec.UpdateStrategy.DeepCopyInto(&statefulSet.Spec.UpdateStrategy) + } + fileNames := s.configHelper.GetFileNames() if len(fileNames) != 1 { log.Panicf("expected exactly one config filename, found %v", len(fileNames)) diff --git a/ytop-chart/templates/crds/remotedatanodes.cluster.ytsaurus.tech.yaml b/ytop-chart/templates/crds/remotedatanodes.cluster.ytsaurus.tech.yaml index c436714a..d8293ce1 100644 --- a/ytop-chart/templates/crds/remotedatanodes.cluster.ytsaurus.tech.yaml +++ b/ytop-chart/templates/crds/remotedatanodes.cluster.ytsaurus.tech.yaml @@ -755,6 +755,7 @@ spec: x-kubernetes-map-type: atomic type: array instanceCount: + description: Desired number of instances. format: int32 type: integer jobImage: @@ -877,6 +878,7 @@ spec: type: object type: array minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -925,6 +927,7 @@ spec: description: Name of the node rack. type: string readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -1099,6 +1102,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters when + Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be unavailable + during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object useIpv4: default: false type: boolean diff --git a/ytop-chart/templates/crds/remoteexecnodes.cluster.ytsaurus.tech.yaml b/ytop-chart/templates/crds/remoteexecnodes.cluster.ytsaurus.tech.yaml index 87653b9f..363c34e9 100644 --- a/ytop-chart/templates/crds/remoteexecnodes.cluster.ytsaurus.tech.yaml +++ b/ytop-chart/templates/crds/remoteexecnodes.cluster.ytsaurus.tech.yaml @@ -760,6 +760,7 @@ spec: type: string type: array instanceCount: + description: Desired number of instances. format: int32 type: integer jobEnvironment: @@ -1062,6 +1063,7 @@ spec: type: object type: array minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -1113,6 +1115,7 @@ spec: description: Name of the node rack. type: string readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -1292,6 +1295,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters when + Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be unavailable + during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object useIpv4: default: false type: boolean diff --git a/ytop-chart/templates/crds/remotetabletnodes.cluster.ytsaurus.tech.yaml b/ytop-chart/templates/crds/remotetabletnodes.cluster.ytsaurus.tech.yaml index d81ba7d0..1cb497d7 100644 --- a/ytop-chart/templates/crds/remotetabletnodes.cluster.ytsaurus.tech.yaml +++ b/ytop-chart/templates/crds/remotetabletnodes.cluster.ytsaurus.tech.yaml @@ -755,6 +755,7 @@ spec: x-kubernetes-map-type: atomic type: array instanceCount: + description: Desired number of instances. format: int32 type: integer jobImage: @@ -877,6 +878,7 @@ spec: type: object type: array minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -925,6 +927,7 @@ spec: description: Name of the node rack. type: string readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -1099,6 +1102,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters when + Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be unavailable + during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object useIpv4: default: false type: boolean diff --git a/ytop-chart/templates/crds/remoteytsaurus.cluster.ytsaurus.tech.yaml b/ytop-chart/templates/crds/remoteytsaurus.cluster.ytsaurus.tech.yaml index 38860063..35fcb459 100644 --- a/ytop-chart/templates/crds/remoteytsaurus.cluster.ytsaurus.tech.yaml +++ b/ytop-chart/templates/crds/remoteytsaurus.cluster.ytsaurus.tech.yaml @@ -716,6 +716,7 @@ spec: description: Overrides coreImage for component. type: string instanceCount: + description: Desired number of instances. format: int32 type: integer locations: @@ -833,6 +834,7 @@ spec: type: object type: array minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -874,6 +876,7 @@ spec: type: string type: object readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -1031,6 +1034,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters when + Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be unavailable + during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object volumeClaimTemplates: items: description: EmbeddedPersistentVolumeClaim is an embedded version diff --git a/ytop-chart/templates/crds/ytsaurus.cluster.ytsaurus.tech.yaml b/ytop-chart/templates/crds/ytsaurus.cluster.ytsaurus.tech.yaml index b6ca8ce6..18654172 100644 --- a/ytop-chart/templates/crds/ytsaurus.cluster.ytsaurus.tech.yaml +++ b/ytop-chart/templates/crds/ytsaurus.cluster.ytsaurus.tech.yaml @@ -782,6 +782,7 @@ spec: description: Overrides coreImage for component. type: string instanceCount: + description: Desired number of instances. format: int32 type: integer locations: @@ -900,6 +901,7 @@ spec: type: object type: array minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -942,6 +944,7 @@ spec: type: string type: object readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -1102,6 +1105,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters + when Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be unavailable + during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object volumeClaimTemplates: items: description: EmbeddedPersistentVolumeClaim is an embedded version @@ -3224,6 +3252,7 @@ spec: description: Overrides coreImage for component. type: string instanceCount: + description: Desired number of instances. format: int32 type: integer locations: @@ -3342,6 +3371,7 @@ spec: type: object type: array minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -3391,6 +3421,7 @@ spec: description: Name of the node rack. type: string readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -3556,6 +3587,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters + when Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be + unavailable during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object volumeClaimTemplates: items: description: EmbeddedPersistentVolumeClaim is an embedded @@ -5677,6 +5733,7 @@ spec: description: Overrides coreImage for component. type: string instanceCount: + description: Desired number of instances. format: int32 type: integer locations: @@ -5795,6 +5852,7 @@ spec: type: object type: array minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -5837,6 +5895,7 @@ spec: type: string type: object readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -5997,6 +6056,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters + when Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be unavailable + during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object volumeClaimTemplates: items: description: EmbeddedPersistentVolumeClaim is an embedded version @@ -8157,6 +8241,7 @@ spec: type: string type: array instanceCount: + description: Desired number of instances. format: int32 type: integer jobEnvironment: @@ -8457,6 +8542,7 @@ spec: type: object type: array minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -8509,6 +8595,7 @@ spec: description: Name of the node rack. type: string readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -8679,6 +8766,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters + when Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be + unavailable during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object volumeClaimTemplates: items: description: EmbeddedPersistentVolumeClaim is an embedded @@ -10823,6 +10935,7 @@ spec: description: Overrides coreImage for component. type: string instanceCount: + description: Desired number of instances. format: int32 type: integer locations: @@ -10941,6 +11054,7 @@ spec: type: object type: array minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -10983,6 +11097,7 @@ spec: type: string type: object readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -11167,6 +11282,31 @@ spec: type: object x-kubernetes-map-type: atomic type: object + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters + when Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be + unavailable during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object volumeClaimTemplates: items: description: EmbeddedPersistentVolumeClaim is an embedded @@ -13316,6 +13456,7 @@ spec: description: Overrides coreImage for component. type: string instanceCount: + description: Desired number of instances. format: int32 type: integer locations: @@ -13434,6 +13575,7 @@ spec: type: object type: array minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -13476,6 +13618,7 @@ spec: type: string type: object readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -13644,6 +13787,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters + when Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be + unavailable during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object volumeClaimTemplates: items: description: EmbeddedPersistentVolumeClaim is an embedded @@ -15774,6 +15942,7 @@ spec: description: Overrides coreImage for component. type: string instanceCount: + description: Desired number of instances. format: int32 type: integer locations: @@ -15892,6 +16061,7 @@ spec: type: object type: array minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -15934,6 +16104,7 @@ spec: type: string type: object readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -16094,6 +16265,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters + when Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be unavailable + during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object volumeClaimTemplates: items: description: EmbeddedPersistentVolumeClaim is an embedded version @@ -18284,6 +18480,7 @@ spec: description: Overrides coreImage for component. type: string instanceCount: + description: Desired number of instances. format: int32 type: integer locations: @@ -18406,6 +18603,7 @@ spec: maxSnapshotCountToKeep: type: integer minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -18448,6 +18646,7 @@ spec: type: string type: object readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -18613,6 +18812,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters + when Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be unavailable + during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object volumeClaimTemplates: items: description: EmbeddedPersistentVolumeClaim is an embedded version @@ -20727,6 +20951,7 @@ spec: description: Overrides coreImage for component. type: string instanceCount: + description: Desired number of instances. format: int32 type: integer locations: @@ -20845,6 +21070,7 @@ spec: type: object type: array minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -20887,6 +21113,7 @@ spec: type: string type: object readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -21047,6 +21274,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters + when Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be unavailable + during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object volumeClaimTemplates: items: description: EmbeddedPersistentVolumeClaim is an embedded version @@ -23159,6 +23411,7 @@ spec: description: Overrides coreImage for component. type: string instanceCount: + description: Desired number of instances. format: int32 type: integer locations: @@ -23277,6 +23530,7 @@ spec: type: object type: array minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -23319,6 +23573,7 @@ spec: type: string type: object readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -23479,6 +23734,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters + when Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be unavailable + during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object volumeClaimTemplates: items: description: EmbeddedPersistentVolumeClaim is an embedded version @@ -25599,6 +25879,7 @@ spec: description: Overrides coreImage for component. type: string instanceCount: + description: Desired number of instances. format: int32 type: integer locations: @@ -25717,6 +25998,7 @@ spec: type: object type: array minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -25762,6 +26044,7 @@ spec: type: string type: object readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -25954,6 +26237,31 @@ spec: type: object x-kubernetes-map-type: atomic type: object + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters + when Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be + unavailable during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object volumeClaimTemplates: items: description: EmbeddedPersistentVolumeClaim is an embedded @@ -28074,6 +28382,7 @@ spec: description: Overrides coreImage for component. type: string instanceCount: + description: Desired number of instances. format: int32 type: integer locations: @@ -28192,6 +28501,7 @@ spec: type: object type: array minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -28234,6 +28544,7 @@ spec: type: string type: object readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -28394,6 +28705,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters + when Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be unavailable + during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object volumeClaimTemplates: items: description: EmbeddedPersistentVolumeClaim is an embedded version @@ -30522,6 +30858,7 @@ spec: description: Overrides coreImage for component. type: string instanceCount: + description: Desired number of instances. format: int32 type: integer locations: @@ -30644,6 +30981,7 @@ spec: maxSnapshotCountToKeep: type: integer minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -30686,6 +31024,7 @@ spec: type: string type: object readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -30851,6 +31190,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters + when Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be + unavailable during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object volumeClaimTemplates: items: description: EmbeddedPersistentVolumeClaim is an embedded @@ -33109,6 +33473,7 @@ spec: description: Overrides coreImage for component. type: string instanceCount: + description: Desired number of instances. format: int32 type: integer locations: @@ -33227,6 +33592,7 @@ spec: type: object type: array minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -33276,6 +33642,7 @@ spec: description: Name of the node rack. type: string readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -33441,6 +33808,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters + when Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be + unavailable during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object volumeClaimTemplates: items: description: EmbeddedPersistentVolumeClaim is an embedded @@ -35569,6 +35961,7 @@ spec: description: Overrides coreImage for component. type: string instanceCount: + description: Desired number of instances. format: int32 type: integer locations: @@ -35691,6 +36084,7 @@ spec: format: int32 type: integer minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -35738,6 +36132,7 @@ spec: format: int32 type: integer readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -35906,6 +36301,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters + when Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be + unavailable during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object volumeClaimTemplates: items: description: EmbeddedPersistentVolumeClaim is an embedded @@ -38344,6 +38764,7 @@ spec: description: Overrides coreImage for component. type: string instanceCount: + description: Desired number of instances. format: int32 type: integer locations: @@ -38462,6 +38883,7 @@ spec: type: object type: array minReadyInstanceCount: + description: Acceptable number of instances. type: integer monitoringPort: format: int32 @@ -38504,6 +38926,7 @@ spec: type: string type: object readinessProbeParams: + description: Parameters for periodic probe of instance readiness. properties: failureThreshold: format: int32 @@ -38664,6 +39087,31 @@ spec: type: string type: object type: array + updateStrategy: + description: StatefulSet update strategy. + properties: + rollingUpdate: + description: RollingUpdate is used to communicate parameters + when Type is RollingUpdateStatef + properties: + maxUnavailable: + anyOf: + - type: integer + - type: string + description: The maximum number of pods that can be unavailable + during the update. + x-kubernetes-int-or-string: true + partition: + description: |- + Partition indicates the ordinal at which the StatefulSet should be partitioned + f + format: int32 + type: integer + type: object + type: + description: Type indicates the type of the StatefulSetUpdateStrategy. + type: string + type: object volumeClaimTemplates: items: description: EmbeddedPersistentVolumeClaim is an embedded version