Skip to content

Commit db1d3c9

Browse files
make runnable kubernetes (#635)
1 parent a74b857 commit db1d3c9

215 files changed

Lines changed: 2842 additions & 3587 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ ca.srl
1010
.DS_Store
1111
ansible/roles/hipache/templates/runnable*
1212
ansible/certs/*
13+
ansible/k8/*
1314
*.retry
1415
*.tfstate*
1516
terraform/credentials.tfvars

ansible/agreeable-egret.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
2-
- hosts: redis
32
- hosts: agreeable-egret
43
vars_files:
54
- group_vars/alpha-agreeable-egret.yml
65
roles:
76
- role: notify
8-
tags: [ notify ]
7+
98
- role: builder
10-
tags: [ build ]
11-
- role: container_kill_start
9+
10+
- role: k8-deployment
11+
- role: k8-service

ansible/api-core.yml

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,14 @@
11
---
2-
- hosts: mongodb
3-
- hosts: clio
4-
- hosts: navi
5-
- hosts: rabbitmq
6-
- hosts: redis
7-
- hosts: big-poppa
8-
- hosts: cream
9-
- hosts: swarm-manager
10-
- hosts: consul
11-
122
- hosts: api
133
vars_files:
144
- group_vars/alpha-api-base.yml
155
- group_vars/alpha-api.yml
166
roles:
177
- role: notify
18-
rollbar_token: "{{ api_rollbar_key }}"
19-
tags: [ notify ]
8+
rollbar_token: "{{ api_rollbar_token }}"
209

2110
- role: builder
22-
tags: [ build ]
2311

2412
- role: docker_client
25-
26-
- role: datadog
27-
tags: [ datadog ]
28-
29-
- role: container_start
30-
number_of_containers: "{{ ansible_processor_cores }}"
13+
- role: k8-deployment
14+
- role: k8-service

ansible/arithmancy.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
---
2-
- hosts: rabbitmq
3-
- hosts: consul
4-
52
- hosts: arithmancy
63
vars_files:
74
- group_vars/alpha-arithmancy.yml
85
roles:
96
- role: notify
107
rollbar_token: "{{ arithmancy_rollbar_token }}"
11-
tags: [ notify ]
12-
- { role: builder, tags: [build] }
13-
- { role: container_kill_start }
8+
9+
- role: builder
10+
11+
- role: k8-deployment

ansible/bastion.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
---
2-
- hosts: consul
3-
42
- hosts: bastion
53
roles:
64
- role: notify

ansible/big-poppa-http.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
---
2-
- hosts: rabbitmq
3-
- hosts: consul
4-
- hosts: mongodb
5-
- hosts: github-varnish
6-
72
- hosts: big-poppa
83
vars_files:
4+
- group_vars/alpha-big-poppa-base.yml
95
- group_vars/alpha-big-poppa-http.yml
106
roles:
117
- role: notify
128
rollbar_token: "{{ big_poppa_http_rollbar_token }}"
13-
tags: [ notify ]
14-
- { role: builder, tags: [ build ] }
15-
- { role: container_kill_start }
9+
10+
- role: builder
11+
12+
- role: k8-deployment
13+
- role: k8-service

ansible/big-poppa-worker.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
---
2-
- hosts: rabbitmq
3-
- hosts: consul
4-
- hosts: mongodb
5-
- hosts: github-varnish
6-
72
- hosts: big-poppa
83
vars_files:
4+
- group_vars/alpha-big-poppa-base.yml
95
- group_vars/alpha-big-poppa-worker.yml
106
roles:
117
- role: notify
128
rollbar_token: "{{ big_poppa_worker_rollbar_token }}"
13-
tags: [ notify ]
14-
- { role: builder, tags: [ build ] }
15-
- { role: container_kill_start }
9+
10+
- role: builder
11+
12+
- role: k8-deployment

ansible/charon.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
---
2-
- hosts: redis
3-
- hosts: consul
4-
52
- hosts: "{{ dock | default('docks') }}"
63
vars_files:
74
- group_vars/alpha-charon.yml

ansible/clio.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
---
2-
- hosts: rabbitmq
3-
- hosts: consul
4-
- hosts: mongodb
5-
62
- hosts: clio
73
vars_files:
84
- group_vars/alpha-clio.yml
95
roles:
10-
- { role: notify, tags: notify }
11-
- { role: builder, tags: build }
12-
- { role: container_kill_start }
6+
- role: notify
7+
8+
- role: builder
9+
10+
- role: k8-deployment
11+
- role: k8-service

ansible/consul-services.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
---
2-
- hosts: rabbitmq
3-
- hosts: redis
4-
52
- hosts: consul
63
roles:
74
- { role: consul-services }

0 commit comments

Comments
 (0)