f9fc6b999f85ccb35f45595c4225e01b22f34f37
[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/stable
34     scale: 1
35     storage:
36       data: 100M
37   kafka:
38     charm: kafka-k8s
39     channel: latest/stable
40     scale: 1
41     trust: true
42     storage:
43       data: 100M
44   mariadb:
45     charm: charmed-osm-mariadb-k8s
46     scale: 1
47     series: kubernetes
48     storage:
49       database: 50M
50     options:
51       password: manopw
52       root_password: osm4u
53       user: mano
54   mongodb:
55     charm: mongodb-k8s
56     channel: latest/stable
57     scale: 1
58     series: kubernetes
59     storage:
60       db: 50M
61   nbi:
62     charm: osm-nbi
63     channel: latest/beta
64     trust: true
65     scale: 1
66     options:
67       database-commonkey: osm
68       log-level: DEBUG
69     resources:
70       nbi-image: opensourcemano/nbi:testing-daily
71   ro:
72     charm: osm-ro
73     channel: latest/beta
74     trust: true
75     scale: 1
76     options:
77       log-level: DEBUG
78     resources:
79       ro-image: opensourcemano/ro:testing-daily
80   ng-ui:
81     charm: osm-ng-ui
82     channel: latest/beta
83     trust: true
84     scale: 1
85     resources:
86       ng-ui-image: opensourcemano/ng-ui:testing-daily
87   lcm:
88     charm: osm-lcm
89     channel: latest/beta
90     scale: 1
91     options:
92       database-commonkey: osm
93       log-level: DEBUG
94     resources:
95       lcm-image: opensourcemano/lcm:testing-daily
96   mon:
97     charm: osm-mon
98     channel: latest/beta
99     trust: true
100     scale: 1
101     options:
102       database-commonkey: osm
103       log-level: DEBUG
104       keystone-enabled: true
105     resources:
106       mon-image: opensourcemano/mon:testing-daily
107   pol:
108     charm: osm-pol
109     channel: latest/beta
110     scale: 1
111     options:
112       log-level: DEBUG
113     resources:
114       pol-image: opensourcemano/pol:testing-daily
115   vca:
116     charm: osm-vca-integrator
117     channel: latest/beta
118     scale: 1
119   ingress:
120     charm: nginx-ingress-integrator
121     channel: latest/stable
122     scale: 1
123   pla:
124     charm: osm-pla
125     channel: latest/stable
126     scale: 1
127     series: kubernetes
128     options:
129       log_level: DEBUG
130     resources:
131       image: opensourcemano/pla:testing-daily
132   prometheus:
133     charm: osm-prometheus
134     channel: latest/stable
135     scale: 1
136     series: kubernetes
137     storage:
138       data: 50M
139     options:
140       default-target: "mon:8000"
141   grafana:
142     charm: osm-grafana
143     channel: latest/stable
144     scale: 1
145     series: kubernetes
146   keystone:
147     charm: osm-keystone
148     channel: latest/stable
149     scale: 1
150     resources:
151       keystone-image: opensourcemano/keystone:testing-daily
152 relations:
153   - - grafana:prometheus
154     - prometheus:prometheus
155   - - kafka:zookeeper
156     - zookeeper:zookeeper
157   - - keystone:db
158     - mariadb:mysql
159   - - lcm:kafka
160     - kafka:kafka
161   - - lcm:mongodb
162     - mongodb:database
163   - - lcm:vca
164     - vca:vca
165   - - ro:ro
166     - lcm:ro
167   - - ro:kafka
168     - kafka:kafka
169   - - ro:mongodb
170     - mongodb:database
171   - - pol:kafka
172     - kafka:kafka
173   - - pol:mongodb
174     - mongodb:database
175   - - mon:mongodb
176     - mongodb:database
177   - - mon:kafka
178     - kafka:kafka
179   - - mon:vca
180     - vca:vca
181   - - pla:kafka
182     - kafka:kafka
183   - - pla:mongodb
184     - mongodb:database
185   - - nbi:mongodb
186     - mongodb:database
187   - - nbi:kafka
188     - kafka:kafka
189   - - nbi:ingress
190     - ingress:ingress
191   - - nbi:prometheus
192     - prometheus:prometheus
193   - - nbi:keystone
194     - keystone:keystone
195   - - mon:prometheus
196     - prometheus:prometheus
197   - - ng-ui:nbi
198     - nbi:nbi
199   - - ng-ui:ingress
200     - ingress:ingress
201   - - mon:keystone
202     - keystone:keystone
203   - - mariadb:mysql
204     - pol:mysql
205   - - grafana:db
206     - mariadb:mysql