From 1b69d356dffb779d934fea36984e2e513f521586 Mon Sep 17 00:00:00 2001 From: Sebastian Bernauer Date: Fri, 21 Oct 2022 09:39:36 +0200 Subject: [PATCH] Set specified resource request and limit on namenode main container --- CHANGELOG.md | 6 ++++++ rust/operator/src/hdfs_controller.rs | 1 + 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ed2c613..3dc0e15f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,12 @@ All notable changes to this project will be documented in this file. [#249]: https://github.com/stackabletech/hdfs-operator/pull/249 [#250]: https://github.com/stackabletech/hdfs-operator/pull/250 +### Fixed + +- Set specified resource request and limit on namenode main container ([#259]) + +[#259]: https://github.com/stackabletech/hdfs-operator/pull/259 + ## [0.5.0] - 2022-09-06 ### Changed diff --git a/rust/operator/src/hdfs_controller.rs b/rust/operator/src/hdfs_controller.rs index 0399defc..83972b98 100644 --- a/rust/operator/src/hdfs_controller.rs +++ b/rust/operator/src/hdfs_controller.rs @@ -540,6 +540,7 @@ fn namenode_containers( env: Some(env), readiness_probe: Some(tcp_socket_action_probe(SERVICE_PORT_NAME_RPC, 10, 10)), liveness_probe: Some(tcp_socket_action_probe(SERVICE_PORT_NAME_RPC, 10, 10)), + resources: Some(resources.clone()), ..hadoop_container.clone() }, // Note that we don't add the HADOOP_OPTS / HDFS_NAMENODE_OPTS env var to this container (zkfc)