queue-master-dep.yaml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. ---
  2. apiVersion: apps/v1
  3. kind: Deployment
  4. metadata:
  5. name: queue-master
  6. labels:
  7. name: queue-master
  8. spec:
  9. replicas: 1
  10. selector:
  11. matchLabels:
  12. name: queue-master
  13. template:
  14. metadata:
  15. labels:
  16. name: queue-master
  17. spec:
  18. containers:
  19. - name: queue-master
  20. image: weaveworksdemos/queue-master:0.3.1
  21. env:
  22. - name: ZIPKIN
  23. value: zipkin.jaeger.svc.cluster.local
  24. - name: JAVA_OPTS
  25. value: -Xms64m -Xmx128m -XX:PermSize=32m -XX:MaxPermSize=64m -XX:+UseG1GC -Djava.security.egd=file:/dev/urandom
  26. resources:
  27. limits:
  28. cpu: 300m
  29. memory: 500Mi
  30. requests:
  31. cpu: 300m
  32. memory: 500Mi
  33. ports:
  34. - containerPort: 80
  35. livenessProbe:
  36. httpGet:
  37. path: /health
  38. port: 80
  39. initialDelaySeconds: 300
  40. periodSeconds: 3
  41. readinessProbe:
  42. httpGet:
  43. path: /health
  44. port: 80
  45. initialDelaySeconds: 180
  46. periodSeconds: 3
  47. nodeSelector:
  48. beta.kubernetes.io/os: linux