Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. apiVersion: mesh.cellery.io/v1alpha1
  2. kind: Cell
  3. metadata:
  4. name: employee
  5. spec:
  6. gatewayTemplate:
  7. spec:
  8. apis:
  9. - context: employee
  10. definitions:
  11. - path: /details
  12. method: GET
  13. backend: employee
  14. global: true
  15. servicesTemplates:
  16. - metadata:
  17. name: employee
  18. spec:
  19. replicas: 1
  20. container:
  21. image: docker.io/celleryio/sampleapp-employee
  22. ports:
  23. - containerPort: 8080
  24. servicePort: 80
  25. - metadata:
  26. name: salary
  27. spec:
  28. replicas: 1
  29. container:
  30. image: docker.io/celleryio/sampleapp-salary
  31. ports:
  32. - containerPort: 8080
  33. servicePort: 80
  34. - metadata:
  35. name: debug
  36. spec:
  37. replicas: 1
  38. container:
  39. image: docker.io/mirage20/k8s-debug-tools
  40. servicePort: 80
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement