Skip to content

Commit

Permalink
Set specified resource request and limit on namenode main container (#…
Browse files Browse the repository at this point in the history
…259)

Also created ticket for tests #260
  • Loading branch information
sbernauer committed Oct 21, 2022
1 parent 73ba727 commit fcc998b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions rust/operator/src/hdfs_controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fcc998b

Please sign in to comment.