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