@@ -25,9 +25,7 @@ const httpPool = new openstack.loadbalancer.Pool("ingress-pool", {
2525} ) ;
2626
2727const k3AccesNodeIps = [ "10.10.0.252" , "10.10.0.92" , "10.10.0.240" ] ;
28- // const nginxNodePorthttp = 32080;
2928const nginxNodePorthttp = 30180 ;
30- // const nginxNodePorthttps = 32443;
3129const nginxNodePorthttps = 30443 ;
3230
3331k3AccesNodeIps . map ( ( ip , index ) => {
@@ -39,17 +37,6 @@ k3AccesNodeIps.map((ip, index) => {
3937 } ) ;
4038} ) ;
4139
42- // const k3IsolatedNodeIps = ["10.20.0.228", "10.20.0.244", "10.20.0.164"];
43-
44- // k3IsolatedNodeIps.map((ip, index) => {
45- // new openstack.loadbalancer.Member(`isolated-member-${index}`, {
46- // address: ip,
47- // protocolPort: nginxNodePorthttp,
48- // poolId: httpPool.id,
49- // subnetId: isolatedSubnetId,
50- // });
51- // });
52-
5340// add htpps listener
5441const httpsListner = new openstack . loadbalancer . Listener ( "https-listner" , {
5542 protocol : "TCP" ,
@@ -72,14 +59,6 @@ k3AccesNodeIps.map((ip, index) => {
7259 } ) ;
7360} ) ;
7461
75- // k3IsolatedNodeIps.map((ip, index) => {
76- // new openstack.loadbalancer.Member(`isolated-member-https-${index}`, {
77- // address: ip,
78- // protocolPort: nginxNodePorthttps,
79- // poolId: httpsPool.id,
80- // subnetId: isolatedSubnetId,
81- // });
82- // });
8362/////////////////////////
8463// Create TCP Listener for SSH
8564const sshListener = new openstack . loadbalancer . Listener ( "ssh-listener" , {
0 commit comments