752cf567cb3ca8017adbd12454e6e05134b654b0
[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:
32     charm: "cs:~charmed-osm/zookeeper-1"
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:
59     charm: "cs:~charmed-osm/kafka-1"
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:
72     charm: ch:mongodb-k8s
73     scale: 3
74     series: kubernetes
75     storage:
76       db: 50M
77     annotations:
78       gui-x: 0
79       gui-y: 0
80   nbi:
81     charm: "cs:~charmed-osm/nbi-18"
82     scale: 3
83     series: kubernetes
84     options:
85       database_commonkey: osm
86       auth_backend: keystone
87       log_level: DEBUG
88     annotations:
89       gui-x: 0
90       gui-y: -250
91   ro:
92     charm: "cs:~charmed-osm/ro-10"
93     scale: 3
94     series: kubernetes
95     options:
96       log_level: DEBUG
97     annotations:
98       gui-x: -300
99       gui-y: 250
100   ng-ui:
101     charm: "cs:~charmed-osm/ng-ui-25"
102     scale: 3
103     series: kubernetes
104     annotations:
105       gui-x: 600
106       gui-y: 0
107   lcm:
108     charm: "cs:~charmed-osm/lcm-15"
109     scale: 3
110     series: kubernetes
111     options:
112       database_commonkey: osm
113       log_level: DEBUG
114     annotations:
115       gui-x: -300
116       gui-y: 0
117   mon:
118     charm: "cs:~charmed-osm/mon-12"
119     scale: 1
120     series: kubernetes
121     options:
122       database_commonkey: osm
123       log_level: DEBUG
124       keystone_enabled: true
125     annotations:
126       gui-x: 300
127       gui-y: 0
128   pol:
129     charm: "cs:~charmed-osm/pol-10"
130     scale: 3
131     series: kubernetes
132     options:
133       log_level: DEBUG
134     annotations:
135       gui-x: -300
136       gui-y: 500
137   pla:
138     charm: "cs:~charmed-osm/pla-13"
139     scale: 3
140     series: kubernetes
141     options:
142       log_level: DEBUG
143     annotations:
144       gui-x: 600
145       gui-y: -250
146   prometheus:
147     charm: "cs:~charmed-osm/prometheus-9"
148     scale: 1
149     series: kubernetes
150     storage:
151       data: 50M
152     options:
153       default-target: "mon:8000"
154     annotations:
155       gui-x: 300
156       gui-y: 250
157   grafana:
158     charm: "cs:~charmed-osm/grafana-10"
159     scale: 3
160     series: kubernetes
161     annotations:
162       gui-x: 300
163       gui-y: 500
164   keystone:
165     charm: "cs:~charmed-osm/keystone-16"
166     scale: 1
167     series: kubernetes
168     annotations:
169       gui-x: 300
170       gui-y: -250
171 relations:
172   - - grafana:prometheus
173     - prometheus:prometheus
174   - - kafka:zookeeper
175     - zookeeper:zookeeper
176   - - keystone:db
177     - mariadb-k8s:mysql
178   - - lcm:kafka
179     - kafka:kafka
180   - - lcm:mongodb
181     - mongodb:database
182   - - ro:ro
183     - lcm:ro
184   - - ro:kafka
185     - kafka:kafka
186   - - ro:mongodb
187     - mongodb:database
188   - - pol:kafka
189     - kafka:kafka
190   - - pol:mongodb
191     - mongodb:database
192   - - mon:mongodb
193     - mongodb:database
194   - - mon:kafka
195     - kafka:kafka
196   - - pla:kafka
197     - kafka:kafka
198   - - pla:mongodb
199     - mongodb:database
200   - - nbi:mongodb
201     - mongodb:database
202   - - nbi:kafka
203     - kafka:kafka
204   - - nbi:prometheus
205     - prometheus:prometheus
206   - - nbi:keystone
207     - keystone:keystone
208   - - mon:prometheus
209     - prometheus:prometheus
210   - - ng-ui:nbi
211     - nbi:nbi
212   - - mon:keystone
213     - keystone:keystone
214   - - mariadb-k8s:mysql
215     - pol:mysql
216   - - grafana:db
217     - mariadb-k8s:mysql