We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fb8a55 commit 376aba0Copy full SHA for 376aba0
rust/operator-binary/src/controller.rs
@@ -975,8 +975,11 @@ fn build_server_rolegroup_daemonset(
975
format!("{STACKABLE_LOG_DIR}/containerdebug"),
976
)
977
.add_container_port(APP_PORT_NAME, APP_PORT.into())
978
- // The metrics are served on the same port as the HTTP traffic
979
- .add_container_port(METRICS_PORT_NAME, APP_PORT.into())
+ // If we also add a container port "metrics" pointing to the same port number, we get a
+ //
980
+ // .spec.template.spec.containers[name="opa"].ports: duplicate entries for key [containerPort=8081,protocol="TCP"]
981
982
+ // So we don't do that
983
.add_volume_mount(CONFIG_VOLUME_NAME, CONFIG_DIR)
984
.context(AddVolumeMountSnafu)?
985
.add_volume_mount(LOG_VOLUME_NAME, STACKABLE_LOG_DIR)
0 commit comments