Guest User

Untitled

a guest
Apr 21st, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.82 KB | None | 0 0
  1. series: xenial
  2. description: A four-machine Kubernetes cluster, appropriate for production. Includes a three-machine etcd cluster and three Kubernetes worker nodes.
  3. services:
  4. canal:
  5. annotations:
  6. gui-x: '450'
  7. gui-y: '750'
  8. charm: cs:~containers/canal-30
  9. easyrsa:
  10. annotations:
  11. gui-x: '450'
  12. gui-y: '550'
  13. charm: cs:~containers/easyrsa-39
  14. num_units: 1
  15. to:
  16. - lxd:etcd/0
  17. etcd:
  18. annotations:
  19. gui-x: '800'
  20. gui-y: '550'
  21. charm: cs:~containers/etcd-77
  22. constraints: root-disk=8G
  23. num_units: 1
  24. kubeapi-load-balancer:
  25. annotations:
  26. gui-x: '450'
  27. gui-y: '250'
  28. charm: cs:~containers/kubeapi-load-balancer-57
  29. expose: true
  30. num_units: 1
  31. to:
  32. - lxd:etcd/0
  33. kubernetes-master:
  34. annotations:
  35. gui-x: '800'
  36. gui-y: '850'
  37. charm: cs:~containers/kubernetes-master-102
  38. num_units: 1
  39. options:
  40. channel: 1.10/stable
  41. to:
  42. - etcd/0
  43. kubernetes-worker:
  44. annotations:
  45. gui-x: '100'
  46. gui-y: '850'
  47. charm: cs:~containers/kubernetes-worker-114
  48. constraints: cores=4 mem=4G root-disk=16G
  49. expose: true
  50. num_units: 3
  51. options:
  52. channel: 1.10/stable
  53. relations:
  54. - - kubernetes-master:kube-api-endpoint
  55. - kubeapi-load-balancer:apiserver
  56. - - kubernetes-master:loadbalancer
  57. - kubeapi-load-balancer:loadbalancer
  58. - - kubernetes-master:kube-control
  59. - kubernetes-worker:kube-control
  60. - - kubernetes-master:certificates
  61. - easyrsa:client
  62. - - etcd:certificates
  63. - easyrsa:client
  64. - - kubernetes-master:etcd
  65. - etcd:db
  66. - - kubernetes-worker:certificates
  67. - easyrsa:client
  68. - - kubernetes-worker:kube-api-endpoint
  69. - kubeapi-load-balancer:website
  70. - - kubeapi-load-balancer:certificates
  71. - easyrsa:client
  72. - - canal:etcd
  73. - etcd:db
  74. - - canal:cni
  75. - kubernetes-master:cni
  76. - - canal:cni
  77. - kubernetes-worker:cni
Add Comment
Please, Sign In to add comment