summaryrefslogtreecommitdiffstats
path: root/sourcecode/JOID/charm-k8s-ovn/bundle
diff options
context:
space:
mode:
authorAakashKT <aakash.kt@research.iiit.ac.in>2018-03-21 14:12:24 +0530
committerAakashKT <aakash.kt@research.iiit.ac.in>2018-03-27 22:22:19 +0530
commitdd2ff7be51548c62f5f708b7e323e23ca5171b95 (patch)
treee6dca8fea09187e888ad8371fa098d6ebf86efd5 /sourcecode/JOID/charm-k8s-ovn/bundle
parente0e7d50a8dbf70117baec66451df7f594a7db233 (diff)
Code for charm-k8s-ovn under sourcecode/JOID/charm-k8s-ovn
Change-Id: I07209b0955436d06cdcd8b19f0dfe8f2c146a36c Signed-off-by: AakashKT <aakash.kt@research.iiit.ac.in>
Diffstat (limited to 'sourcecode/JOID/charm-k8s-ovn/bundle')
-rw-r--r--sourcecode/JOID/charm-k8s-ovn/bundle/bundle.yaml101
1 files changed, 101 insertions, 0 deletions
diff --git a/sourcecode/JOID/charm-k8s-ovn/bundle/bundle.yaml b/sourcecode/JOID/charm-k8s-ovn/bundle/bundle.yaml
new file mode 100644
index 0000000..dfe3926
--- /dev/null
+++ b/sourcecode/JOID/charm-k8s-ovn/bundle/bundle.yaml
@@ -0,0 +1,101 @@
+series: xenial
+
+applications:
+
+ kubeapi-load-balancer:
+ charm: "cs:~containers/kubeapi-load-balancer-16"
+ expose: true
+ num_units: 1
+ to:
+ - "3"
+ annotations:
+ gui-x: '450'
+ gui-y: '250'
+
+ kubernetes-master:
+ charm: "cs:~containers/kubernetes-master-35"
+ num_units: 1
+ to:
+ - "0"
+ expose: true
+ options:
+ service-cidr: 192.168.200.0/24
+ channel: 1.5/stable
+ annotations:
+ gui-x: '800'
+ gui-y: '850'
+
+ kubernetes-worker:
+ charm: "cs:~containers/kubernetes-worker-40"
+ num_units: 2
+ to:
+ - "1"
+ - "2"
+ expose: true
+ options:
+ channel: 1.5/stable
+ annotations:
+ gui-x: '100'
+ gui-y: '850'
+
+ ovn:
+ charm: "cs:~aakashkt/ovn-16"
+ options:
+ gateway-physical-interface: "none"
+ annotations:
+ gui-x: '450'
+ gui-y: '750'
+
+ etcd:
+ charm: "cs:~containers/etcd-40"
+ num_units: 1
+ to:
+ - "0"
+ annotations:
+ gui-x: '800'
+ gui-y: '550'
+
+ easyrsa:
+ charm: "cs:~containers/easyrsa-12"
+ num_units: 1
+ to:
+ - "1"
+ annotations:
+ gui-x: '450'
+ gui-y: '550'
+
+relations:
+ - - "kubernetes-master:kube-api-endpoint"
+ - "kubeapi-load-balancer:apiserver"
+ - - "kubernetes-master:loadbalancer"
+ - "kubeapi-load-balancer:loadbalancer"
+ - - "kubernetes-worker:kube-api-endpoint"
+ - "kubeapi-load-balancer:website"
+ - - "kubeapi-load-balancer:certificates"
+ - "easyrsa:client"
+ - - "kubernetes-master:kube-api-endpoint"
+ - "kubernetes-worker:kube-api-endpoint"
+ - - "kubernetes-master:kube-control"
+ - "kubernetes-worker:kube-control"
+ - - "kubernetes-master:cni"
+ - "ovn:cni"
+ - - "kubernetes-worker:cni"
+ - "ovn:cni"
+ - - "etcd:certificates"
+ - "easyrsa:client"
+ - - "kubernetes-worker:certificates"
+ - "easyrsa:client"
+ - - "kubernetes-master:etcd"
+ - "etcd:db"
+ - - "kubernetes-master:certificates"
+ - "easyrsa:client"
+
+machines:
+ "0":
+ series: xenial
+ "1":
+ series: xenial
+ "2":
+ series: xenial
+ "3":
+ series: xenial \ No newline at end of file