0783993da692814c8d8cdf85cb89cb973047e75d
[osm/devops.git] / installers / charm / bundles / osm / bundle.yaml
1 # Copyright 2020 Canonical Ltd.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
9 #     Unless required by applicable law or agreed to in writing, software
10 #     distributed under the License is distributed on an "AS IS" BASIS,
11 #     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 #     See the License for the specific language governing permissions and
13 #     limitations under the License.
14 description: Single instance OSM bundle
15 bundle: kubernetes
16 applications:
17   zookeeper-k8s:
18     charm: "cs:~charmed-osm/zookeeper-k8s"
19     channel: "stable"
20     scale: 1
21     series: kubernetes
22     storage:
23       database: 100M
24     annotations:
25       gui-x: 0
26       gui-y: 550
27   mariadb-k8s:
28     charm: "cs:~charmed-osm/mariadb-k8s"
29     channel: "stable"
30     scale: 1
31     series: kubernetes
32     storage:
33       database: 50M
34     options:
35       password: manopw
36       root_password: osm4u
37       user: mano
38     annotations:
39       gui-x: -250
40       gui-y: -200
41   kafka-k8s:
42     charm: "cs:~charmed-osm/kafka-k8s"
43     channel: "stable"
44     scale: 1
45     series: kubernetes
46     storage:
47       database: 100M
48     annotations:
49       gui-x: 0
50       gui-y: 300
51   mongodb-k8s:
52     charm: "cs:~charmed-osm/mongodb-k8s"
53     channel: "stable"
54     scale: 1
55     series: kubernetes
56     storage:
57       database: 50M
58     options:
59       replica-set: rs0
60       namespace: osm
61       enable-sidecar: true
62     annotations:
63       gui-x: 0
64       gui-y: 50
65   nbi:
66     charm: "cs:~charmed-osm/nbi-5"
67     scale: 1
68     series: kubernetes
69     options:
70       database_commonkey: osm
71       auth_backend: keystone
72       log_level: DEBUG
73     annotations:
74       gui-x: 0
75       gui-y: -200
76   ro:
77     charm: "cs:~charmed-osm/ro-0"
78     scale: 1
79     series: kubernetes
80     options:
81       log_level: DEBUG
82     annotations:
83       gui-x: -250
84       gui-y: 300
85   ng-ui:
86     charm: "cs:~charmed-osm/ng-ui-16"
87     scale: 1
88     series: kubernetes
89     annotations:
90       gui-x: 500
91       gui-y: 100
92   lcm:
93     charm: "cs:~charmed-osm/lcm-0"
94     scale: 1
95     series: kubernetes
96     options:
97       database_commonkey: osm
98       log_level: DEBUG
99     annotations:
100       gui-x: -250
101       gui-y: 50
102   mon:
103     charm: "cs:~charmed-osm/mon-0"
104     scale: 1
105     series: kubernetes
106     options:
107       database_commonkey: osm
108       log_level: DEBUG
109       keystone_enabled: true
110     annotations:
111       gui-x: 250
112       gui-y: 50
113   pol:
114     charm: "cs:~charmed-osm/pol-0"
115     scale: 1
116     series: kubernetes
117     options:
118       log_level: DEBUG
119     annotations:
120       gui-x: -250
121       gui-y: 550
122   pla:
123     charm: "cs:~charmed-osm/pla-6"
124     scale: 1
125     series: kubernetes
126     options:
127       log_level: DEBUG
128     annotations:
129       gui-x: 500
130       gui-y: -200
131   prometheus:
132     charm: "cs:~charmed-osm/prometheus-0"
133     scale: 1
134     series: kubernetes
135     storage:
136       data: 50M
137     options:
138       default-target: "mon:8000"
139     annotations:
140       gui-x: 250
141       gui-y: 300
142   grafana:
143     charm: "cs:~charmed-osm/grafana-0"
144     scale: 1
145     series: kubernetes
146     annotations:
147       gui-x: 250
148       gui-y: 550
149   keystone:
150     charm: "cs:~charmed-osm/keystone-4"
151     scale: 1
152     series: kubernetes
153     annotations:
154       gui-x: -250
155       gui-y: 550
156 relations:
157   - - grafana:prometheus
158     - prometheus:prometheus
159   - - kafka-k8s:zookeeper
160     - zookeeper-k8s:zookeeper
161   - - keystone:db
162     - mariadb-k8s:mysql
163   - - lcm:kafka
164     - kafka-k8s:kafka
165   - - lcm:mongodb
166     - mongodb-k8s:mongo
167   - - ro:ro
168     - lcm:ro
169   - - ro:kafka
170     - kafka-k8s:kafka
171   - - ro:mongodb
172     - mongodb-k8s:mongo
173   - - pol:kafka
174     - kafka-k8s:kafka
175   - - pol:mongodb
176     - mongodb-k8s:mongo
177   - - mon:mongodb
178     - mongodb-k8s:mongo
179   - - mon:kafka
180     - kafka-k8s:kafka
181   - - pla:kafka
182     - kafka-k8s:kafka
183   - - pla:mongodb
184     - mongodb-k8s:mongo
185   - - nbi:mongodb
186     - mongodb-k8s:mongo
187   - - nbi:kafka
188     - kafka-k8s:kafka
189   - - nbi:prometheus
190     - prometheus:prometheus
191   - - nbi:keystone
192     - keystone:keystone
193   - - mon:prometheus
194     - prometheus:prometheus
195   - - ng-ui:nbi
196     - nbi:nbi
197   - - mon:keystone
198     - keystone:keystone