Skip to content

Commit 9c621b6

Browse files
author
Bryan Kendall
committed
cluster navi, new box for navi
1 parent bfe8f5b commit 9c621b6

5 files changed

Lines changed: 10 additions & 2 deletions

File tree

ansible/beta-hosts/hosts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ beta-api
3535
beta-services
3636

3737
[navi]
38-
beta-services
38+
beta-navi
3939

4040
[charon]
4141
beta-services

ansible/group_vars/alpha-navi.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,6 @@ container_envs: >
2121
-e NODE_ENV={{ node_env }}
2222
-e REDIS_IPADDRESS={{redis_host}}
2323
-e LOG_LEVEL_STDOUT=trace
24+
-e CLUSTER_WORKERS=20
2425
2526
container_run_opts: "-d -p {{hosted_ports[0]}}:{{hosted_ports[0]}} {{container_envs}}"

ansible/navi.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
- hosts: redis
3+
- hosts: detention
34

45
- hosts: navi
56
vars_files:

ansible/prod-hosts/hosts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ alpha-api
4141
alpha-api-old
4242

4343
[navi]
44-
alpha-api-old
44+
alpha-navi
4545

4646
[charon]
4747
alpha-api-old

ssh/config

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ Host alpha-mongodb03
6060
Host alpha-api-old
6161
ProxyCommand ssh -q ubuntu@alpha-bastion nc 10.0.1.239 22
6262

63+
Host alpha-navi
64+
ProxyCommand ssh -q ubuntu@alpha-bastion nc 10.0.1.39 22
65+
6366
Host alpha-api
6467
ProxyCommand ssh -q ubuntu@alpha-bastion nc 10.0.1.142 22
6568

@@ -169,6 +172,9 @@ Host beta-api
169172
Host beta-services
170173
ProxyCommand ssh -q ubuntu@beta-bastion nc 10.20.1.59 22
171174

175+
Host beta-navi
176+
ProxyCommand ssh -q ubuntu@beta-bastion nc 10.20.1.232 22
177+
172178
Host beta-rabbit
173179
ProxyCommand ssh -q ubuntu@beta-bastion nc 10.20.1.60 22
174180

0 commit comments

Comments
 (0)