Add missing libmd0 library to POL dockerfile
[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 name: osm-ha
15 bundle: kubernetes
16 docs: https://discourse.charmhub.io/t/osm-docs-index/8806
17 description: |
18   **A high-available Charmed OSM cluster**
19
20   Charmed OSM is an OSM distribution, developed and maintained by Canonical, which uses
21   Juju charms to simplify its deployments and operations. This bundle distribution enables
22   TSPs to easily deploy pure upstream OSM in highly available, production-grade, and
23   scalable clusters.
24
25   - Industry‐aligned and fully compliant with upstream
26   - Predictable release cadence and upgrade path
27   - Simplified deployments and operations
28   - Stable and secure
29   - Highly Available and resilient against failures
30   - Supported with Ubuntu Advantage
31   - Availability of managed services
32 applications:
33   zookeeper:
34     charm: zookeeper-k8s
35     channel: latest/stable
36     scale: 3
37     storage:
38       data: 100M
39   kafka:
40     charm: kafka-k8s
41     channel: latest/stable
42     scale: 3
43     trust: true
44     storage:
45       data: 100M
46   mariadb:
47     charm: charmed-osm-mariadb-k8s
48     scale: 3
49     series: kubernetes
50     storage:
51       database: 300M
52     options:
53       password: manopw
54       root_password: osm4u
55       user: mano
56       ha-mode: true
57   mongodb:
58     charm: mongodb-k8s
59     channel: latest/edge
60     scale: 3
61     series: kubernetes
62     storage:
63       db: 50M
64   nbi:
65     charm: osm-nbi
66     channel: latest/edge/paas
67     series: focal
68     trust: true
69     scale: 3
70     options:
71       database-commonkey: osm
72       log-level: DEBUG
73     resources:
74       nbi-image: opensourcemano/nbi:testing-daily
75   ro:
76     charm: osm-ro
77     channel: latest/beta
78     trust: true
79     scale: 3
80     options:
81       log-level: DEBUG
82     resources:
83       ro-image: opensourcemano/ro:testing-daily
84   ng-ui:
85     charm: osm-ng-ui
86     channel: latest/beta
87     trust: true
88     scale: 3
89     resources:
90       ng-ui-image: opensourcemano/ng-ui:testing-daily
91   lcm:
92     charm: osm-lcm
93     channel: latest/edge/paas
94     series: focal
95     scale: 3
96     options:
97       database-commonkey: osm
98       log-level: DEBUG
99     resources:
100       lcm-image: opensourcemano/lcm:testing-daily
101   mon:
102     charm: osm-mon
103     channel: latest/beta
104     trust: true
105     scale: 1
106     options:
107       database-commonkey: osm
108       log-level: DEBUG
109       keystone-enabled: true
110     resources:
111       mon-image: opensourcemano/mon:testing-daily
112   pol:
113     charm: osm-pol
114     channel: latest/beta
115     scale: 3
116     options:
117       log-level: DEBUG
118     resources:
119       pol-image: opensourcemano/pol:testing-daily
120   vca:
121     charm: osm-vca-integrator
122     channel: latest/beta
123     scale: 1
124   ingress:
125     charm: nginx-ingress-integrator
126     channel: latest/stable
127     scale: 3
128   prometheus:
129     charm: osm-prometheus
130     channel: latest/stable
131     scale: 1
132     series: kubernetes
133     storage:
134       data: 50M
135     options:
136       default-target: "mon:8000"
137   grafana:
138     charm: osm-grafana
139     channel: latest/stable
140     scale: 3
141     series: kubernetes
142   keystone:
143     charm: osm-keystone
144     channel: latest/stable
145     scale: 1
146     resources:
147       keystone-image: opensourcemano/keystone:testing-daily
148   temporal:
149     charm: osm-temporal
150     channel: latest/edge/paas
151     series: focal
152     scale: 3
153     resources:
154       temporal-server-image: temporalio/auto-setup:1.19.0
155 relations:
156   - - grafana:prometheus
157     - prometheus:prometheus
158   - - kafka:zookeeper
159     - zookeeper:zookeeper
160   - - keystone:db
161     - mariadb:mysql
162   - - lcm:kafka
163     - kafka:kafka
164   - - lcm:mongodb
165     - mongodb:database
166   - - lcm:vca
167     - vca:vca
168   - - ro:ro
169     - lcm:ro
170   - - ro:kafka
171     - kafka:kafka
172   - - ro:mongodb
173     - mongodb:database
174   - - pol:kafka
175     - kafka:kafka
176   - - pol:mongodb
177     - mongodb:database
178   - - mon:mongodb
179     - mongodb:database
180   - - mon:kafka
181     - kafka:kafka
182   - - mon:vca
183     - vca:vca
184   - - nbi:mongodb
185     - mongodb:database
186   - - nbi:kafka
187     - kafka:kafka
188   - - nbi:ingress
189     - ingress:ingress
190   - - nbi:prometheus
191     - prometheus:prometheus
192   - - nbi:keystone
193     - keystone:keystone
194   - - nbi:temporal
195     - temporal:temporal
196   - - mon:prometheus
197     - prometheus:prometheus
198   - - ng-ui:nbi
199     - nbi:nbi
200   - - ng-ui:ingress
201     - ingress:ingress
202   - - mon:keystone
203     - keystone:keystone
204   - - mariadb:mysql
205     - pol:mysql
206   - - grafana:db
207     - mariadb:mysql
208   - - temporal:db
209     - mariadb:mysql