Update osm bundles to cs:osm-66 and cs:osm-ha-51
[osm/devops.git] / installers / charm / bundles / osm-ha / 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   **A high-available Charmed OSM cluster**
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 enables
19   TSPs to easily deploy pure upstream OSM in highly available, production-grade, and
20   scalable clusters.
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   - Highly Available and resilient against failures
27   - Supported with Ubuntu Advantage
28   - Availability of managed services
29 bundle: kubernetes
30 applications:
31   zookeeper-k8s:
32     charm: "cs:~charmed-osm/zookeeper-k8s"
33     channel: "stable"
34     scale: 3
35     series: kubernetes
36     storage:
37       database: 100M
38     options:
39       zookeeper-units: 3
40     annotations:
41       gui-x: 0
42       gui-y: 500
43   mariadb-k8s:
44     charm: "cs:~charmed-osm/mariadb-k8s"
45     channel: "stable"
46     scale: 3
47     series: kubernetes
48     storage:
49       database: 300M
50     options:
51       password: manopw
52       root_password: osm4u
53       user: mano
54       ha-mode: true
55     annotations:
56       gui-x: -300
57       gui-y: -250
58   kafka-k8s:
59     charm: "cs:~charmed-osm/kafka-k8s"
60     channel: "stable"
61     scale: 3
62     series: kubernetes
63     storage:
64       database: 100M
65     options:
66       zookeeper-units: 3
67       kafka-units: 3
68     annotations:
69       gui-x: 0
70       gui-y: 250
71   mongodb-k8s:
72     charm: "cs:~charmed-osm/mongodb-k8s"
73     channel: "stable"
74     scale: 3
75     series: kubernetes
76     storage:
77       database: 50M
78     options:
79       replica-set: rs0
80       namespace: osm
81       enable-sidecar: true
82     annotations:
83       gui-x: 0
84       gui-y: 0
85   nbi:
86     charm: "cs:~charmed-osm/nbi-12"
87     scale: 3
88     series: kubernetes
89     options:
90       database_commonkey: osm
91       auth_backend: keystone
92       log_level: DEBUG
93     annotations:
94       gui-x: 0
95       gui-y: -250
96   ro:
97     charm: "cs:~charmed-osm/ro-4"
98     scale: 3
99     series: kubernetes
100     options:
101       log_level: DEBUG
102     annotations:
103       gui-x: -300
104       gui-y: 250
105   ng-ui:
106     charm: "cs:~charmed-osm/ng-ui-21"
107     scale: 3
108     series: kubernetes
109     annotations:
110       gui-x: 600
111       gui-y: 0
112   lcm:
113     charm: "cs:~charmed-osm/lcm-8"
114     scale: 3
115     series: kubernetes
116     options:
117       database_commonkey: osm
118       log_level: DEBUG
119     annotations:
120       gui-x: -300
121       gui-y: 0
122   mon:
123     charm: "cs:~charmed-osm/mon-5"
124     scale: 1
125     series: kubernetes
126     options:
127       database_commonkey: osm
128       log_level: DEBUG
129       keystone_enabled: true
130     annotations:
131       gui-x: 300
132       gui-y: 0
133   pol:
134     charm: "cs:~charmed-osm/pol-4"
135     scale: 3
136     series: kubernetes
137     options:
138       log_level: DEBUG
139     annotations:
140       gui-x: -300
141       gui-y: 500
142   pla:
143     charm: "cs:~charmed-osm/pla-9"
144     scale: 3
145     series: kubernetes
146     options:
147       log_level: DEBUG
148     annotations:
149       gui-x: 600
150       gui-y: -250
151   prometheus:
152     charm: "cs:~charmed-osm/prometheus-4"
153     scale: 1
154     series: kubernetes
155     storage:
156       data: 50M
157     options:
158       default-target: "mon:8000"
159     annotations:
160       gui-x: 300
161       gui-y: 250
162   grafana:
163     charm: "cs:~charmed-osm/grafana-4"
164     scale: 3
165     series: kubernetes
166     annotations:
167       gui-x: 300
168       gui-y: 500
169   keystone:
170     charm: "cs:~charmed-osm/keystone-9"
171     scale: 1
172     series: kubernetes
173     annotations:
174       gui-x: 300
175       gui-y: -250
176 relations:
177   - - grafana:prometheus
178     - prometheus:prometheus
179   - - kafka-k8s:zookeeper
180     - zookeeper-k8s:zookeeper
181   - - keystone:db
182     - mariadb-k8s:mysql
183   - - lcm:kafka
184     - kafka-k8s:kafka
185   - - lcm:mongodb
186     - mongodb-k8s:mongo
187   - - ro:ro
188     - lcm:ro
189   - - ro:kafka
190     - kafka-k8s:kafka
191   - - ro:mongodb
192     - mongodb-k8s:mongo
193   - - pol:kafka
194     - kafka-k8s:kafka
195   - - pol:mongodb
196     - mongodb-k8s:mongo
197   - - mon:mongodb
198     - mongodb-k8s:mongo
199   - - mon:kafka
200     - kafka-k8s:kafka
201   - - pla:kafka
202     - kafka-k8s:kafka
203   - - pla:mongodb
204     - mongodb-k8s:mongo
205   - - nbi:mongodb
206     - mongodb-k8s:mongo
207   - - nbi:kafka
208     - kafka-k8s:kafka
209   - - nbi:prometheus
210     - prometheus:prometheus
211   - - nbi:keystone
212     - keystone:keystone
213   - - mon:prometheus
214     - prometheus:prometheus
215   - - ng-ui:nbi
216     - nbi:nbi
217   - - mon:keystone
218     - keystone:keystone
219   - - mariadb-k8s:mysql
220     - pol:mysql