【发布时间】:2019-05-14 07:07:43
【问题描述】:
我为我的环境定义了以下 Jelastic 配置:
env:
topology:
nodes:
- nodeGroup: bl
nodeType: nginx-dockerized
tag: 1.14.2
displayName: Node balancing
count: 1
fixedCloudlets: 1
cloudlets: 4
env:
DOCKER_EXPOSED_PORT: 22,80,443
- image: jenkins/jenkins:lts
count: 1
cloudlets: 16
nodeGroup: cp
- nodeGroup: sqldb
现在,我希望我的环境的用户只能通过负载平衡节点访问我的 docker 应用程序。在 Jelastic 的仪表板中,我似乎无法为 cp 节点组配置任何防火墙规则。如何关闭与外部世界的 Jenkins 节点的任何连接,只从 nginx 节点保持打开状态?
【问题讨论】: