Last active
April 18, 2018 10:31
-
-
Save CalvinHartwell/887a12b84f12c522fc042572cdadcb6f to your computer and use it in GitHub Desktop.
cdk-kvm-worker-bundle
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| series: xenial | |
| description: A nine-machine Kubernetes cluster, appropriate for production. Includes a three-machine etcd cluster and three Kubernetes worker nodes. | |
| services: | |
| canal: | |
| annotations: | |
| gui-x: '450' | |
| gui-y: '750' | |
| charm: cs:~containers/canal-30 | |
| ceph-mon: | |
| annotations: | |
| gui-x: '600' | |
| gui-y: '300' | |
| charm: cs:ceph-mon-24 | |
| num_units: 3 | |
| to: | |
| - lxd:kubernetes-worker-host | |
| ceph-osd: | |
| annotations: | |
| gui-x: '300' | |
| gui-y: '300' | |
| charm: cs:ceph-osd-259 | |
| num_units: 3 | |
| to: | |
| - kubernetes-worker-host | |
| easyrsa: | |
| annotations: | |
| gui-x: '450' | |
| gui-y: '550' | |
| charm: cs:~containers/easyrsa-39 | |
| constraints: root-disk=8G | |
| num_units: 1 | |
| to: | |
| - lxd:kubernetes-master | |
| etcd: | |
| annotations: | |
| gui-x: '800' | |
| gui-y: '550' | |
| charm: cs:~containers/etcd-77 | |
| constraints: cores=4 mem=16G root-disk=16G | |
| num_units: 3 | |
| kubeapi-load-balancer: | |
| annotations: | |
| gui-x: '450' | |
| gui-y: '250' | |
| charm: cs:~containers/kubeapi-load-balancer-57 | |
| constraints: root-disk=8G | |
| expose: true | |
| num_units: 1 | |
| kubernetes-master: | |
| annotations: | |
| gui-x: '800' | |
| gui-y: '850' | |
| charm: cs:~containers/kubernetes-master-102 | |
| constraints: cores=4 mem=16G root-disk=16G | |
| num_units: 2 | |
| options: | |
| channel: 1.10/stable | |
| "kubernetes-worker-host": | |
| charm: "cs:ubuntu" | |
| num_units: 3 | |
| constraints: "cores=12 mem=64G root-disk=96G" | |
| annotations: | |
| "gui-x": "100" | |
| "gui-y": "850" | |
| "kubernetes-worker": | |
| charm: "cs:~containers/kubernetes-worker" | |
| num_units: 9 | |
| constraints: "cores=2 mem=16G root-disk=16G" | |
| options: | |
| channel: 1.10/stable | |
| expose: true | |
| to: | |
| to: ["kvm:kubernetes-worker-host/0", "kvm:kubernetes-worker-host/1", "kvm:kubernetes-worker-host/2","kvm:kubernetes-worker-host/0", "kvm:kubernetes-worker-host/1", "kvm:kubernetes-worker-host/2","kvm:kubernetes-worker-host/0", "kvm:kubernetes-worker-host/1", "kvm:kubernetes-worker-host/2"] | |
| annotations: | |
| "gui-x": "100" | |
| "gui-y": "850" | |
| relations: | |
| - - kubernetes-master:kube-api-endpoint | |
| - kubeapi-load-balancer:apiserver | |
| - - kubernetes-master:loadbalancer | |
| - kubeapi-load-balancer:loadbalancer | |
| - - kubernetes-master:kube-control | |
| - kubernetes-worker:kube-control | |
| - - kubernetes-master:certificates | |
| - easyrsa:client | |
| - - etcd:certificates | |
| - easyrsa:client | |
| - - kubernetes-master:etcd | |
| - etcd:db | |
| - - kubernetes-worker:certificates | |
| - easyrsa:client | |
| - - kubernetes-worker:kube-api-endpoint | |
| - kubeapi-load-balancer:website | |
| - - kubeapi-load-balancer:certificates | |
| - easyrsa:client | |
| - - canal:etcd | |
| - etcd:db | |
| - - canal:cni | |
| - kubernetes-master:cni | |
| - - canal:cni | |
| - kubernetes-worker:cni | |
| - - kubernetes-master:ceph-storage | |
| - ceph-mon:admin | |
| - - ceph-mon:osd | |
| - ceph-osd:mon |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment