8.4. 通过 HawtIO 从 Quarkus Container for Discovery 公开 Jolokia Port
- 要使 HawtIO 发现部署的应用程序,执行容器必须具有名为 - jolokia的端口。因此,需要在- src/main/resources/application.properties文件中添加以下属性:- Define the Jolokia port on the container for HawtIO access - # Define the Jolokia port on the container for HawtIO access quarkus.openshift.ports.jolokia.container-port=${jolokia.port} quarkus.openshift.ports.jolokia.protocol=TCP- Copy to Clipboard Copied! - Toggle word wrap Toggle overflow