Skip to content
Permalink
Browse files

prd-k8s

  • Loading branch information...
Signorini committed May 15, 2019
1 parent 7b95059 commit be110ebb29fb88fa50ffc1bd273700fdc38db484
Showing with 219 additions and 33 deletions.
  1. +0 −32 kubernetes/gke/maestro-analytics-front/maestro-analytics-front.yaml
  2. 0 kubernetes/{gke → prd-k8s}/maestro-analytics-front/external-svc.yaml
  3. 0 kubernetes/{gke → prd-k8s}/maestro-analytics-front/internal-svc.yaml
  4. +63 −0 kubernetes/prd-k8s/maestro-analytics-front/maestro-analytics-front.yaml
  5. 0 kubernetes/{gke → prd-k8s}/maestro-analytics/internal-svc.yaml
  6. +11 −0 kubernetes/{gke → prd-k8s}/maestro-analytics/maestro-analytics-celery.yaml
  7. +16 −0 kubernetes/{gke → prd-k8s}/maestro-analytics/maestro-analytics.yaml
  8. 0 kubernetes/{gke → prd-k8s}/maestro-audit/internal-svc.yaml
  9. +16 −0 kubernetes/{gke → prd-k8s}/maestro-audit/maestro-audit.yaml
  10. 0 kubernetes/{gke → prd-k8s}/maestro-client/external-svc.yaml
  11. +16 −0 kubernetes/{gke → prd-k8s}/maestro-client/maestro-client.yaml
  12. 0 kubernetes/{gke → prd-k8s}/maestro-data/internal-svc.yaml
  13. +16 −0 kubernetes/{gke → prd-k8s}/maestro-data/maestro-data.yaml
  14. 0 kubernetes/{gke → prd-k8s}/maestro-discovery/internal-svc.yaml
  15. +11 −0 kubernetes/{gke → prd-k8s}/maestro-discovery/maestro-discovery-celery.yaml
  16. +16 −0 kubernetes/{gke → prd-k8s}/maestro-discovery/maestro-discovery.yaml
  17. 0 kubernetes/{gke → prd-k8s}/maestro-reports/internal-svc.yaml
  18. +11 −0 kubernetes/{gke → prd-k8s}/maestro-reports/maestro-reports-celery.yaml
  19. +16 −0 kubernetes/{gke → prd-k8s}/maestro-reports/maestro-reports.yaml
  20. +11 −0 kubernetes/{gke → prd-k8s}/maestro-scheduler/maestro-scheduler-celery.yaml
  21. 0 kubernetes/{gke → prd-k8s}/maestro-scheduler/maestro-scheduler.yaml
  22. 0 kubernetes/{gke → prd-k8s}/maestro-server/external-svc.yaml
  23. +16 −0 kubernetes/{gke → prd-k8s}/maestro-server/maestro-server.yaml
  24. 0 kubernetes/{gke → prd-k8s}/maestro-websocket/external-svc.yaml
  25. 0 kubernetes/{gke → prd-k8s}/maestro-websocket/internal-svc.yaml
  26. 0 kubernetes/{gke → prd-k8s}/maestro-websocket/maestro-ws.yaml
  27. 0 kubernetes/{gke → prd-k8s}/maildev/external-svc.yaml
  28. 0 kubernetes/{gke → prd-k8s}/maildev/internal-svc.yaml
  29. 0 kubernetes/{gke → prd-k8s}/maildev/maildev.yaml
  30. 0 kubernetes/{gke → prd-k8s}/mongodb/external-svc.yaml
  31. 0 kubernetes/{gke → prd-k8s}/mongodb/internal-svc.yaml
  32. 0 kubernetes/{gke → prd-k8s}/mongodb/mongo.yaml
  33. 0 kubernetes/{gke → prd-k8s}/rabbitmq/internal-svc.yaml
  34. 0 kubernetes/{gke → prd-k8s}/rabbitmq/rabbitmq.yaml
  35. 0 kubernetes/{gke → prd-k8s}/run.sh
  36. 0 kubernetes/{gke → prd-k8s}/secrets/mongo_srv.txt
  37. 0 kubernetes/{gke → prd-k8s}/secrets/mongo_uri.txt
  38. 0 kubernetes/{gke → prd-k8s}/secrets/smtp.txt
  39. +0 −1 kubernetes/{gke → prd-k8s}/secrets/storage.txt

This file was deleted.

@@ -0,0 +1,63 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: maestro-analytics-front
spec:
replicas: 1
template:
metadata:
labels:
app: maestro-analytics-front
spec:
containers:
- name: maestro-analytics-front
image: maestroserver/analytics-front-maestro
ports:
- name: afront-port
containerPort: 9999

readinessProbe:
httpGet:
path: /
port: 9999
initialDelaySeconds: 5
timeoutSeconds: 1
periodSeconds: 15
livenessProbe:
httpGet:
path: /
port: 9999
initialDelaySeconds: 15
timeoutSeconds: 1
periodSeconds: 15

env:
- name: MAESTRO_MONGO_URI
valueFrom:
secretKeyRef:
name: mongouri
key: MAESTRO_MONGO_URI
- name: MAESTRO_MONGO_DATABASE
value: "maestro-client"
- name: MAESTRO_UPLOAD_TYPE
value: "S3"
- name: AWS_ACCESS_KEY_ID
valueFrom:
secretKeyRef:
name: storage
key: AWS_ACCESS_KEY_ID
- name: AWS_SECRET_ACCESS_KEY
valueFrom:
secretKeyRef:
name: storage
key: AWS_SECRET_ACCESS_KEY
- name: AWS_S3_BUCKET_NAME
valueFrom:
secretKeyRef:
name: storage
key: AWS_S3_BUCKET_NAME
- name: AWS_DEFAULT_REGION
valueFrom:
secretKeyRef:
name: storage
key: AWS_DEFAULT_REGION
@@ -13,6 +13,17 @@ spec:
containers:
- name: maestro-analytics-worker
image: maestroserver/analytics-maestro-celery

livenessProbe:
exec:
command:
- "/bin/sh"
- "-c"
- "celery -A app.celery status | grep -o ': OK'"
initialDelaySeconds: 30
timeoutSeconds: 1
periodSeconds: 15

env:
- name: CELERY_BROKER_URL
value: "amqp://internal-rabbit:5672"
@@ -15,6 +15,22 @@ spec:
ports:
- name: analytics-port
containerPort: 5020

readinessProbe:
httpGet:
path: /
port: 5020
initialDelaySeconds: 5
timeoutSeconds: 1
periodSeconds: 15
livenessProbe:
httpGet:
path: /
port: 5020
initialDelaySeconds: 15
timeoutSeconds: 1
periodSeconds: 15

env:
- name: CELERY_BROKER_URL
value: "amqp://internal-rabbit:5672"
@@ -15,6 +15,22 @@ spec:
ports:
- name: maudit-port
containerPort: 10900

readinessProbe:
httpGet:
path: /
port: 10900
initialDelaySeconds: 5
timeoutSeconds: 1
periodSeconds: 15
livenessProbe:
httpGet:
path: /
port: 10900
initialDelaySeconds: 15
timeoutSeconds: 1
periodSeconds: 15

env:
- name: MAESTRO_MONGO_URI
valueFrom:
@@ -15,6 +15,22 @@ spec:
ports:
- name: mclient-port
containerPort: 80

readinessProbe:
httpGet:
path: /
port: 80
initialDelaySeconds: 3
timeoutSeconds: 1
periodSeconds: 15
livenessProbe:
httpGet:
path: /
port: 80
initialDelaySeconds: 15
timeoutSeconds: 1
periodSeconds: 15

env:
- name: API_URL
value: "//api.maestroserver.io"
@@ -15,6 +15,22 @@ spec:
ports:
- name: mdata-port
containerPort: 5010

readinessProbe:
httpGet:
path: /
port: 5010
initialDelaySeconds: 5
timeoutSeconds: 1
periodSeconds: 15
livenessProbe:
httpGet:
path: /
port: 5010
initialDelaySeconds: 15
timeoutSeconds: 1
periodSeconds: 15

env:
- name: MAESTRO_MONGO_URI
valueFrom:
@@ -13,6 +13,17 @@ spec:
containers:
- name: maestro-discovery-worker
image: maestroserver/discovery-maestro-celery

livenessProbe:
exec:
command:
- "/bin/sh"
- "-c"
- "celery -A app.celery status | grep -o ': OK'"
initialDelaySeconds: 30
timeoutSeconds: 1
periodSeconds: 15

env:
- name: CELERY_BROKER_URL
value: "amqp://internal-rabbit:5672"
@@ -15,6 +15,22 @@ spec:
ports:
- name: mdiscovery-port
containerPort: 5000

readinessProbe:
httpGet:
path: /
port: 5000
initialDelaySeconds: 5
timeoutSeconds: 1
periodSeconds: 15
livenessProbe:
httpGet:
path: /
port: 5000
initialDelaySeconds: 15
timeoutSeconds: 1
periodSeconds: 15

env:
- name: CELERY_BROKER_URL
value: "amqp://internal-rabbit:5672"
@@ -13,6 +13,17 @@ spec:
containers:
- name: maestro-reports-worker
image: maestroserver/reports-maestro-celery

livenessProbe:
exec:
command:
- "/bin/sh"
- "-c"
- "celery -A app.celery status | grep -o ': OK'"
initialDelaySeconds: 30
timeoutSeconds: 1
periodSeconds: 15

env:
- name: CELERY_BROKER_URL
value: "amqp://internal-rabbit:5672"
@@ -15,6 +15,22 @@ spec:
ports:
- name: reports-port
containerPort: 5005

readinessProbe:
httpGet:
path: /
port: 5005
initialDelaySeconds: 5
timeoutSeconds: 1
periodSeconds: 15
livenessProbe:
httpGet:
path: /
port: 5005
initialDelaySeconds: 15
timeoutSeconds: 1
periodSeconds: 15

env:
- name: MAESTRO_MONGO_URI
valueFrom:
@@ -13,6 +13,17 @@ spec:
containers:
- name: maestro-scheduler-worker
image: maestroserver/scheduler-maestro-celery

livenessProbe:
exec:
command:
- "/bin/sh"
- "-c"
- "celery -A app.celery status | grep -o ': OK'"
initialDelaySeconds: 30
timeoutSeconds: 1
periodSeconds: 15

env:
- name: CELERY_BROKER_URL
value: "amqp://internal-rabbit:5672"
@@ -15,6 +15,22 @@ spec:
ports:
- name: mserver-port
containerPort: 8888

readinessProbe:
httpGet:
path: /
port: 8888
initialDelaySeconds: 3
timeoutSeconds: 1
periodSeconds: 15
livenessProbe:
httpGet:
path: /
port: 8888
initialDelaySeconds: 15
timeoutSeconds: 1
periodSeconds: 15

env:
- name: MAESTRO_MONGO_URI
valueFrom:
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,4 +1,3 @@
MAESTRO_UPLOAD_TYPE=
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=

0 comments on commit be110eb

Please sign in to comment.
You can’t perform that action at this time.