CharmHub and new kafka and zookeeper charms
[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 name: osm
15 bundle: kubernetes
16 description: |
17   **Single instance Charmed OSM**
18
19   Charmed OSM is an OSM distribution, developed and maintained by Canonical, which uses
20   Juju charms to simplify its deployments and operations. This bundle distribution refers
21   to the development stack for OSM and allows you to deploy a single instance OSM bundle
22   that is fast, reliable, and a complete solution with MicroStack and MicroK8s.
23
24   - Industry‐aligned and fully compliant with upstream
25   - Predictable release cadence and upgrade path
26   - Simplified deployments and operations
27   - Stable and secure
28   - Supported with Ubuntu Advantage
29   - Availability of managed services
30 applications:
31   zookeeper:
32     charm: zookeeper-k8s
33     channel: latest/edge
34     scale: 1
35     storage:
36       data: 100M
37     annotations:
38       gui-x: 0
39       gui-y: 500
40   kafka:
41     charm: kafka-k8s
42     channel: latest/edge
43     scale: 1
44     trust: true
45     storage:
46       data: 100M
47     annotations:
48       gui-x: 0
49       gui-y: 250
50   mariadb:
51     charm: charmed-osm-mariadb-k8s
52     scale: 1
53     series: kubernetes
54     storage:
55       database: 50M
56     options:
57       password: manopw
58       root_password: osm4u
59       user: mano
60     annotations:
61       gui-x: -300
62       gui-y: -250
63   mongodb:
64     charm: mongodb-k8s
65     channel: latest/stable
66     scale: 1
67     series: kubernetes
68     storage:
69       db: 50M
70     annotations:
71       gui-x: 0
72       gui-y: 0
73   nbi:
74     charm: osm-nbi
75     channel: latest/edge
76     scale: 1
77     series: kubernetes
78     options:
79       database_commonkey: osm
80       auth_backend: keystone
81       log_level: DEBUG
82     resources:
83       image: opensourcemano/nbi:testing-daily
84     annotations:
85       gui-x: 0
86       gui-y: -250
87   ro:
88     charm: osm-ro
89     channel: latest/edge
90     scale: 1
91     series: kubernetes
92     options:
93       log_level: DEBUG
94     resources:
95       image: opensourcemano/ro:testing-daily
96     annotations:
97       gui-x: -300
98       gui-y: 250
99   ng-ui:
100     charm: osm-ng-ui
101     channel: latest/edge
102     scale: 1
103     series: kubernetes
104     resources:
105       image: opensourcemano/ng-ui:testing-daily
106     annotations:
107       gui-x: 600
108       gui-y: 0
109   lcm:
110     charm: osm-lcm
111     channel: latest/edge
112     scale: 1
113     series: kubernetes
114     options:
115       database_commonkey: osm
116       log_level: DEBUG
117     resources:
118       image: opensourcemano/lcm:testing-daily
119     annotations:
120       gui-x: -300
121       gui-y: 0
122   mon:
123     charm: osm-mon
124     channel: latest/edge
125     scale: 1
126     series: kubernetes
127     options:
128       database_commonkey: osm
129       log_level: DEBUG
130       keystone_enabled: true
131     resources:
132       image: opensourcemano/mon:testing-daily
133     annotations:
134       gui-x: 300
135       gui-y: 0
136   pol:
137     charm: osm-pol
138     channel: latest/edge
139     scale: 1
140     series: kubernetes
141     options:
142       log_level: DEBUG
143     resources:
144       image: opensourcemano/pol:testing-daily
145     annotations:
146       gui-x: -300
147       gui-y: 500
148   pla:
149     charm: osm-pla
150     channel: latest/edge
151     scale: 1
152     series: kubernetes
153     options:
154       log_level: DEBUG
155     resources:
156       image: opensourcemano/pla:testing-daily
157     annotations:
158       gui-x: 600
159       gui-y: -250
160   prometheus:
161     charm: osm-prometheus
162     channel: latest/edge
163     scale: 1
164     series: kubernetes
165     storage:
166       data: 50M
167     options:
168       default-target: "mon:8000"
169     annotations:
170       gui-x: 300
171       gui-y: 250
172   grafana:
173     charm: osm-grafana
174     channel: latest/edge
175     scale: 1
176     series: kubernetes
177     annotations:
178       gui-x: 300
179       gui-y: 500
180   keystone:
181     charm: osm-keystone
182     channel: latest/edge
183     scale: 1
184     resources:
185       keystone-image: opensourcemano/keystone:testing-daily
186     annotations:
187       gui-x: 300
188       gui-y: -250
189 relations:
190   - - grafana:prometheus
191     - prometheus:prometheus
192   - - kafka:zookeeper
193     - zookeeper:zookeeper
194   - - keystone:db
195     - mariadb:mysql
196   - - lcm:kafka
197     - kafka:kafka
198   - - lcm:mongodb
199     - mongodb:database
200   - - ro:ro
201     - lcm:ro
202   - - ro:kafka
203     - kafka:kafka
204   - - ro:mongodb
205     - mongodb:database
206   - - pol:kafka
207     - kafka:kafka
208   - - pol:mongodb
209     - mongodb:database
210   - - mon:mongodb
211     - mongodb:database
212   - - mon:kafka
213     - kafka:kafka
214   - - pla:kafka
215     - kafka:kafka
216   - - pla:mongodb
217     - mongodb:database
218   - - nbi:mongodb
219     - mongodb:database
220   - - nbi:kafka
221     - kafka:kafka
222   - - nbi:prometheus
223     - prometheus:prometheus
224   - - nbi:keystone
225     - keystone:keystone
226   - - mon:prometheus
227     - prometheus:prometheus
228   - - ng-ui:nbi
229     - nbi:nbi
230   - - mon:keystone
231     - keystone:keystone
232   - - mariadb:mysql
233     - pol:mysql
234   - - grafana:db
235     - mariadb:mysql