This repository has been archived by the owner on Mar 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathbundle.yaml
73 lines (73 loc) · 1.71 KB
/
bundle.yaml
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
# The machine constraints for each service in this bundle
# have been commented out so you don't run into quota
# problems on public clouds. Modify and uncomment the
# constraints: lines for each service to reflect your
# deployment before moving to production.
#
series: xenial
services:
"kubernetes-master":
charm: "cs:~containers/kubernetes-master-10"
num_units: 1
to:
- "0"
expose: true
annotations:
"gui-x": "800"
"gui-y": "850"
"flannel":
charm: "cs:~containers/flannel-7"
annotations:
"gui-x": "450"
"gui-y": "750"
"easyrsa":
charm: "cs:~containers/easyrsa-5"
num_units: 1
to:
- lxd:0
annotations:
"gui-x": "450"
"gui-y": "550"
"kubernetes-worker":
charm: "cs:~containers/kubernetes-worker-12"
num_units: 1
to:
- "1"
expose: true
annotations:
"gui-x": "100"
"gui-y": "850"
# constraints: cpu-cores=4 mem=15G root-disk=30G
"etcd":
charm: "cs:~containers/etcd-21"
num_units: 1
to:
- "0"
annotations:
"gui-x": "800"
"gui-y": "550"
# constraints: cpu-cores=2 root-disk=12G
relations:
- - "kubernetes-master:kube-api-endpoint"
- "kubernetes-worker:kube-api-endpoint"
- - "kubernetes-master:cluster-dns"
- "kubernetes-worker:kube-dns"
- - "kubernetes-master:certificates"
- "easyrsa:client"
- - "kubernetes-master:etcd"
- "etcd:db"
- - "kubernetes-worker:certificates"
- "easyrsa:client"
- - "flannel:etcd"
- "etcd:db"
- - "flannel:cni"
- "kubernetes-master:cni"
- - "flannel:cni"
- "kubernetes-worker:cni"
- - "etcd:certificates"
- "easyrsa:client"
machines:
"0":
series: xenial
"1":
series: xenial