File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1064,23 +1064,22 @@ async fn build_node_rolegroup_statefulset(
10641064 . add_volume_mount ( TRUSTSTORE_VOLUME_NAME , STACKABLE_SERVER_TLS_DIR )
10651065 . context ( AddVolumeMountSnafu ) ?
10661066 . add_volume_mount ( LISTENER_VOLUME_NAME , LISTENER_VOLUME_DIR )
1067- . context ( AddVolumeMountSnafu ) ?;
1067+ . context ( AddVolumeMountSnafu ) ?
1068+ . resources (
1069+ ResourceRequirementsBuilder :: new ( )
1070+ . with_cpu_request ( "500m" )
1071+ . with_cpu_limit ( "2000m" )
1072+ . with_memory_request ( "4096Mi" )
1073+ . with_memory_limit ( "4096Mi" )
1074+ . build ( ) ,
1075+ ) ;
10681076
10691077 if authorization_config. has_opa_tls ( ) {
10701078 container_prepare
10711079 . add_volume_mount ( OPA_TLS_VOLUME_NAME , OPA_TLS_MOUNT_PATH )
10721080 . context ( AddVolumeMountSnafu ) ?;
10731081 }
10741082
1075- container_prepare. resources (
1076- ResourceRequirementsBuilder :: new ( )
1077- . with_cpu_request ( "500m" )
1078- . with_cpu_limit ( "2000m" )
1079- . with_memory_request ( "4096Mi" )
1080- . with_memory_limit ( "4096Mi" )
1081- . build ( ) ,
1082- ) ;
1083-
10841083 let nifi_container_name = Container :: Nifi . to_string ( ) ;
10851084 let mut container_nifi_builder =
10861085 ContainerBuilder :: new ( & nifi_container_name) . with_context ( |_| {
You can’t perform that action at this time.
0 commit comments