summaryrefslogtreecommitdiffstats
path: root/sourcecode/JOID/charm-k8s-ovn/bundle/bundle.yaml
blob: dfe3926c06547ce86f2d0e59fd8a40221bd8d98c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
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