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