Charmed OSM preparation for 10.1.0
[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/candidate
64     scale: 1
65     series: kubernetes
66     options:
67       database_commonkey: osm
68       auth_backend: keystone
69       log_level: DEBUG
70     resources:
71       image: opensourcemano/nbi:10
72   ro:
73     charm: osm-ro
74     channel: latest/candidate
75     scale: 1
76     series: kubernetes
77     options:
78       log_level: DEBUG
79     resources:
80       image: opensourcemano/ro:10
81   ng-ui:
82     charm: osm-ng-ui
83     channel: latest/candidate
84     scale: 1
85     series: kubernetes
86     resources:
87       image: opensourcemano/ng-ui:10
88   lcm:
89     charm: osm-lcm
90     channel: latest/candidate
91     scale: 1
92     series: kubernetes
93     options:
94       database_commonkey: osm
95       log_level: DEBUG
96     resources:
97       image: opensourcemano/lcm:10
98   mon:
99     charm: osm-mon
100     channel: latest/candidate
101     scale: 1
102     series: kubernetes
103     options:
104       database_commonkey: osm
105       log_level: DEBUG
106       keystone_enabled: true
107     resources:
108       image: opensourcemano/mon:10
109   pol:
110     charm: osm-pol
111     channel: latest/candidate
112     scale: 1
113     series: kubernetes
114     options:
115       log_level: DEBUG
116     resources:
117       image: opensourcemano/pol:10
118   pla:
119     charm: osm-pla
120     channel: latest/candidate
121     scale: 1
122     series: kubernetes
123     options:
124       log_level: DEBUG
125     resources:
126       image: opensourcemano/pla:10
127   prometheus:
128     charm: osm-prometheus
129     channel: latest/candidate
130     scale: 1
131     series: kubernetes
132     storage:
133       data: 50M
134     options:
135       default-target: "mon:8000"
136   grafana:
137     charm: osm-grafana
138     channel: latest/candidate
139     scale: 1
140     series: kubernetes
141   keystone:
142     charm: osm-keystone
143     channel: latest/candidate
144     scale: 1
145     resources:
146       keystone-image: opensourcemano/keystone:10
147 relations:
148   - - grafana:prometheus
149     - prometheus:prometheus
150   - - kafka:zookeeper
151     - zookeeper:zookeeper
152   - - keystone:db
153     - mariadb:mysql
154   - - lcm:kafka
155     - kafka:kafka
156   - - lcm:mongodb
157     - mongodb:database
158   - - ro:ro
159     - lcm:ro
160   - - ro:kafka
161     - kafka:kafka
162   - - ro:mongodb
163     - mongodb:database
164   - - pol:kafka
165     - kafka:kafka
166   - - pol:mongodb
167     - mongodb:database
168   - - mon:mongodb
169     - mongodb:database
170   - - mon:kafka
171     - kafka:kafka
172   - - pla:kafka
173     - kafka:kafka
174   - - pla:mongodb
175     - mongodb:database
176   - - nbi:mongodb
177     - mongodb:database
178   - - nbi:kafka
179     - kafka:kafka
180   - - nbi:prometheus
181     - prometheus:prometheus
182   - - nbi:keystone
183     - keystone:keystone
184   - - mon:prometheus
185     - prometheus:prometheus
186   - - ng-ui:nbi
187     - nbi:nbi
188   - - mon:keystone
189     - keystone:keystone
190   - - mariadb:mysql
191     - pol:mysql
192   - - grafana:db
193     - mariadb:mysql