koken-deployment.yaml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. apiVersion: extensions/v1beta1
  2. kind: Deployment
  3. metadata:
  4. annotations:
  5. io.rancher.container.pull_image: always
  6. kompose.cmd: migration-tools parse --docker-file docker-compose.yml --rancher-file
  7. rancher-compose.yml
  8. kompose.version: 1.16.0 (HEAD)
  9. creationTimestamp: null
  10. labels:
  11. io.kompose.service: koken
  12. name: koken
  13. spec:
  14. replicas: 0
  15. strategy:
  16. type: Recreate
  17. template:
  18. metadata:
  19. creationTimestamp: null
  20. labels:
  21. io.kompose.service: koken
  22. spec:
  23. containers:
  24. - image: malteo/docker-koken-lemp
  25. name: koken
  26. ports:
  27. - containerPort: 8080
  28. resources: {}
  29. stdin: true
  30. tty: true
  31. volumeMounts:
  32. - mountPath: /usr/share/nginx/www
  33. name: koken-claim0
  34. - mountPath: /var/lib/mysql
  35. name: koken-claim1
  36. restartPolicy: Always
  37. volumes:
  38. - name: koken-claim0
  39. persistentVolumeClaim:
  40. claimName: koken-claim0
  41. - name: koken-claim1
  42. persistentVolumeClaim:
  43. claimName: koken-claim1
  44. status: {}