diff --git a/CHANGELOG.md b/CHANGELOG.md index 280fcfc171..0a43946841 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,25 @@ ### [Unreleased](https://github.com/redpanda-data/helm-charts/releases/tag/redpanda-FILLMEIN) - YYYY-MM-DD #### Added +* Added `resources.limits` and `resources.requests` as an alternative method of managing the redpanda container's resources. + + When both `resources.limits` and `resources.requests` are specified, the + redpanda container's `resources` will be set to the provided values and all + other keys of `resources` will be ignored. Instead, all other values will be + inferred from the limits and requests. + + This allows fine grain control of resources. i.e. It is now possible to set + CPU requests without setting limits: + + ```yaml + resources: + limits: {} # Specified but not cpu or memory values provided + requests: + cpu: 5 # Only CPU requests + ``` + + For more details see [redpanda's values.yaml](./charts/redpanda/values.yaml). + #### Changed #### Fixed #### Removed diff --git a/charts/redpanda/README.md b/charts/redpanda/README.md index 380df13d21..c95c860142 100644 --- a/charts/redpanda/README.md +++ b/charts/redpanda/README.md @@ -621,7 +621,42 @@ Enable for features that need extra privileges. If you use the Redpanda Operator ### [resources](https://artifacthub.io/packages/helm/redpanda-data/redpanda?modal=values&path=resources) -Pod resource management. This section simplifies resource allocation by providing a single location where resources are defined. Helm sets these resource values within the `statefulset.yaml` and `configmap.yaml` templates. The default values are for a development environment. Production-level values and other considerations are documented, where those values are different from the default. For details, see the [Pod resources documentation](https://docs.redpanda.com/docs/manage/kubernetes/manage-resources/). +Pod resource management. +This section simplifies resource allocation for the redpanda container by +providing a single location where resources are defined. + +Resources may be specified by either setting `resources.cpu` and +`resources.memory` (the default) or by setting `resources.requests` and +`resources.limits`. + +For details on `resources.cpu` and `resources.memory`, see their respective +documentation below. + +When `resources.limits` and `resources.requests` are set, the redpanda +container's resources will be set to exactly the provided values. This allows +users to granularly control limits and requests to best suite their use case. +For example: `resources.requests.cpu` may be set without setting +`resources.limits.cpu` to avoid the potential of CPU throttling. + +Redpanda's resource related CLI flags will then be calculated as follows: +* `--smp floor(resources.{requests,limits}.cpu)` +* `--memory resources.{requests,limits}.memory * 90%` +* `--reserve-memory 0` +* `--overprovisioned resources.{requests,limits}.cpu < 1000m` + +If neither a request nor a limit is provided for cpu or memory, the +corresponding flag will be omitted. As a result, setting `resources.limits` +and `resources.requests` to `{}` will result in redpanda being run without +`--smp` or `--memory`. (This is not recommended). + +If the computed CLI flags are undesirable, they may be overridden by +specifying the desired value through `statefulset.additionalRedpandaCmdFlags`. + +The default values are for a development environment. +Production-level values and other considerations are documented, +where those values are different from the default. +For details, +see the [Pod resources documentation](https://docs.redpanda.com/docs/manage/kubernetes/manage-resources/). **Default:** diff --git a/charts/redpanda/configmap.tpl.go b/charts/redpanda/configmap.tpl.go index 6229cfbbea..3c50d1d82c 100644 --- a/charts/redpanda/configmap.tpl.go +++ b/charts/redpanda/configmap.tpl.go @@ -365,8 +365,6 @@ func rpkNodeConfig(dot *helmette.Dot) map[string]any { } result := map[string]any{ - "overprovisioned": values.Resources.GetOverProvisionValue(), - "enable_memory_locking": ptr.Deref(values.Resources.Memory.EnableMemoryLocking, false), "additional_start_flags": RedpandaAdditionalStartFlags(dot), "kafka_api": map[string]any{ "brokers": brokerList, @@ -622,7 +620,7 @@ func RedpandaAdditionalStartFlags(dot *helmette.Dot) []string { values := helmette.Unwrap[Values](dot.Values) // All `additional_start_flags` that are set by the chart. - chartFlags := values.Resources.GetRedpandaStartFlags() + chartFlags := values.Resources.GetRedpandaFlags() chartFlags["default-log-level"] = values.Logging.LogLevel // If in developer_mode, don't set reserve-memory. @@ -646,7 +644,14 @@ func RedpandaAdditionalStartFlags(dot *helmette.Dot) []string { flags := []string{} for _, key := range keys { - flags = append(flags, fmt.Sprintf("--%s=%s", key, chartFlags[key])) + value := chartFlags[key] + // Support flags that don't have values (`--overprovisioned`) by + // letting them be specified as key: "" + if value == "" { + flags = append(flags, fmt.Sprintf("--%s", key)) + } else { + flags = append(flags, fmt.Sprintf("--%s=%s", key, value)) + } } return append(flags, values.Statefulset.AdditionalRedpandaCmdFlags...) diff --git a/charts/redpanda/templates/_configmap.go.tpl b/charts/redpanda/templates/_configmap.go.tpl index 478919586d..7f96dab54d 100644 --- a/charts/redpanda/templates/_configmap.go.tpl +++ b/charts/redpanda/templates/_configmap.go.tpl @@ -313,7 +313,7 @@ {{- if (gt ((get (fromJson (include "_shims.len" (dict "a" (list $tls_8) ))) "r") | int) (0 | int)) -}} {{- $schemaRegistryTLS = $tls_8 -}} {{- end -}} -{{- $result := (dict "overprovisioned" (get (fromJson (include "redpanda.RedpandaResources.GetOverProvisionValue" (dict "a" (list $values.resources) ))) "r") "enable_memory_locking" (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $values.resources.memory.enable_memory_locking false) ))) "r") "additional_start_flags" (get (fromJson (include "redpanda.RedpandaAdditionalStartFlags" (dict "a" (list $dot) ))) "r") "kafka_api" (dict "brokers" $brokerList "tls" $brokerTLS ) "admin_api" (dict "addresses" (get (fromJson (include "redpanda.Listeners.AdminList" (dict "a" (list $values.listeners ($values.statefulset.replicas | int) (get (fromJson (include "redpanda.Fullname" (dict "a" (list $dot) ))) "r") (get (fromJson (include "redpanda.InternalDomain" (dict "a" (list $dot) ))) "r")) ))) "r") "tls" $adminTLS ) "schema_registry" (dict "addresses" (get (fromJson (include "redpanda.Listeners.SchemaRegistryList" (dict "a" (list $values.listeners ($values.statefulset.replicas | int) (get (fromJson (include "redpanda.Fullname" (dict "a" (list $dot) ))) "r") (get (fromJson (include "redpanda.InternalDomain" (dict "a" (list $dot) ))) "r")) ))) "r") "tls" $schemaRegistryTLS ) ) -}} +{{- $result := (dict "additional_start_flags" (get (fromJson (include "redpanda.RedpandaAdditionalStartFlags" (dict "a" (list $dot) ))) "r") "kafka_api" (dict "brokers" $brokerList "tls" $brokerTLS ) "admin_api" (dict "addresses" (get (fromJson (include "redpanda.Listeners.AdminList" (dict "a" (list $values.listeners ($values.statefulset.replicas | int) (get (fromJson (include "redpanda.Fullname" (dict "a" (list $dot) ))) "r") (get (fromJson (include "redpanda.InternalDomain" (dict "a" (list $dot) ))) "r")) ))) "r") "tls" $adminTLS ) "schema_registry" (dict "addresses" (get (fromJson (include "redpanda.Listeners.SchemaRegistryList" (dict "a" (list $values.listeners ($values.statefulset.replicas | int) (get (fromJson (include "redpanda.Fullname" (dict "a" (list $dot) ))) "r") (get (fromJson (include "redpanda.InternalDomain" (dict "a" (list $dot) ))) "r")) ))) "r") "tls" $schemaRegistryTLS ) ) -}} {{- $result = (merge (dict ) $result (get (fromJson (include "redpanda.Tuning.Translate" (dict "a" (list $values.tuning) ))) "r")) -}} {{- $result = (merge (dict ) $result (get (fromJson (include "redpanda.Config.CreateRPKConfiguration" (dict "a" (list $values.config) ))) "r")) -}} {{- $_is_returning = true -}} @@ -544,7 +544,7 @@ {{- range $_ := (list 1) -}} {{- $_is_returning := false -}} {{- $values := $dot.Values.AsMap -}} -{{- $chartFlags := (get (fromJson (include "redpanda.RedpandaResources.GetRedpandaStartFlags" (dict "a" (list $values.resources) ))) "r") -}} +{{- $chartFlags := (get (fromJson (include "redpanda.RedpandaResources.GetRedpandaFlags" (dict "a" (list $values.resources) ))) "r") -}} {{- $_ := (set $chartFlags "default-log-level" $values.logging.logLevel) -}} {{- if (eq (index $values.config.node "developer_mode") true) -}} {{- $_ := (unset $chartFlags "reserve-memory") -}} @@ -566,7 +566,12 @@ {{- $_ := (sortAlpha $keys) -}} {{- $flags := (list ) -}} {{- range $_, $key := $keys -}} -{{- $flags = (concat (default (list ) $flags) (list (printf "--%s=%s" $key (ternary (index $chartFlags $key) "" (hasKey $chartFlags $key))))) -}} +{{- $value := (ternary (index $chartFlags $key) "" (hasKey $chartFlags $key)) -}} +{{- if (eq $value "") -}} +{{- $flags = (concat (default (list ) $flags) (list (printf "--%s" $key))) -}} +{{- else -}} +{{- $flags = (concat (default (list ) $flags) (list (printf "--%s=%s" $key $value))) -}} +{{- end -}} {{- end -}} {{- if $_is_returning -}} {{- break -}} diff --git a/charts/redpanda/templates/_values.go.tpl b/charts/redpanda/templates/_values.go.tpl index 309dbda123..45dbe9ee65 100644 --- a/charts/redpanda/templates/_values.go.tpl +++ b/charts/redpanda/templates/_values.go.tpl @@ -106,6 +106,11 @@ {{- $rr := (index .a 0) -}} {{- range $_ := (list 1) -}} {{- $_is_returning := false -}} +{{- if (and (ne (toJson $rr.limits) "null") (ne (toJson $rr.requests) "null")) -}} +{{- $_is_returning = true -}} +{{- (dict "r" (mustMergeOverwrite (dict ) (dict "limits" $rr.limits "requests" $rr.requests ))) | toJson -}} +{{- break -}} +{{- end -}} {{- $reqs := (mustMergeOverwrite (dict ) (dict "limits" (dict "cpu" $rr.cpu.cores "memory" $rr.memory.container.max ) )) -}} {{- if (ne (toJson $rr.memory.container.min) "null") -}} {{- $_ := (set $reqs "requests" (dict "cpu" $rr.cpu.cores "memory" $rr.memory.container.min )) -}} @@ -116,19 +121,25 @@ {{- end -}} {{- end -}} -{{- define "redpanda.RedpandaResources.GetRedpandaStartFlags" -}} +{{- define "redpanda.RedpandaResources.GetRedpandaFlags" -}} {{- $rr := (index .a 0) -}} {{- range $_ := (list 1) -}} {{- $_is_returning := false -}} -{{- $flags := (dict ) -}} -{{- $coresInMillies_2 := ((get (fromJson (include "_shims.resource_MilliValue" (dict "a" (list $rr.cpu.cores) ))) "r") | int64) -}} -{{- if (lt $coresInMillies_2 (1000 | int64)) -}} -{{- $_ := (set $flags "smp" (printf "%d" (1 | int))) -}} -{{- else -}} -{{- $_ := (set $flags "smp" (printf "%d" ((get (fromJson (include "_shims.resource_Value" (dict "a" (list $rr.cpu.cores) ))) "r") | int64))) -}} +{{- $flags := (dict "reserve-memory" (printf "%dM" ((get (fromJson (include "redpanda.RedpandaResources.reserveMemory" (dict "a" (list $rr) ))) "r") | int64)) ) -}} +{{- $smp_2 := (get (fromJson (include "redpanda.RedpandaResources.smp" (dict "a" (list $rr) ))) "r") -}} +{{- if (ne (toJson $smp_2) "null") -}} +{{- $_ := (set $flags "smp" (printf "%d" ($smp_2 | int64))) -}} +{{- end -}} +{{- $memory_3 := (get (fromJson (include "redpanda.RedpandaResources.memory" (dict "a" (list $rr) ))) "r") -}} +{{- if (ne (toJson $memory_3) "null") -}} +{{- $_ := (set $flags "memory" (printf "%dM" ($memory_3 | int64))) -}} +{{- end -}} +{{- if (and (eq (toJson $rr.limits) "null") (eq (toJson $rr.requests) "null")) -}} +{{- $_ := (set $flags "lock-memory" (printf "%v" (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $rr.memory.enable_memory_locking false) ))) "r"))) -}} +{{- end -}} +{{- if (get (fromJson (include "redpanda.RedpandaResources.GetOverProvisionValue" (dict "a" (list $rr) ))) "r") -}} +{{- $_ := (set $flags "overprovisioned" "") -}} {{- end -}} -{{- $_ := (set $flags "memory" (printf "%dM" ((get (fromJson (include "redpanda.RedpandaResources.memory" (dict "a" (list $rr) ))) "r") | int64))) -}} -{{- $_ := (set $flags "reserve-memory" (printf "%dM" ((get (fromJson (include "redpanda.RedpandaResources.reserveMemory" (dict "a" (list $rr) ))) "r") | int64))) -}} {{- $_is_returning = true -}} {{- (dict "r" $flags) | toJson -}} {{- break -}} @@ -139,6 +150,24 @@ {{- $rr := (index .a 0) -}} {{- range $_ := (list 1) -}} {{- $_is_returning := false -}} +{{- if (and (ne (toJson $rr.limits) "null") (ne (toJson $rr.requests) "null")) -}} +{{- $_446_cpuReq_ok := (get (fromJson (include "_shims.dicttest" (dict "a" (list ($rr.requests) "cpu" "0") ))) "r") -}} +{{- $cpuReq := (index $_446_cpuReq_ok 0) -}} +{{- $ok := (index $_446_cpuReq_ok 1) -}} +{{- if (not $ok) -}} +{{- $_448_cpuReq_ok := (get (fromJson (include "_shims.dicttest" (dict "a" (list ($rr.limits) "cpu" "0") ))) "r") -}} +{{- $cpuReq = (index $_448_cpuReq_ok 0) -}} +{{- $ok = (index $_448_cpuReq_ok 1) -}} +{{- end -}} +{{- if (and $ok (lt ((get (fromJson (include "_shims.resource_MilliValue" (dict "a" (list $cpuReq) ))) "r") | int64) (1000 | int64))) -}} +{{- $_is_returning = true -}} +{{- (dict "r" true) | toJson -}} +{{- break -}} +{{- end -}} +{{- $_is_returning = true -}} +{{- (dict "r" false) | toJson -}} +{{- break -}} +{{- end -}} {{- if (lt ((get (fromJson (include "_shims.resource_MilliValue" (dict "a" (list $rr.cpu.cores) ))) "r") | int64) (1000 | int64)) -}} {{- $_is_returning = true -}} {{- (dict "r" true) | toJson -}} @@ -150,15 +179,72 @@ {{- end -}} {{- end -}} +{{- define "redpanda.RedpandaResources.smp" -}} +{{- $rr := (index .a 0) -}} +{{- range $_ := (list 1) -}} +{{- $_is_returning := false -}} +{{- if (and (ne (toJson $rr.limits) "null") (ne (toJson $rr.requests) "null")) -}} +{{- $_470_cpuReq_ok := (get (fromJson (include "_shims.dicttest" (dict "a" (list ($rr.requests) "cpu" "0") ))) "r") -}} +{{- $cpuReq := (index $_470_cpuReq_ok 0) -}} +{{- $ok := (index $_470_cpuReq_ok 1) -}} +{{- if (not $ok) -}} +{{- $_472_cpuReq_ok := (get (fromJson (include "_shims.dicttest" (dict "a" (list ($rr.limits) "cpu" "0") ))) "r") -}} +{{- $cpuReq = (index $_472_cpuReq_ok 0) -}} +{{- $ok = (index $_472_cpuReq_ok 1) -}} +{{- end -}} +{{- if (not $ok) -}} +{{- $_is_returning = true -}} +{{- (dict "r" (coalesce nil)) | toJson -}} +{{- break -}} +{{- end -}} +{{- $smp := ((div ((get (fromJson (include "_shims.resource_MilliValue" (dict "a" (list $cpuReq) ))) "r") | int64) (1000 | int64)) | int64) -}} +{{- if (lt $smp (1 | int64)) -}} +{{- $smp = (1 | int64) -}} +{{- end -}} +{{- $_is_returning = true -}} +{{- (dict "r" $smp) | toJson -}} +{{- break -}} +{{- end -}} +{{- $coresInMillies_4 := ((get (fromJson (include "_shims.resource_MilliValue" (dict "a" (list $rr.cpu.cores) ))) "r") | int64) -}} +{{- if (lt $coresInMillies_4 (1000 | int64)) -}} +{{- $_is_returning = true -}} +{{- (dict "r" ((1 | int64) | int64)) | toJson -}} +{{- break -}} +{{- end -}} +{{- $_is_returning = true -}} +{{- (dict "r" (((get (fromJson (include "_shims.resource_Value" (dict "a" (list $rr.cpu.cores) ))) "r") | int64) | int64)) | toJson -}} +{{- break -}} +{{- end -}} +{{- end -}} + {{- define "redpanda.RedpandaResources.memory" -}} {{- $rr := (index .a 0) -}} {{- range $_ := (list 1) -}} {{- $_is_returning := false -}} +{{- if (and (ne (toJson $rr.limits) "null") (ne (toJson $rr.requests) "null")) -}} +{{- $_527_memReq_ok := (get (fromJson (include "_shims.dicttest" (dict "a" (list ($rr.requests) "memory" "0") ))) "r") -}} +{{- $memReq := (index $_527_memReq_ok 0) -}} +{{- $ok := (index $_527_memReq_ok 1) -}} +{{- if (not $ok) -}} +{{- $_529_memReq_ok := (get (fromJson (include "_shims.dicttest" (dict "a" (list ($rr.limits) "memory" "0") ))) "r") -}} +{{- $memReq = (index $_529_memReq_ok 0) -}} +{{- $ok = (index $_529_memReq_ok 1) -}} +{{- end -}} +{{- if (not $ok) -}} +{{- $_is_returning = true -}} +{{- (dict "r" (coalesce nil)) | toJson -}} +{{- break -}} +{{- end -}} +{{- $memory := (((mulf (((get (fromJson (include "_shims.resource_Value" (dict "a" (list $memReq) ))) "r") | int64) | float64) 0.90) | float64) | int64) -}} +{{- $_is_returning = true -}} +{{- (dict "r" ((div $memory ((mul (1024 | int) (1024 | int)))) | int64)) | toJson -}} +{{- break -}} +{{- end -}} {{- $memory := ((0 | int64) | int64) -}} {{- $containerMemory := ((get (fromJson (include "redpanda.RedpandaResources.containerMemory" (dict "a" (list $rr) ))) "r") | int64) -}} -{{- $rpMem_3 := $rr.memory.redpanda -}} -{{- if (and (ne (toJson $rpMem_3) "null") (ne (toJson $rpMem_3.memory) "null")) -}} -{{- $memory = ((div ((get (fromJson (include "_shims.resource_Value" (dict "a" (list $rpMem_3.memory) ))) "r") | int64) ((mul (1024 | int) (1024 | int)))) | int64) -}} +{{- $rpMem_5 := $rr.memory.redpanda -}} +{{- if (and (ne (toJson $rpMem_5) "null") (ne (toJson $rpMem_5.memory) "null")) -}} +{{- $memory = ((div ((get (fromJson (include "_shims.resource_Value" (dict "a" (list $rpMem_5.memory) ))) "r") | int64) ((mul (1024 | int) (1024 | int)))) | int64) -}} {{- else -}} {{- $memory = (((mulf ($containerMemory | float64) 0.8) | float64) | int64) -}} {{- end -}} @@ -168,7 +254,7 @@ {{- if (lt $memory (256 | int64)) -}} {{- $_ := (fail (printf "%d is below the minimum value for Redpanda" $memory)) -}} {{- end -}} -{{- if (gt ((add $memory ((get (fromJson (include "redpanda.RedpandaResources.reserveMemory" (dict "a" (list $rr) ))) "r") | int64)) | int64) $containerMemory) -}} +{{- if (gt ((add $memory (((get (fromJson (include "redpanda.RedpandaResources.reserveMemory" (dict "a" (list $rr) ))) "r") | int64) | int64)) | int64) $containerMemory) -}} {{- $_ := (fail (printf "Not enough container memory for Redpanda memory values where Redpanda: %d, reserve: %d, container: %d" $memory ((get (fromJson (include "redpanda.RedpandaResources.reserveMemory" (dict "a" (list $rr) ))) "r") | int64) $containerMemory)) -}} {{- end -}} {{- $_is_returning = true -}} @@ -181,10 +267,15 @@ {{- $rr := (index .a 0) -}} {{- range $_ := (list 1) -}} {{- $_is_returning := false -}} -{{- $rpMem_4 := $rr.memory.redpanda -}} -{{- if (and (ne (toJson $rpMem_4) "null") (ne (toJson $rpMem_4.reserveMemory) "null")) -}} +{{- if (and (ne (toJson $rr.limits) "null") (ne (toJson $rr.requests) "null")) -}} +{{- $_is_returning = true -}} +{{- (dict "r" (0 | int64)) | toJson -}} +{{- break -}} +{{- end -}} +{{- $rpMem_6 := $rr.memory.redpanda -}} +{{- if (and (ne (toJson $rpMem_6) "null") (ne (toJson $rpMem_6.reserveMemory) "null")) -}} {{- $_is_returning = true -}} -{{- (dict "r" ((div ((get (fromJson (include "_shims.resource_Value" (dict "a" (list $rpMem_4.reserveMemory) ))) "r") | int64) ((mul (1024 | int) (1024 | int)))) | int64)) | toJson -}} +{{- (dict "r" ((div ((get (fromJson (include "_shims.resource_Value" (dict "a" (list $rpMem_6.reserveMemory) ))) "r") | int64) ((mul (1024 | int) (1024 | int)))) | int64)) | toJson -}} {{- break -}} {{- end -}} {{- $_is_returning = true -}} @@ -213,9 +304,9 @@ {{- range $_ := (list 1) -}} {{- $_is_returning := false -}} {{- $conf := (get (fromJson (include "redpanda.Storage.GetTieredStorageConfig" (dict "a" (list $s) ))) "r") -}} -{{- $_503_b_ok := (get (fromJson (include "_shims.dicttest" (dict "a" (list $conf "cloud_storage_enabled" (coalesce nil)) ))) "r") -}} -{{- $b := (index $_503_b_ok 0) -}} -{{- $ok := (index $_503_b_ok 1) -}} +{{- $_647_b_ok := (get (fromJson (include "_shims.dicttest" (dict "a" (list $conf "cloud_storage_enabled" (coalesce nil)) ))) "r") -}} +{{- $b := (index $_647_b_ok 0) -}} +{{- $ok := (index $_647_b_ok 1) -}} {{- $_is_returning = true -}} {{- (dict "r" (and $ok (get (fromJson (include "_shims.typeassertion" (dict "a" (list "bool" $b) ))) "r"))) | toJson -}} {{- break -}} @@ -260,21 +351,21 @@ {{- range $_ := (list 1) -}} {{- $_is_returning := false -}} {{- $values := $dot.Values.AsMap -}} -{{- $_532_dir_5_ok_6 := (get (fromJson (include "_shims.typetest" (dict "a" (list "string" (index $values.config.node "cloud_storage_cache_directory") "") ))) "r") -}} -{{- $dir_5 := (index $_532_dir_5_ok_6 0) -}} -{{- $ok_6 := (index $_532_dir_5_ok_6 1) -}} -{{- if $ok_6 -}} +{{- $_676_dir_7_ok_8 := (get (fromJson (include "_shims.typetest" (dict "a" (list "string" (index $values.config.node "cloud_storage_cache_directory") "") ))) "r") -}} +{{- $dir_7 := (index $_676_dir_7_ok_8 0) -}} +{{- $ok_8 := (index $_676_dir_7_ok_8 1) -}} +{{- if $ok_8 -}} {{- $_is_returning = true -}} -{{- (dict "r" $dir_5) | toJson -}} +{{- (dict "r" $dir_7) | toJson -}} {{- break -}} {{- end -}} {{- $tieredConfig := (get (fromJson (include "redpanda.Storage.GetTieredStorageConfig" (dict "a" (list $values.storage) ))) "r") -}} -{{- $_541_dir_7_ok_8 := (get (fromJson (include "_shims.typetest" (dict "a" (list "string" (index $tieredConfig "cloud_storage_cache_directory") "") ))) "r") -}} -{{- $dir_7 := (index $_541_dir_7_ok_8 0) -}} -{{- $ok_8 := (index $_541_dir_7_ok_8 1) -}} -{{- if $ok_8 -}} +{{- $_685_dir_9_ok_10 := (get (fromJson (include "_shims.typetest" (dict "a" (list "string" (index $tieredConfig "cloud_storage_cache_directory") "") ))) "r") -}} +{{- $dir_9 := (index $_685_dir_9_ok_10 0) -}} +{{- $ok_10 := (index $_685_dir_9_ok_10 1) -}} +{{- if $ok_10 -}} {{- $_is_returning = true -}} -{{- (dict "r" $dir_7) | toJson -}} +{{- (dict "r" $dir_9) | toJson -}} {{- break -}} {{- end -}} {{- $_is_returning = true -}} @@ -371,9 +462,9 @@ {{- $result := (dict ) -}} {{- $s := (toJson $t) -}} {{- $tune := (fromJson $s) -}} -{{- $_767_m_ok := (get (fromJson (include "_shims.typetest" (dict "a" (list (printf "map[%s]%s" "string" "interface {}") $tune (coalesce nil)) ))) "r") -}} -{{- $m := (index $_767_m_ok 0) -}} -{{- $ok := (index $_767_m_ok 1) -}} +{{- $_911_m_ok := (get (fromJson (include "_shims.typetest" (dict "a" (list (printf "map[%s]%s" "string" "interface {}") $tune (coalesce nil)) ))) "r") -}} +{{- $m := (index $_911_m_ok 0) -}} +{{- $ok := (index $_911_m_ok 1) -}} {{- if (not $ok) -}} {{- $_is_returning = true -}} {{- (dict "r" (dict )) | toJson -}} @@ -509,10 +600,10 @@ {{- $seen := (dict ) -}} {{- $deduped := (coalesce nil) -}} {{- range $_, $item := $items -}} -{{- $_884___ok_9 := (get (fromJson (include "_shims.dicttest" (dict "a" (list $seen $item.key false) ))) "r") -}} -{{- $_ := (index $_884___ok_9 0) -}} -{{- $ok_9 := (index $_884___ok_9 1) -}} -{{- if $ok_9 -}} +{{- $_1028___ok_11 := (get (fromJson (include "_shims.dicttest" (dict "a" (list $seen $item.key false) ))) "r") -}} +{{- $_ := (index $_1028___ok_11 0) -}} +{{- $ok_11 := (index $_1028___ok_11 1) -}} +{{- if $ok_11 -}} {{- continue -}} {{- end -}} {{- $deduped = (concat (default (list ) $deduped) (list $item)) -}} @@ -564,9 +655,9 @@ {{- $name := (index .a 1) -}} {{- range $_ := (list 1) -}} {{- $_is_returning := false -}} -{{- $_975_cert_ok := (get (fromJson (include "_shims.dicttest" (dict "a" (list $m $name (dict "enabled" (coalesce nil) "caEnabled" false "applyInternalDNSNames" (coalesce nil) "duration" "" "issuerRef" (coalesce nil) "secretRef" (coalesce nil) "clientSecretRef" (coalesce nil) )) ))) "r") -}} -{{- $cert := (index $_975_cert_ok 0) -}} -{{- $ok := (index $_975_cert_ok 1) -}} +{{- $_1119_cert_ok := (get (fromJson (include "_shims.dicttest" (dict "a" (list $m $name (dict "enabled" (coalesce nil) "caEnabled" false "applyInternalDNSNames" (coalesce nil) "duration" "" "issuerRef" (coalesce nil) "secretRef" (coalesce nil) "clientSecretRef" (coalesce nil) )) ))) "r") -}} +{{- $cert := (index $_1119_cert_ok 0) -}} +{{- $ok := (index $_1119_cert_ok 1) -}} {{- if (not $ok) -}} {{- $_ := (fail (printf "Certificate %q referenced, but not found in the tls.certs map" $name)) -}} {{- end -}} @@ -914,9 +1005,9 @@ {{- if $saslEnabled -}} {{- $_ := (set $internal "authentication_method" "http_basic") -}} {{- end -}} -{{- $am_10 := (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $l.authenticationMethod "") ))) "r") -}} -{{- if (ne $am_10 "") -}} -{{- $_ := (set $internal "authentication_method" $am_10) -}} +{{- $am_12 := (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $l.authenticationMethod "") ))) "r") -}} +{{- if (ne $am_12 "") -}} +{{- $_ := (set $internal "authentication_method" $am_12) -}} {{- end -}} {{- $result := (list $internal) -}} {{- range $k, $l := $l.external -}} @@ -927,9 +1018,9 @@ {{- if $saslEnabled -}} {{- $_ := (set $listener "authentication_method" "http_basic") -}} {{- end -}} -{{- $am_11 := (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $l.authenticationMethod "") ))) "r") -}} -{{- if (ne $am_11 "") -}} -{{- $_ := (set $listener "authentication_method" $am_11) -}} +{{- $am_13 := (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $l.authenticationMethod "") ))) "r") -}} +{{- if (ne $am_13 "") -}} +{{- $_ := (set $listener "authentication_method" $am_13) -}} {{- end -}} {{- $result = (concat (default (list ) $result) (list $listener)) -}} {{- end -}} @@ -1012,9 +1103,9 @@ {{- if (get (fromJson (include "redpanda.Auth.IsSASLEnabled" (dict "a" (list $auth) ))) "r") -}} {{- $_ := (set $internal "authentication_method" "sasl") -}} {{- end -}} -{{- $am_12 := (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $l.authenticationMethod "") ))) "r") -}} -{{- if (ne $am_12 "") -}} -{{- $_ := (set $internal "authentication_method" $am_12) -}} +{{- $am_14 := (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $l.authenticationMethod "") ))) "r") -}} +{{- if (ne $am_14 "") -}} +{{- $_ := (set $internal "authentication_method" $am_14) -}} {{- end -}} {{- $kafka := (list $internal) -}} {{- range $k, $l := $l.external -}} @@ -1025,9 +1116,9 @@ {{- if (get (fromJson (include "redpanda.Auth.IsSASLEnabled" (dict "a" (list $auth) ))) "r") -}} {{- $_ := (set $listener "authentication_method" "sasl") -}} {{- end -}} -{{- $am_13 := (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $l.authenticationMethod "") ))) "r") -}} -{{- if (ne $am_13 "") -}} -{{- $_ := (set $listener "authentication_method" $am_13) -}} +{{- $am_15 := (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $l.authenticationMethod "") ))) "r") -}} +{{- if (ne $am_15 "") -}} +{{- $_ := (set $listener "authentication_method" $am_15) -}} {{- end -}} {{- $kafka = (concat (default (list ) $kafka) (list $listener)) -}} {{- end -}} @@ -1159,9 +1250,9 @@ {{- if $saslEnabled -}} {{- $_ := (set $internal "authentication_method" "http_basic") -}} {{- end -}} -{{- $am_14 := (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $sr.authenticationMethod "") ))) "r") -}} -{{- if (ne $am_14 "") -}} -{{- $_ := (set $internal "authentication_method" $am_14) -}} +{{- $am_16 := (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $sr.authenticationMethod "") ))) "r") -}} +{{- if (ne $am_16 "") -}} +{{- $_ := (set $internal "authentication_method" $am_16) -}} {{- end -}} {{- $result := (list $internal) -}} {{- range $k, $l := $sr.external -}} @@ -1172,9 +1263,9 @@ {{- if $saslEnabled -}} {{- $_ := (set $listener "authentication_method" "http_basic") -}} {{- end -}} -{{- $am_15 := (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $l.authenticationMethod "") ))) "r") -}} -{{- if (ne $am_15 "") -}} -{{- $_ := (set $listener "authentication_method" $am_15) -}} +{{- $am_17 := (get (fromJson (include "_shims.ptr_Deref" (dict "a" (list $l.authenticationMethod "") ))) "r") -}} +{{- if (ne $am_17 "") -}} +{{- $_ := (set $listener "authentication_method" $am_17) -}} {{- end -}} {{- $result = (concat (default (list ) $result) (list $listener)) -}} {{- end -}} @@ -1309,10 +1400,10 @@ {{- $result := (dict ) -}} {{- range $k, $v := $c -}} {{- if (not (empty $v)) -}} -{{- $_1809___ok_16 := (get (fromJson (include "_shims.asnumeric" (dict "a" (list $v) ))) "r") -}} -{{- $_ := ((index $_1809___ok_16 0) | float64) -}} -{{- $ok_16 := (index $_1809___ok_16 1) -}} -{{- if $ok_16 -}} +{{- $_1953___ok_18 := (get (fromJson (include "_shims.asnumeric" (dict "a" (list $v) ))) "r") -}} +{{- $_ := ((index $_1953___ok_18 0) | float64) -}} +{{- $ok_18 := (index $_1953___ok_18 1) -}} +{{- if $ok_18 -}} {{- $_ := (set $result $k $v) -}} {{- else -}}{{- if (kindIs "bool" $v) -}} {{- $_ := (set $result $k $v) -}} @@ -1337,11 +1428,11 @@ {{- $_is_returning := false -}} {{- $result := (dict ) -}} {{- range $k, $v := $c -}} -{{- $_1829_b_17_ok_18 := (get (fromJson (include "_shims.typetest" (dict "a" (list "bool" $v false) ))) "r") -}} -{{- $b_17 := (index $_1829_b_17_ok_18 0) -}} -{{- $ok_18 := (index $_1829_b_17_ok_18 1) -}} -{{- if $ok_18 -}} -{{- $_ := (set $result $k $b_17) -}} +{{- $_1973_b_19_ok_20 := (get (fromJson (include "_shims.typetest" (dict "a" (list "bool" $v false) ))) "r") -}} +{{- $b_19 := (index $_1973_b_19_ok_20 0) -}} +{{- $ok_20 := (index $_1973_b_19_ok_20 1) -}} +{{- if $ok_20 -}} +{{- $_ := (set $result $k $b_19) -}} {{- continue -}} {{- end -}} {{- if (not (empty $v)) -}} @@ -1382,15 +1473,15 @@ {{- $config := (index .a 1) -}} {{- range $_ := (list 1) -}} {{- $_is_returning := false -}} -{{- $_1874___hasAccessKey := (get (fromJson (include "_shims.dicttest" (dict "a" (list $config "cloud_storage_access_key" (coalesce nil)) ))) "r") -}} -{{- $_ := (index $_1874___hasAccessKey 0) -}} -{{- $hasAccessKey := (index $_1874___hasAccessKey 1) -}} -{{- $_1875___hasSecretKey := (get (fromJson (include "_shims.dicttest" (dict "a" (list $config "cloud_storage_secret_key" (coalesce nil)) ))) "r") -}} -{{- $_ := (index $_1875___hasSecretKey 0) -}} -{{- $hasSecretKey := (index $_1875___hasSecretKey 1) -}} -{{- $_1876___hasSharedKey := (get (fromJson (include "_shims.dicttest" (dict "a" (list $config "cloud_storage_azure_shared_key" (coalesce nil)) ))) "r") -}} -{{- $_ := (index $_1876___hasSharedKey 0) -}} -{{- $hasSharedKey := (index $_1876___hasSharedKey 1) -}} +{{- $_2018___hasAccessKey := (get (fromJson (include "_shims.dicttest" (dict "a" (list $config "cloud_storage_access_key" (coalesce nil)) ))) "r") -}} +{{- $_ := (index $_2018___hasAccessKey 0) -}} +{{- $hasAccessKey := (index $_2018___hasAccessKey 1) -}} +{{- $_2019___hasSecretKey := (get (fromJson (include "_shims.dicttest" (dict "a" (list $config "cloud_storage_secret_key" (coalesce nil)) ))) "r") -}} +{{- $_ := (index $_2019___hasSecretKey 0) -}} +{{- $hasSecretKey := (index $_2019___hasSecretKey 1) -}} +{{- $_2020___hasSharedKey := (get (fromJson (include "_shims.dicttest" (dict "a" (list $config "cloud_storage_azure_shared_key" (coalesce nil)) ))) "r") -}} +{{- $_ := (index $_2020___hasSharedKey 0) -}} +{{- $hasSharedKey := (index $_2020___hasSharedKey 1) -}} {{- $envvars := (coalesce nil) -}} {{- if (and (not $hasAccessKey) (get (fromJson (include "redpanda.SecretRef.IsValid" (dict "a" (list $tsc.accessKey) ))) "r")) -}} {{- $envvars = (concat (default (list ) $envvars) (list (mustMergeOverwrite (dict "name" "" ) (dict "name" "REDPANDA_CLOUD_STORAGE_ACCESS_KEY" "valueFrom" (get (fromJson (include "redpanda.SecretRef.AsSource" (dict "a" (list $tsc.accessKey) ))) "r") )))) -}} @@ -1413,12 +1504,12 @@ {{- $c := (index .a 0) -}} {{- range $_ := (list 1) -}} {{- $_is_returning := false -}} -{{- $_1912___containerExists := (get (fromJson (include "_shims.dicttest" (dict "a" (list $c "cloud_storage_azure_container" (coalesce nil)) ))) "r") -}} -{{- $_ := (index $_1912___containerExists 0) -}} -{{- $containerExists := (index $_1912___containerExists 1) -}} -{{- $_1913___accountExists := (get (fromJson (include "_shims.dicttest" (dict "a" (list $c "cloud_storage_azure_storage_account" (coalesce nil)) ))) "r") -}} -{{- $_ := (index $_1913___accountExists 0) -}} -{{- $accountExists := (index $_1913___accountExists 1) -}} +{{- $_2056___containerExists := (get (fromJson (include "_shims.dicttest" (dict "a" (list $c "cloud_storage_azure_container" (coalesce nil)) ))) "r") -}} +{{- $_ := (index $_2056___containerExists 0) -}} +{{- $containerExists := (index $_2056___containerExists 1) -}} +{{- $_2057___accountExists := (get (fromJson (include "_shims.dicttest" (dict "a" (list $c "cloud_storage_azure_storage_account" (coalesce nil)) ))) "r") -}} +{{- $_ := (index $_2057___accountExists 0) -}} +{{- $accountExists := (index $_2057___accountExists 1) -}} {{- $_is_returning = true -}} {{- (dict "r" (and $containerExists $accountExists)) | toJson -}} {{- break -}} @@ -1429,9 +1520,9 @@ {{- $c := (index .a 0) -}} {{- range $_ := (list 1) -}} {{- $_is_returning := false -}} -{{- $_1918_value_ok := (get (fromJson (include "_shims.dicttest" (dict "a" (list $c `cloud_storage_cache_size` (coalesce nil)) ))) "r") -}} -{{- $value := (index $_1918_value_ok 0) -}} -{{- $ok := (index $_1918_value_ok 1) -}} +{{- $_2062_value_ok := (get (fromJson (include "_shims.dicttest" (dict "a" (list $c `cloud_storage_cache_size` (coalesce nil)) ))) "r") -}} +{{- $value := (index $_2062_value_ok 0) -}} +{{- $ok := (index $_2062_value_ok 1) -}} {{- if (not $ok) -}} {{- $_is_returning = true -}} {{- (dict "r" (coalesce nil)) | toJson -}} @@ -1456,9 +1547,9 @@ {{- if $_is_returning -}} {{- break -}} {{- end -}} -{{- $size_19 := (get (fromJson (include "redpanda.TieredStorageConfig.CloudStorageCacheSize" (dict "a" (list (deepCopy $c)) ))) "r") -}} -{{- if (ne (toJson $size_19) "null") -}} -{{- $_ := (set $config "cloud_storage_cache_size" ((get (fromJson (include "_shims.resource_Value" (dict "a" (list $size_19) ))) "r") | int64)) -}} +{{- $size_21 := (get (fromJson (include "redpanda.TieredStorageConfig.CloudStorageCacheSize" (dict "a" (list (deepCopy $c)) ))) "r") -}} +{{- if (ne (toJson $size_21) "null") -}} +{{- $_ := (set $config "cloud_storage_cache_size" ((get (fromJson (include "_shims.resource_Value" (dict "a" (list $size_21) ))) "r") | int64)) -}} {{- end -}} {{- $_is_returning = true -}} {{- (dict "r" $config) | toJson -}} diff --git a/charts/redpanda/testdata/template-cases.golden.txtar b/charts/redpanda/testdata/template-cases.golden.txtar index 5c9ca24e8f..12f34d9f90 100644 --- a/charts/redpanda/testdata/template-cases.golden.txtar +++ b/charts/redpanda/testdata/template-cases.golden.txtar @@ -347,6 +347,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -357,7 +358,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -365,7 +365,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -742,7 +741,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -1657,6 +1656,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -1664,12 +1664,10 @@ data: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:9644 tls: null - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 tls: null - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -2009,7 +2007,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: 6e5b1f11d8fb052222d9f4301284b0e91935dbf73c874ee624183b5a04cb9823 + config.redpanda.com/checksum: a265839b4c5546a9e6399d39f04433512b0ee2acad0b1e1e2a097e87ca5fd603 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -2738,6 +2736,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -2746,13 +2745,11 @@ data: - redpanda-0.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -3113,7 +3110,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: 6fd0ffd56475954e062f04d4d1c9393e016e8b66bfba64f6419c794861d1b9b2 + config.redpanda.com/checksum: 74620a3f6d91ff97413100a29e39bce08f50acd5a3bbfc638fd14087ade2b54c creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -4163,6 +4160,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -4170,12 +4168,10 @@ data: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:9644 tls: null - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 tls: null - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -4527,7 +4523,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: 5265a0c42c9888cd69e394a959677e44c5909408f1c85c570bb56e6262285b1a + config.redpanda.com/checksum: 5913ff02aabefa9545bbc723d39917da860ee9f1ff2b7c3c1e4f70d6243f3963 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -5458,6 +5454,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -5466,13 +5463,11 @@ data: - redpanda-0.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -5850,7 +5845,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: fc10e3af9a4f7ff7f2e7f76110e0ad824999092e8012a745bc1168ead31e43ad + config.redpanda.com/checksum: 48d16409fceabde111f2af78bca611b9bbd11cbdce513e899b3f7178131dff62 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -6911,6 +6906,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -6921,7 +6917,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -6929,7 +6924,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -7404,7 +7398,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -8463,6 +8457,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -8473,14 +8468,12 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 - redpanda-1.redpanda.default.svc.cluster.local.:9093 - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: null - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -8886,7 +8879,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: 6efc2c489543f3f84c0105524bea43a1fb61e5a3925046cb0a60551f23959964 + config.redpanda.com/checksum: 6e14a70b85b3a2bcfc14b22c31e31755492e400db5f62bef96bc42308a1768bf creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -9991,6 +9984,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -10001,7 +9995,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -10009,7 +10002,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -10386,7 +10378,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -11418,6 +11410,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -11428,7 +11421,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -11436,7 +11428,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -11813,7 +11804,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -12879,6 +12870,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -12889,7 +12881,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -12897,7 +12888,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -13274,7 +13264,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: fc549ca23d4e1dff27e530265d59be059368cd4866ee0ca938c73ceff6815b57 + config.redpanda.com/checksum: 061abbbf3bdfd6ba28ac9ae7c2094ec7a75626e554114bee11a8e7333fa96aeb creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -14403,6 +14393,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -14413,7 +14404,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -14421,7 +14411,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -14815,7 +14804,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: ddcf6376732939f810acb684cafac205507b50b966e5714f128ed87a56fb10f6 + config.redpanda.com/checksum: 00507160e4b4ca314c06a001accee78727b56323183ecb2a32e69a57e95fee93 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -15854,6 +15843,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -15864,7 +15854,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -15872,7 +15861,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -16249,7 +16237,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: 48ad7b247c147d3bd7bcbc3357d831d21016fbd8ca0022343a14dbb23c15a9ae + config.redpanda.com/checksum: 9ff1fda4d661bd1093d65622f946930548c0cd42d737cafde92efc0ca8891fa3 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -17132,6 +17120,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -17142,7 +17131,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -17150,7 +17138,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -17614,7 +17601,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: 48ad7b247c147d3bd7bcbc3357d831d21016fbd8ca0022343a14dbb23c15a9ae + config.redpanda.com/checksum: 9ff1fda4d661bd1093d65622f946930548c0cd42d737cafde92efc0ca8891fa3 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -18451,6 +18438,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -18460,14 +18448,12 @@ data: - redpanda-1.redpanda.default.svc.cluster.local.:9644 - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: null - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 - redpanda-1.redpanda.default.svc.cluster.local.:9093 - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: null - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -18818,7 +18804,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: 148733ee0ada31cbc1a8fda54191ad29425f8b3dea458814fac1938671843141 + config.redpanda.com/checksum: 72be562ddad0b3a179e1d6c2a29ab0dfb0da206ed6b9e53cc65d1c84bca3bfce creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -19593,6 +19579,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -19603,7 +19590,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -19611,7 +19597,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -19988,7 +19973,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -20998,6 +20983,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -21008,7 +20994,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -21016,7 +21001,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -21623,7 +21607,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -22639,6 +22623,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2000M - --reserve-memory=0M - --smp=1 @@ -22649,7 +22634,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -22657,7 +22641,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -23034,7 +23017,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: f20d341fb81aa7ed6ced1fad2af7b611113cb255d137392a3d2485781a045a19 + config.redpanda.com/checksum: 275f58031cdbb49fddf7743139498e604607b540bdeb56968982510077a3841c creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -24015,6 +23998,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -24025,7 +24009,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -24033,7 +24016,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -24410,7 +24392,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: 9802162e4b8b9aaf699d67337e3ee45299ff93beb822d0842765ce1c5a4c911b + config.redpanda.com/checksum: 4bb2c2ccf42bc04f55acd3a9897482976397c367ca875441b7c35a904f29cf9f creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -25436,6 +25418,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -25446,7 +25429,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -25454,7 +25436,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -25847,7 +25828,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -26894,7 +26875,9 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=1024M + - --overprovisioned - --reserve-memory=100M - --smp=1 admin_api: @@ -26904,7 +26887,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -26912,7 +26894,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: true schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -27305,7 +27286,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: 6e125110db4b6706f6338010ad36c50316395111aea32b3a9d4f4984a32501f9 + config.redpanda.com/checksum: c8ec7100f3ca0b33b749495c2a1c66f23b7e9eaa20ac00151b4daa96f7501fef creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -28350,7 +28331,9 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=1024M + - --overprovisioned - --reserve-memory=100M - --smp=1 admin_api: @@ -28360,7 +28343,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -28368,7 +28350,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: true schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -28761,7 +28742,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: 6e125110db4b6706f6338010ad36c50316395111aea32b3a9d4f4984a32501f9 + config.redpanda.com/checksum: c8ec7100f3ca0b33b749495c2a1c66f23b7e9eaa20ac00151b4daa96f7501fef creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -29769,7 +29750,9 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=1024M + - --overprovisioned - --reserve-memory=100M - --smp=1 admin_api: @@ -29779,7 +29762,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -29787,7 +29769,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: true schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -30164,7 +30145,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: 6e125110db4b6706f6338010ad36c50316395111aea32b3a9d4f4984a32501f9 + config.redpanda.com/checksum: c8ec7100f3ca0b33b749495c2a1c66f23b7e9eaa20ac00151b4daa96f7501fef creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -31209,6 +31190,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -31219,7 +31201,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -31227,7 +31208,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -31620,7 +31600,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -32679,7 +32659,9 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=1024M + - --overprovisioned - --reserve-memory=100M - --smp=1 admin_api: @@ -32689,7 +32671,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -32697,7 +32678,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: true schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -33090,7 +33070,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: 6e125110db4b6706f6338010ad36c50316395111aea32b3a9d4f4984a32501f9 + config.redpanda.com/checksum: c8ec7100f3ca0b33b749495c2a1c66f23b7e9eaa20ac00151b4daa96f7501fef creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -34147,7 +34127,9 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=1024M + - --overprovisioned - --reserve-memory=100M - --smp=1 admin_api: @@ -34157,7 +34139,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -34165,7 +34146,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: true schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -34558,7 +34538,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: 6e125110db4b6706f6338010ad36c50316395111aea32b3a9d4f4984a32501f9 + config.redpanda.com/checksum: c8ec7100f3ca0b33b749495c2a1c66f23b7e9eaa20ac00151b4daa96f7501fef creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -35579,7 +35559,9 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=1024M + - --overprovisioned - --reserve-memory=100M - --smp=1 admin_api: @@ -35589,7 +35571,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -35597,7 +35578,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: true schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -35974,7 +35954,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: 6e125110db4b6706f6338010ad36c50316395111aea32b3a9d4f4984a32501f9 + config.redpanda.com/checksum: c8ec7100f3ca0b33b749495c2a1c66f23b7e9eaa20ac00151b4daa96f7501fef creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -37032,6 +37012,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -37042,7 +37023,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -37050,7 +37030,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -37443,7 +37422,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -38502,7 +38481,9 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=1024M + - --overprovisioned - --reserve-memory=100M - --smp=1 admin_api: @@ -38512,7 +38493,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -38520,7 +38500,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: true schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -38913,7 +38892,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: 6e125110db4b6706f6338010ad36c50316395111aea32b3a9d4f4984a32501f9 + config.redpanda.com/checksum: c8ec7100f3ca0b33b749495c2a1c66f23b7e9eaa20ac00151b4daa96f7501fef creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -39970,7 +39949,9 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=1024M + - --overprovisioned - --reserve-memory=100M - --smp=1 admin_api: @@ -39980,7 +39961,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -39988,7 +39968,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: true schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -40381,7 +40360,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: 6e125110db4b6706f6338010ad36c50316395111aea32b3a9d4f4984a32501f9 + config.redpanda.com/checksum: c8ec7100f3ca0b33b749495c2a1c66f23b7e9eaa20ac00151b4daa96f7501fef creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -41402,7 +41381,9 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=1024M + - --overprovisioned - --reserve-memory=100M - --smp=1 admin_api: @@ -41412,7 +41393,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -41420,7 +41400,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: true schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -41797,7 +41776,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: 6e125110db4b6706f6338010ad36c50316395111aea32b3a9d4f4984a32501f9 + config.redpanda.com/checksum: c8ec7100f3ca0b33b749495c2a1c66f23b7e9eaa20ac00151b4daa96f7501fef creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -42811,6 +42790,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --smp=99 - --reserve-memory=9999 @@ -42821,7 +42801,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -42829,7 +42808,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -43206,7 +43184,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: 154bbf670b25a84e084af1f1a6777450206fdb2f3014a881f8350fe0371cdc54 + config.redpanda.com/checksum: 5de4b61c8e144dd3613201d8213128ed707837199773b54a29a3b46209c58c06 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -44184,6 +44162,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -44194,7 +44173,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -44202,7 +44180,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -44579,7 +44556,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -45558,6 +45535,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -45568,7 +45546,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -45576,7 +45553,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -45953,7 +45929,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -46992,6 +46968,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -47003,7 +46980,6 @@ data: - redpanda-3.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -47011,7 +46987,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 - redpanda-3.redpanda.default.svc.cluster.local.:9093 tls: null - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -47411,7 +47386,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: 52c4224ef1d61d20c262460abf0216fe9307e5d6a7f850500acf83a9fae73176 + config.redpanda.com/checksum: 0a2b697b93de53e4199b68827829981660a06b258348ed5d2398eb744f1cecd0 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -48400,6 +48375,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -48410,7 +48386,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -48418,7 +48393,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -48804,7 +48778,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -49791,6 +49765,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -49801,7 +49776,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -49809,7 +49783,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -50416,7 +50389,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -51499,6 +51472,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -51509,7 +51483,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -51517,7 +51490,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -52026,7 +51998,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -53047,6 +53019,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -53057,7 +53030,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -53065,7 +53037,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -53656,7 +53627,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -54634,6 +54605,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -54644,7 +54616,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -54652,7 +54623,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -55029,7 +54999,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: 4dd7f27eb2c63130aae3cb9fb56e906fe64581f6bf10fbfd9cbd78af4538ad4f + config.redpanda.com/checksum: 6d8fa5c0205f20eae7e12dd72e3b66dd811093f4beb850eec009696a8e3ea4e6 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -56012,6 +55982,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -56022,7 +55993,6 @@ data: - redpanda-2.change-name.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.change-name.default.svc.cluster.local.:9093 @@ -56030,7 +56000,6 @@ data: - redpanda-2.change-name.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.change-name.default.svc.cluster.local.:8081 @@ -56411,7 +56380,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: d36e92a8c61e842dcb008c69f388e92e82e8bac4773ca194fac0b13ab573a5d7 + config.redpanda.com/checksum: b265f0344d689561bd34ba51e98ca9b2bdc83b5766a6d9e24550f3e05ea1a0fa creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -57423,6 +57392,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -57433,7 +57403,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -57441,7 +57410,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -57818,7 +57786,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -58830,6 +58798,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -58840,7 +58809,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -58848,7 +58816,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -59225,7 +59192,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -60239,6 +60206,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -60249,7 +60217,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -60257,7 +60224,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -60634,7 +60600,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -61581,6 +61547,7 @@ data: rpk: additional_start_flags: - --default-log-level=trace + - --lock-memory=false - --memory=1638M - --reserve-memory=204M - --smp=1 @@ -61590,7 +61557,6 @@ data: - redpanda-1.redpanda.default.svc.cluster.local.:9644 - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: null - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9092 @@ -61600,7 +61566,6 @@ data: ca_file: /etc/tls/certs/kafka-internal-0/ca.crt cert_file: /etc/tls/certs/redpanda-client/tls.crt key_file: /etc/tls/certs/redpanda-client/tls.key - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -61811,7 +61776,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: e4a33e06a3a848411b8c96665793b25fe19f6633e1dba4696815c7c709e55670 + config.redpanda.com/checksum: 7596bd7ae626f74762ce26d7caec0bc1dd6f4be57558b8a1974a1a58f8a6c268 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -62908,6 +62873,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -62918,7 +62884,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -62926,7 +62891,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -63303,7 +63267,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -64416,6 +64380,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -64426,7 +64391,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -64434,7 +64398,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -64844,7 +64807,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: bd246fb96aa20556886caa8b87c2670c88c07301ead21f08a9686f6516d3e550 + config.redpanda.com/checksum: 497c66cc5b940824c98efb2f96f1ef3b6092eace6464cac1f35f74b843befa25 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -65923,6 +65886,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -65933,7 +65897,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -65941,7 +65904,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -66334,7 +66296,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -67314,6 +67276,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -67324,7 +67287,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -67332,7 +67294,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -67714,7 +67675,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -68697,6 +68658,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -68707,7 +68669,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -68715,7 +68676,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -69333,7 +69293,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -70361,6 +70321,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -70371,7 +70332,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -70379,7 +70339,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -70756,7 +70715,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -71736,6 +71695,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -71746,7 +71706,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -71754,7 +71713,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -72131,7 +72089,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -73111,6 +73069,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -73121,7 +73080,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -73129,7 +73087,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -73506,7 +73463,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -74484,6 +74441,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -74494,7 +74452,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -74502,7 +74459,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -74886,7 +74842,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -77368,6 +77324,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -77378,7 +77335,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -77386,7 +77342,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -77780,7 +77735,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: ddcf6376732939f810acb684cafac205507b50b966e5714f128ed87a56fb10f6 + config.redpanda.com/checksum: 00507160e4b4ca314c06a001accee78727b56323183ecb2a32e69a57e95fee93 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -78843,6 +78798,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -78853,7 +78809,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -78861,7 +78816,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -79238,7 +79192,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -80253,6 +80207,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -80263,7 +80218,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -80271,7 +80225,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -80664,7 +80617,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -81649,6 +81602,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -81659,7 +81613,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -81667,7 +81620,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -82044,7 +81996,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -83055,6 +83007,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -83065,7 +83018,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -83073,7 +83025,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -83450,7 +83401,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -84465,6 +84416,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -84475,7 +84427,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -84483,7 +84434,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -84876,7 +84826,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -85861,6 +85811,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -85871,7 +85822,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -85879,7 +85829,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -86256,7 +86205,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -87255,6 +87204,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -87265,7 +87215,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -87273,7 +87222,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -87650,7 +87598,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -88665,6 +88613,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -88675,7 +88624,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -88683,7 +88631,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -89076,7 +89023,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -90061,6 +90008,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -90071,7 +90019,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -90079,7 +90026,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -90456,7 +90402,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -91455,6 +91401,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -91465,7 +91412,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -91473,7 +91419,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -91850,7 +91795,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -92865,6 +92810,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -92875,7 +92821,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -92883,7 +92828,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -93276,7 +93220,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -94261,6 +94205,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -94271,7 +94216,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -94279,7 +94223,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -94656,7 +94599,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -95656,6 +95599,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -95666,7 +95610,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -95674,7 +95617,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -96051,7 +95993,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -97067,6 +97009,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -97077,7 +97020,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -97085,7 +97027,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -97478,7 +97419,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -98464,6 +98405,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -98474,7 +98416,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -98482,7 +98423,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -98859,7 +98799,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -99859,6 +99799,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -99869,7 +99810,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -99877,7 +99817,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -100254,7 +100193,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -101270,6 +101209,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -101280,7 +101220,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -101288,7 +101227,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -101681,7 +101619,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -102667,6 +102605,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -102677,7 +102616,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -102685,7 +102623,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -103062,7 +102999,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -104061,6 +103998,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -104071,7 +104009,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -104079,7 +104016,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -104456,7 +104392,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -105240,6 +105176,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -105250,7 +105187,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -105258,7 +105194,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/for-internal/tls.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -105641,7 +105576,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: fd140d05574a4b21ce6b2a6395458401c1e6186bf8e96c7af882169f664768f8 + config.redpanda.com/checksum: 584a9f58fe8c97bf2883a04b37ea0ab2f87061a3df67aaa1494e0752d3e2249a creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -106441,6 +106376,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -106451,7 +106387,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -106459,7 +106394,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -107066,7 +107000,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -108082,6 +108016,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -108092,7 +108027,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -108100,7 +108034,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -108691,7 +108624,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -109685,6 +109618,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -109695,7 +109629,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -109703,7 +109636,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -110310,7 +110242,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -111321,6 +111253,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -111331,7 +111264,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -111339,7 +111271,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -111946,7 +111877,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -113018,6 +112949,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -113028,7 +112960,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -113036,7 +112967,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -113413,7 +113343,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -114461,6 +114391,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -114471,7 +114402,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -114479,7 +114409,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -114946,7 +114875,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: c78188d8cc1a290ac7796eded5f3a49988f7a44a5971aad33fe89b9b32293cfa + config.redpanda.com/checksum: 6db500caf5077bdd0339699eadabcb5d8cfcc097f0a602edbf5630df7bacb6c3 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -115928,6 +115857,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -115938,7 +115868,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -115946,7 +115875,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -116413,7 +116341,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: 40b1555a526efc78caf3107b6358b05773b82d09ed9b9671ad6524e40176955a + config.redpanda.com/checksum: 4adcf759fd036185f4bebf9aa87c94074419ab1957be3fafacf28f408036dd5e creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -117448,6 +117376,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -117458,7 +117387,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -117466,7 +117394,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -117909,7 +117836,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: 94c9073f00666e990b3c71fa079076ea050fb87cd0cc32f503bbe21fb198294e + config.redpanda.com/checksum: e2f2c8400bba7f7e8439e8652136aa5860133a84fc9bb2326dbbc9bb6a9f40ca creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -118935,6 +118862,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -118945,7 +118873,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -118955,7 +118882,6 @@ data: ca_file: /etc/tls/certs/kafka-internal-0/ca.crt cert_file: /etc/tls/certs/redpanda-client/tls.crt key_file: /etc/tls/certs/redpanda-client/tls.key - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -119342,7 +119268,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: 321ff8691ac4f68ffb27c9740544981cf2a289b856d21a3d3eb6b8bab9fe4d05 + config.redpanda.com/checksum: eba255add08fc4b1e2527a90940a7dfda47feae79535ee1441af626571c288b8 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -120461,6 +120387,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --smp=1 admin_api: @@ -120470,7 +120397,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -120478,7 +120404,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -120855,7 +120780,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b5b5d0fb08868933f0fea06ea634d950c13380b1e9ca7d5f944b9591eeeb2e41 + config.redpanda.com/checksum: 8226659a7f97293e14a4a81b1e7d618b8d56de954e8e7f72d566a7b3f562ae38 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -121833,6 +121758,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -121843,7 +121769,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -121851,7 +121776,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -122228,7 +122152,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -123225,6 +123149,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -123234,7 +123159,6 @@ data: - redpanda-1.redpanda.default.svc.cluster.local.:9644 - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: null - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -123242,7 +123166,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -123618,7 +123541,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b8e0da1a021479fef4009079ccab692b64a4149233b6a0852c151097c6926cd8 + config.redpanda.com/checksum: a8f3aafc8e0ebe742e0d9440358c5fbb807de65e1310c941e381b1f188d03924 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -124622,6 +124545,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -124632,7 +124556,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -124640,7 +124563,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -125017,7 +124939,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -126032,6 +125954,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -126042,7 +125965,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -126050,7 +125972,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -126443,7 +126364,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -127428,6 +127349,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -127438,7 +127360,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -127446,7 +127367,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -127823,7 +127743,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -128823,6 +128743,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -128833,7 +128754,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -128841,7 +128761,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -129218,7 +129137,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -130234,6 +130153,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -130244,7 +130164,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -130252,7 +130171,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -130645,7 +130563,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -131631,6 +131549,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -131641,7 +131560,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -131649,7 +131567,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -132026,7 +131943,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -133025,6 +132942,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -133035,7 +132953,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -133043,7 +132960,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -133437,7 +133353,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset @@ -134443,6 +134359,7 @@ data: rpk: additional_start_flags: - --default-log-level=info + - --lock-memory=false - --memory=2048M - --reserve-memory=205M - --smp=1 @@ -134453,7 +134370,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9644 tls: ca_file: /etc/tls/certs/default/ca.crt - enable_memory_locking: false kafka_api: brokers: - redpanda-0.redpanda.default.svc.cluster.local.:9093 @@ -134461,7 +134377,6 @@ data: - redpanda-2.redpanda.default.svc.cluster.local.:9093 tls: ca_file: /etc/tls/certs/default/ca.crt - overprovisioned: false schema_registry: addresses: - redpanda-0.redpanda.default.svc.cluster.local.:8081 @@ -134838,7 +134753,7 @@ spec: template: metadata: annotations: - config.redpanda.com/checksum: b689e1074337a6b597b8b9725e277cec5fd5a95b3031e546d96640232ca30ca3 + config.redpanda.com/checksum: b926c1f6e2405f6fd37d32cc56bf3f7ceffc1069e713a3358fc6c2c64f3b9589 creationTimestamp: null labels: app.kubernetes.io/component: redpanda-statefulset diff --git a/charts/redpanda/testdata/template-cases.txtar b/charts/redpanda/testdata/template-cases.txtar index 347052a412..dd82ecf2de 100644 --- a/charts/redpanda/testdata/template-cases.txtar +++ b/charts/redpanda/testdata/template-cases.txtar @@ -651,3 +651,27 @@ console: hosts: - host: "{{ (get (fromJson (include \"console.Fullname\" (dict \"a\" (list $) ))) \"r\") | trunc 50 }}-first-rule-host" - host: "{{ (get (fromJson (include \"console.Fullname\" (dict \"a\" (list $) ))) \"r\") | trunc 50 }}-second-rule-host" + +-- direct-resources-examples -- +# ASSERT-NO-ERROR +# ASSERT-FIELD-EQUALS ["apps/v1/StatefulSet", "default/redpanda", "{.spec.template.spec.containers[0].resources.limits}", {"memory": "10Gi"}] +# ASSERT-FIELD-EQUALS ["apps/v1/StatefulSet", "default/redpanda", "{.spec.template.spec.containers[0].resources.requests}", {"cpu": "5500m"}] +# ASSERT-FIELD-CONTAINS ["v1/ConfigMap", "default/redpanda", "{.data.redpanda\\.yaml}", "--smp=5"] +# ASSERT-FIELD-CONTAINS ["v1/ConfigMap", "default/redpanda", "{.data.redpanda\\.yaml}", "--memory=9216M"] +# ASSERT-FIELD-CONTAINS ["v1/ConfigMap", "default/redpanda", "{.data.redpanda\\.yaml}", "--reserve-memory=0M"] +resources: + limits: + memory: 10Gi + requests: + cpu: 5500m + +-- direct-resources-none-provided -- +# ASSERT-NO-ERROR +# ASSERT-FIELD-EQUALS ["apps/v1/StatefulSet", "default/redpanda", "{.spec.template.spec.containers[0].resources.limits}", {}] +# ASSERT-FIELD-EQUALS ["apps/v1/StatefulSet", "default/redpanda", "{.spec.template.spec.containers[0].resources.requests}", {}] +# ASSERT-FIELD-NOT-CONTAINS ["v1/ConfigMap", "default/redpanda", "{.data.redpanda\\.yaml}", "--smp"] +# ASSERT-FIELD-NOT-CONTAINS ["v1/ConfigMap", "default/redpanda", "{.data.redpanda\\.yaml}", "--memory"] +# ASSERT-FIELD-CONTAINS ["v1/ConfigMap", "default/redpanda", "{.data.redpanda\\.yaml}", "--reserve-memory=0M"] +resources: + limits: {} + requests: {} diff --git a/charts/redpanda/values.go b/charts/redpanda/values.go index 2c7d632e50..65198c4f60 100644 --- a/charts/redpanda/values.go +++ b/charts/redpanda/values.go @@ -295,7 +295,30 @@ type Monitoring struct { EnableHttp2 *bool `json:"enableHttp2"` } +// RedpandaResources encapsulates the calculation of the redpanda container's +// [corev1.ResourceRequirements] and parameters such as `--memory`, +// `--reserve-memory`, and `--smp`. +// This calculation supports two modes: +// * Explicit mode (recommended): Activated when `Limits` and `Requests` are +// set. In this mode, the CLI flags are calculated directly based on the +// provided `Limits` and `Requests`. This mode ensures predictable resource +// allocation and is recommended for production environments. If additional +// tuning is required, the CLI flags can be manually overridden using +// `statefulset.additionalRedpandaCmdFlags`. +// +// * Legacy mode (default): Used when `Limits` and `Requests` are not set. +// In this mode, the container resources and CLI flags are calculated using +// built-in default logic, where 80% of the container's memory is allocated +// to Redpanda and the rest is reserved for system overhead. Legacy mode is +// intended for backward compatibility and less controlled environments. +// +// Explicit mode offers better control and aligns with Kubernetes best +// practices. Legacy mode is a fallback for users who have not defined `Limits` +// and `Requests`. type RedpandaResources struct { + Limits *corev1.ResourceList `json:"limits,omitempty"` + Requests *corev1.ResourceList `json:"requests,omitempty"` + CPU struct { Cores resource.Quantity `json:"cores" jsonschema:"required"` Overprovisioned *bool `json:"overprovisioned"` @@ -363,6 +386,14 @@ type RedpandaResources struct { } func (rr *RedpandaResources) GetResourceRequirements() corev1.ResourceRequirements { + // If Limits and Requests are specified, use them as is. + if rr.Limits != nil && rr.Requests != nil { + return corev1.ResourceRequirements{ + Limits: *rr.Limits, + Requests: *rr.Requests, + } + } + // Otherwise fallback to the historical behavior. reqs := corev1.ResourceRequirements{ Limits: corev1.ResourceList{ @@ -381,22 +412,49 @@ func (rr *RedpandaResources) GetResourceRequirements() corev1.ResourceRequiremen return reqs } -func (rr *RedpandaResources) GetRedpandaStartFlags() map[string]string { - flags := map[string]string{} +func (rr *RedpandaResources) GetRedpandaFlags() map[string]string { + flags := map[string]string{ + "reserve-memory": fmt.Sprintf("%dM", rr.reserveMemory()), + } - if coresInMillies := rr.CPU.Cores.MilliValue(); coresInMillies < 1000 { - flags["smp"] = fmt.Sprintf("%d", 1) - } else { - flags["smp"] = fmt.Sprintf("%d", rr.CPU.Cores.Value()) + if smp := rr.smp(); smp != nil { + flags["smp"] = fmt.Sprintf("%d", int64(*smp)) } - flags["memory"] = fmt.Sprintf("%dM", rr.memory()) - flags["reserve-memory"] = fmt.Sprintf("%dM", rr.reserveMemory()) + if memory := rr.memory(); memory != nil { + flags["memory"] = fmt.Sprintf("%dM", int64(*memory)) + } + + // Only set lock-memory if Limits and Requests are NOT specified. It should + // otherwise be set through additionalRedpandaCmdFlags. + if rr.Limits == nil && rr.Requests == nil { + flags["lock-memory"] = fmt.Sprintf("%v", ptr.Deref(rr.Memory.EnableMemoryLocking, false)) + } + + if rr.GetOverProvisionValue() { + flags["overprovisioned"] = "" + } return flags } func (rr *RedpandaResources) GetOverProvisionValue() bool { + if rr.Limits != nil && rr.Requests != nil { + // Get CPU prioritizing requests, falling back to limits if not + // specified as kube-scheduler does. + cpuReq, ok := (*rr.Requests)[corev1.ResourceCPU] + if !ok { + cpuReq, ok = (*rr.Limits)[corev1.ResourceCPU] + } + + // If redpanda has been allocated less than 1 full CPU, set + // overprovisioned to true. + if ok && cpuReq.MilliValue() < 1000 { + return true + } + return false + } + if rr.CPU.Cores.MilliValue() < 1000 { return true } @@ -404,22 +462,109 @@ func (rr *RedpandaResources) GetOverProvisionValue() bool { return ptr.Deref(rr.CPU.Overprovisioned, false) } +func (rr *RedpandaResources) smp() *int64 { + if rr.Limits != nil && rr.Requests != nil { + // Get CPU prioritizing requests, falling back to limits if not + // specified as kube-scheduler does. + cpuReq, ok := (*rr.Requests)[corev1.ResourceCPU] + if !ok { + cpuReq, ok = (*rr.Limits)[corev1.ResourceCPU] + } + + // If neither requests nor limits are set, don't set --smp. + if !ok { + return nil + } + + // If CPU requests are defined, set --smp to min(1, floor(requests.cpu)). + // + // Due to redpanda/seastar's per core model, we can't do much with + // fractional CPU values we need to round either up or down. Rounding + // up would result in utilizing too much CPU from the CRI perspective + // and cause throttling, so we round down and potentially waste some + // quota. + smp := cpuReq.MilliValue() / 1000 + if smp < 1 { + smp = 1 + } + return ptr.To(smp) + } + + if coresInMillies := rr.CPU.Cores.MilliValue(); coresInMillies < 1000 { + return ptr.To(int64(1)) + } + return ptr.To(int64(rr.CPU.Cores.Value())) +} + // memory returns the amount of memory for Redpanda process. It should be // passed to the `--memory` argument of the Redpanda process, see // RedpandaAdditionalStartFlags and rpk redpanda start documentation. // // https://docs.redpanda.com/current/reference/rpk/rpk-redpanda/rpk-redpanda-start/ -func (rr *RedpandaResources) memory() int64 { +func (rr *RedpandaResources) memory() *MebiBytes { + if rr.Limits != nil && rr.Requests != nil { + // `--memory` will be set to something < the container's + // resources.memory.limits value. + // We want to allocate seastar < memory than our limit for several reasons: + // 1. Seastar may slightly exceed this limit due to page tables and + // non-heap memory that's still accounted by cgroups. + // 2. resources.limits.memory applies to the entire container. We want + // to keep headroom to allow exec'ing into the container and for any + // exec probes. + // 3. emptyDir's storage is counted against the container's memory + // limits. We use these to store rendered versions of config files + // and therefore need to account for them. + // https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#memory-backed-emptydir + // The memory reservation is done by subtracting from `--memory` and + // always setting `--reserve-memory` to 0 rather than setting + // `--reserve-memory`. This is an easier mental model to follow as the + // `--reserve-memory` flag is exceptionally nuanced in practice. + + // If either memory limit or requests are set, we take the minimum of + // the two (relying on the invariant enforced by Kubernetes that + // requests must be <= limits). + memReq, ok := (*rr.Requests)[corev1.ResourceMemory] + if !ok { + memReq, ok = (*rr.Limits)[corev1.ResourceMemory] + } + + // If neither requests nor limits are set, don't set --memory. + if !ok { + return nil + } + + // Here we perform our memory reservation. Historically, 80% of + // container memory was provided to Redpanda and some additional amount + // was removed due to the usage of `--reserve-memory`. We're largely + // blind to the lower limit of what's tolerated. + // This calculation, therefore, is a complete split ball. We expect + // this to change over time; ideally trending towards providing + // redpanda more memory. + // We intentionally err on the conservative side as we'd prefer to + // "waste" a few megs of memory rather than risking OOM kills. + // For simplicity, we're using a % as a static reservation would need + // to handle weird edge cases. + // + // redpanda get's 90% of the container limit. (It's better than the + // historic 80%). + memory := int64(float64(memReq.Value()) * 0.90) + + // Cast to Membibytes. + return ptr.To(memory / (1024 * 1024)) + } + + // Below we perform the calculations for the legacy resource mode. This + // calculation appears to be based on an incorrect understanding of the + // (admittedly convoluted) `--reserve-memory` seastar flag and is preserved + // solely for backwards compatibility. + // + // It segments out memory for: + // * Seastar/Redpanda (`--memory`) - .Memory.Redpanda OR 80% of memory + // * Seastar's "subsystem" (`--reserve-memory`) - .Memory.Reserve OR 200Mi + 0.2% of memory + // * Container processes (execing, hooks, probes, etc) - The leftovers from the above (if any) memory := int64(0) containerMemory := rr.containerMemory() - // This optional `redpanda` object allows you to specify the memory size for both the Redpanda - // process and the underlying reserved memory used by Seastar. - // - // The amount of memory to allocate to a container is determined by the sum of three values: - // 1. Redpanda (at least 2Gi per core, ~80% of the container's total memory) - // 2. Seastar subsystem (200Mi * 0.2% of the container's total memory, 200Mi < x < 1Gi) - // 3. Other container processes (whatever small amount remains) if rpMem := rr.Memory.Redpanda; rpMem != nil && rpMem.Memory != nil { memory = rpMem.Memory.Value() / (1024 * 1024) } else { @@ -434,11 +579,13 @@ func (rr *RedpandaResources) memory() int64 { panic(fmt.Sprintf("%d is below the minimum value for Redpanda", memory)) } - if memory+rr.reserveMemory() > containerMemory { + // NB: int64's are working around a bug in gotohelm's BinaryExpr detection + // with Alias types. + if memory+int64(rr.reserveMemory()) > containerMemory { panic(fmt.Sprintf("Not enough container memory for Redpanda memory values where Redpanda: %d, reserve: %d, container: %d", memory, rr.reserveMemory(), containerMemory)) } - return memory + return ptr.To(memory) } // reserveMemory returns the amount of memory that the Redpanda process will @@ -448,20 +595,17 @@ func (rr *RedpandaResources) memory() int64 { // start documentation. // // https://docs.redpanda.com/current/reference/rpk/rpk-redpanda/rpk-redpanda-start/ -func (rr *RedpandaResources) reserveMemory() int64 { - // This optional `redpanda` object allows you to specify the memory size for both the Redpanda - // process and the underlying reserved memory used by Seastar. - // - // The amount of memory to allocate to a container is determined by the sum of three values: - // 1. Redpanda (at least 2Gi per core, ~80% of the container's total memory) - // 2. Seastar subsystem (200Mi * 0.2% of the container's total memory, 200Mi < x < 1Gi) - // 3. Other container processes (whatever small amount remains) +func (rr *RedpandaResources) reserveMemory() MebiBytes { + if rr.Limits != nil && rr.Requests != nil { + // See [RedpandaResources.memory] for details here. + return 0 + } + + // See [RedpandaResources.memory] for details here. if rpMem := rr.Memory.Redpanda; rpMem != nil && rpMem.ReserveMemory != nil { return rpMem.ReserveMemory.Value() / (1024 * 1024) } - // If Redpanda is omitted (default behavior), memory sizes are calculated automatically - // based on 0.2% of container memory plus 200 Mi. return int64(float64(rr.containerMemory())*0.002) + 200 } diff --git a/charts/redpanda/values.schema.json b/charts/redpanda/values.schema.json index 8c90d45c3c..2f6f3b9b73 100644 --- a/charts/redpanda/values.schema.json +++ b/charts/redpanda/values.schema.json @@ -14013,6 +14013,20 @@ ], "type": "object" }, + "limits": { + "additionalProperties": { + "oneOf": [ + { + "type": "integer" + }, + { + "pattern": "^[0-9]+(\\.[0-9]){0,1}(m|k|M|G|T|P|Ki|Mi|Gi|Ti|Pi)?$", + "type": "string" + } + ] + }, + "type": "object" + }, "memory": { "properties": { "container": { @@ -14080,6 +14094,20 @@ "container" ], "type": "object" + }, + "requests": { + "additionalProperties": { + "oneOf": [ + { + "type": "integer" + }, + { + "pattern": "^[0-9]+(\\.[0-9]){0,1}(m|k|M|G|T|P|Ki|Mi|Gi|Ti|Pi)?$", + "type": "string" + } + ] + }, + "type": "object" } }, "required": [ diff --git a/charts/redpanda/values.yaml b/charts/redpanda/values.yaml index 00192519b8..9a88bfc8a1 100644 --- a/charts/redpanda/values.yaml +++ b/charts/redpanda/values.yaml @@ -346,9 +346,36 @@ monitoring: # keyFile: /etc/prom-certs/key.pem # -- Pod resource management. -# This section simplifies resource allocation -# by providing a single location where resources are defined. -# Helm sets these resource values within the `statefulset.yaml` and `configmap.yaml` templates. +# @raw +# This section simplifies resource allocation for the redpanda container by +# providing a single location where resources are defined. +# +# Resources may be specified by either setting `resources.cpu` and +# `resources.memory` (the default) or by setting `resources.requests` and +# `resources.limits`. +# +# For details on `resources.cpu` and `resources.memory`, see their respective +# documentation below. +# +# When `resources.limits` and `resources.requests` are set, the redpanda +# container's resources will be set to exactly the provided values. This allows +# users to granularly control limits and requests to best suite their use case. +# For example: `resources.requests.cpu` may be set without setting +# `resources.limits.cpu` to avoid the potential of CPU throttling. +# +# Redpanda's resource related CLI flags will then be calculated as follows: +# * `--smp floor(resources.{requests,limits}.cpu)` +# * `--memory resources.{requests,limits}.memory * 90%` +# * `--reserve-memory 0` +# * `--overprovisioned resources.{requests,limits}.cpu < 1000m` +# +# If neither a request nor a limit is provided for cpu or memory, the +# corresponding flag will be omitted. As a result, setting `resources.limits` +# and `resources.requests` to `{}` will result in redpanda being run without +# `--smp` or `--memory`. (This is not recommended). +# +# If the computed CLI flags are undesirable, they may be overridden by +# specifying the desired value through `statefulset.additionalRedpandaCmdFlags`. # # The default values are for a development environment. # Production-level values and other considerations are documented, @@ -356,6 +383,8 @@ monitoring: # For details, # see the [Pod resources documentation](https://docs.redpanda.com/docs/manage/kubernetes/manage-resources/). resources: + # limits: null + # requests: null # # -- CPU resources. # For details, diff --git a/charts/redpanda/values_partial.gen.go b/charts/redpanda/values_partial.gen.go index 1927d33d57..61326ea727 100644 --- a/charts/redpanda/values_partial.gen.go +++ b/charts/redpanda/values_partial.gen.go @@ -123,7 +123,9 @@ type PartialMonitoring struct { } type PartialRedpandaResources struct { - CPU *struct { + Limits *corev1.ResourceList "json:\"limits,omitempty\"" + Requests *corev1.ResourceList "json:\"requests,omitempty\"" + CPU *struct { Cores *resource.Quantity "json:\"cores,omitempty\" jsonschema:\"required\"" Overprovisioned *bool "json:\"overprovisioned,omitempty\"" } "json:\"cpu,omitempty\" jsonschema:\"required\"" diff --git a/charts/redpanda/values_test.go b/charts/redpanda/values_test.go index 29939fa852..a7d6856d31 100644 --- a/charts/redpanda/values_test.go +++ b/charts/redpanda/values_test.go @@ -4,8 +4,10 @@ import ( "strings" "testing" + "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" corev1 "k8s.io/api/core/v1" + "k8s.io/apimachinery/pkg/api/resource" "k8s.io/utils/ptr" ) @@ -609,3 +611,87 @@ func TestTieredStorageConfigCreds(t *testing.T) { }) } } + +func TestRedpandaResources_RedpandaFlags(t *testing.T) { + cases := []struct { + Resources RedpandaResources + Expected map[string]string + }{ + { + Resources: RedpandaResources{ + Limits: &corev1.ResourceList{}, + Requests: &corev1.ResourceList{}, + }, + Expected: map[string]string{ + "reserve-memory": "0M", // Always set when Limits && Requests != nil. + // No other flags set as there's nothing to base them off of (Not recommended). + }, + }, + { + // overprovisioned is only set if CPU < 1000m. + Resources: RedpandaResources{ + Limits: &corev1.ResourceList{}, + Requests: &corev1.ResourceList{ + corev1.ResourceCPU: resource.MustParse("500m"), + }, + }, + Expected: map[string]string{ + "reserve-memory": "0M", // Always set when Limits && Requests != nil. + "smp": "1", + "overprovisioned": "", + }, + }, + { + Resources: RedpandaResources{ + Limits: &corev1.ResourceList{}, + Requests: &corev1.ResourceList{ + corev1.ResourceCPU: resource.MustParse("2500m"), + corev1.ResourceMemory: resource.MustParse("10Gi"), + }, + }, + Expected: map[string]string{ + "reserve-memory": "0M", + "smp": "2", // floor(CPU) + "memory": "9216M", // memory * 90% + }, + }, + { + // Limits are taken if requests aren't specified. + Resources: RedpandaResources{ + Limits: &corev1.ResourceList{ + corev1.ResourceCPU: resource.MustParse("3"), + corev1.ResourceMemory: resource.MustParse("20Gi"), + }, + Requests: &corev1.ResourceList{}, + }, + Expected: map[string]string{ + "reserve-memory": "0M", + "smp": "3", // floor(CPU) + "memory": "18432M", // memory * 90% + }, + }, + { + // Showcase that Requests are taken for CLI params in favor of limits. + Resources: RedpandaResources{ + Limits: &corev1.ResourceList{ + corev1.ResourceCPU: resource.MustParse("10"), + corev1.ResourceMemory: resource.MustParse("200Gi"), + }, + Requests: &corev1.ResourceList{ + corev1.ResourceCPU: resource.MustParse("5"), + corev1.ResourceMemory: resource.MustParse("100Gi"), + }, + }, + Expected: map[string]string{ + "reserve-memory": "0M", + "smp": "5", // floor(CPU) + "memory": "92160M", // memory * 90% + }, + }, + } + + for _, tc := range cases { + flags := tc.Resources.GetRedpandaFlags() + assert.Equal(t, tc.Expected, flags) + } +} diff --git a/flake.nix b/flake.nix index 41e86426a5..fae1a04e28 100644 --- a/flake.nix +++ b/flake.nix @@ -55,7 +55,7 @@ pkgs.kubernetes-helm pkgs.kustomize pkgs.setup-envtest - pkgs.yq # jq but for YAML + pkgs.yq-go # jq but for YAML ]; }; };