catalogue-db-dep.yaml 619 B

123456789101112131415161718192021222324252627282930
  1. ---
  2. apiVersion: apps/v1
  3. kind: Deployment
  4. metadata:
  5. name: catalogue-db
  6. labels:
  7. name: catalogue-db
  8. spec:
  9. replicas: 1
  10. selector:
  11. matchLabels:
  12. name: catalogue-db
  13. template:
  14. metadata:
  15. labels:
  16. name: catalogue-db
  17. spec:
  18. containers:
  19. - name: catalogue-db
  20. image: weaveworksdemos/catalogue-db:0.3.0
  21. env:
  22. - name: MYSQL_ROOT_PASSWORD
  23. value: fake_password
  24. - name: MYSQL_DATABASE
  25. value: socksdb
  26. ports:
  27. - name: mysql
  28. containerPort: 3306
  29. nodeSelector:
  30. beta.kubernetes.io/os: linux