Skip to content

Commit 359556c

Browse files
committed
Clean up
1 parent 89969d8 commit 359556c

1 file changed

Lines changed: 0 additions & 21 deletions

File tree

infra/dawn/lb.ts

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ const httpPool = new openstack.loadbalancer.Pool("ingress-pool", {
2525
});
2626

2727
const k3AccesNodeIps = ["10.10.0.252", "10.10.0.92", "10.10.0.240"];
28-
// const nginxNodePorthttp = 32080;
2928
const nginxNodePorthttp = 30180;
30-
// const nginxNodePorthttps = 32443;
3129
const nginxNodePorthttps = 30443;
3230

3331
k3AccesNodeIps.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
5441
const 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
8564
const sshListener = new openstack.loadbalancer.Listener("ssh-listener", {

0 commit comments

Comments
 (0)