Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. apiVersion: extensions/v1beta1
  2. kind: Deployment
  3. metadata:
  4. name: bitbloq-front-0917
  5. namespace: bitbloq
  6. spec:
  7. minReadySeconds: 10
  8. strategy:
  9. rollingUpdate:
  10. maxSurge: 1
  11. maxUnavailable: 0
  12. type: RollingUpdate
  13. replicas: 2
  14. template:
  15. metadata:
  16. labels:
  17. app: bitbloq-front-0917
  18. name: bitbloq-front
  19. spec:
  20. containers:
  21. - image: bitbloq/bitbloq-front:3.8.5
  22. imagePullPolicy: Always
  23. name: bitbloq-front
  24. ports:
  25. - containerPort: 80
  26. hostPort: 2816
  27. volumeMounts:
  28. - name: front-config
  29. mountPath: /usr/share/nginx/html/res/config
  30. readinessProbe:
  31. httpGet:
  32. path: /index.html
  33. port: 80
  34. initialDelaySeconds: 10
  35. timeoutSeconds: 1
  36. livenessProbe:
  37. httpGet:
  38. path: /index.html
  39. port: 80
  40. initialDelaySeconds: 10
  41. timeoutSeconds: 1
  42. volumes:
  43. - name: front-config
  44. secret:
  45. secretName: frontend-development
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement