Граф коммитов

24 Коммитов

Автор SHA1 Сообщение Дата
Giorgos Logiotatidis 1dca9c1706 Set rollouts max_surge and max_unavailable to k8s default 25%. 2018-04-02 04:15:00 -05:00
Giorgos Logiotatidis 07e98be79d Update roll-out strategy. 2018-03-26 12:19:25 -05:00
Giorgos Logiotatidis 9faeb3f942 Correct labels for cron, celery, web. 2018-03-26 08:09:54 -05:00
Dave Parfitt d64a18f110 change liveness probe to tcpSocket, add wsgi_keep_alive
decrease initial_delay_seconds to 5 to help pod startup time
2018-03-16 16:23:55 +00:00
Giorgos Logiotatidis 610edb7736 Delete send_postatus_errors cronjob.
Cron job related to the chief based deployment method. Not used in AWS.
2018-03-02 07:39:01 -06:00
Giorgos Logiotatidis 197485e592 Add liveness and readiness probes. 2018-02-27 08:38:39 -06:00
Giorgos Logiotatidis 84143eb6b6 Unify deployment template, simplify env variable management.
- Unifies web, cron and celery templates into one template.

   Maintaining 3 different almost identical templates is boring and error prone.

 - Allows per app (web, cron, celery) customization.

 - Reads env variables from the yaml. If value is SECRET, links to app secrets.

Fix temp filename to end in .yaml.

Add create-all invoke command.

Remove unused infra_apply argument.

update deployemnt scripts

 - Add create-all and delete-all commands
 - Push specific docker image tag
 - Cleanup scripts
2018-02-27 08:38:39 -06:00
Giorgos Logiotatidis 51dd974af8 Re-add ALLOWED_CIDR_NETS variable. 2018-02-22 03:43:01 -06:00
Giorgos Logiotatidis 013688c07f Enable admin on dev. 2018-02-21 07:04:20 -06:00
Giorgos Logiotatidis 1a3f9264e0 Configure STATIC_URL to use CDN. 2018-02-21 06:44:05 -06:00
Giorgos Logiotatidis 2dffc55f1d Remove ALLOWED_CIDR_NETS env variable.
django-allow-cidr needs to be updated to correctly parse Host with port number.
Remove the setting to disable middleware until fixed.
2018-02-21 06:08:25 -06:00
Giorgos Logiotatidis 3c46dabb31 Configure sentry. 2018-02-21 06:08:25 -06:00
Giorgos Logiotatidis e984a1b68a Remove AXES_BEHIND_REVERSE_PROXY k8s env variable.
django-axes is currently not utilized.
2018-02-21 06:08:25 -06:00
Dave Parfitt 2f68548118 allow-cidr-nets to allowed-cidr-nets 2018-02-21 01:59:02 -06:00
Dave Parfitt 12a366aa6b add K8s secret specifying a CIDR for ALLOWED_HOSTS 2018-02-21 01:59:02 -06:00
Dave Parfitt c267a88424 remove readiness probes from cron | celery 2018-02-15 17:42:49 +00:00
Dave Parfitt 2df3e350ee add security middleware env to web deployment 2018-02-13 18:58:36 +00:00
Dave Parfitt 6fa8587dd4 fix cron deployment replicas in K8s automation 2018-02-08 22:10:41 +00:00
Dave Parfitt f783191ce7 add sumo k8s newrelic env and secret 2018-02-08 15:06:45 +00:00
Dave Parfitt 03d89f150f add GA* env vars to web deployment 2018-02-06 19:42:36 +00:00
Dave Parfitt a481a6e1da added cron and celery deployments 2018-02-06 19:02:53 +00:00
Dave Parfitt 7a9dfe9d74 fix image pull policy, fix nodeport template 2018-02-05 21:54:43 +00:00
Dave Parfitt bd3ecd4854 add support for older kubectl, cleanup deployment 2018-02-05 19:54:05 +00:00
Dave Parfitt 7166526a23 initial add of K8s automation 2018-01-30 11:38:22 -05:00