Advertisement
perimcomm

yaml file

Aug 27th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4. name: kpb-api-warehouse
  5. labels:
  6. app: kpb-api-warehouse
  7. spec:
  8. replicas: 3
  9. selector:
  10. matchLabels:
  11. app: kpb-api-warehouse
  12. template:
  13. metadata:
  14. labels:
  15. app: kpb-api-warehouse
  16. spec:
  17. containers:
  18. - name: kpb-api-warehouse
  19. image: gcr.io/projeto/kpb-api-warehouse:latest
  20. env:
  21. - name: NODE_ENV
  22. value: stag
  23. - name: PORT
  24. value: "3000"
  25. - name: GCLOUD_PROJECT
  26. value: "projeto"
  27. - name: GOOGLE_APPLICATION_CREDENTIALS
  28. value: "/kpb-credential-ec430ca57511.json"
  29. - name: ENC_FILE
  30. value: "./app/kms/kpb-api-warehouse.staging.json.enc"
  31. ports:
  32. - containerPort: 3000
  33. volumeMounts:
  34. - name: kms-google
  35. mountPath: /app/kms/
  36. volumes:
  37. - name: kms-google
  38. emptyDir: {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement