blob: 79950cad931c0b0e00bc7b43a2b1707e63c71efc [file] [log] [blame]
garciadeblas5ea85ff2025-06-17 12:56:54 +02001# 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.
14name: osm-ha
15bundle: kubernetes
16description: Local bundle for development (HA)
17applications:
18 zookeeper:
19 charm: zookeeper-k8s
20 channel: latest/edge
21 scale: 3
22 storage:
23 data: 100M
24 annotations:
25 gui-x: 0
26 gui-y: 500
27 mariadb:
28 charm: charmed-osm-mariadb-k8s
29 scale: 3
30 series: kubernetes
31 storage:
32 database: 300M
33 options:
34 password: manopw
35 root_password: osm4u
36 user: mano
37 ha-mode: true
38 annotations:
39 gui-x: -300
40 gui-y: -250
41 kafka:
42 charm: kafka-k8s
43 channel: latest/edge
44 scale: 3
45 trust: true
46 storage:
47 data: 100M
48 annotations:
49 gui-x: 0
50 gui-y: 250
51 mongodb:
52 charm: mongodb-k8s
53 channel: latest/stable
54 scale: 3
55 series: kubernetes
56 storage:
57 db: 50M
58 annotations:
59 gui-x: 0
60 gui-y: 0
61 nbi:
62 charm: ./nbi/osm-nbi.charm
63 scale: 3
64 resources:
65 image: opensourcemano/nbi:testing-daily
66 series: kubernetes
67 options:
68 database_commonkey: osm
69 auth_backend: keystone
70 log_level: DEBUG
71 annotations:
72 gui-x: 0
73 gui-y: -250
74 ro:
75 charm: ./ro/osm-ro.charm
76 scale: 3
77 resources:
78 image: opensourcemano/ro:testing-daily
79 series: kubernetes
80 options:
81 log_level: DEBUG
82 annotations:
83 gui-x: -300
84 gui-y: 250
85 ng-ui:
86 charm: ./ng-ui/osm-ng-ui.charm
87 scale: 3
88 resources:
89 image: opensourcemano/ng-ui:testing-daily
90 series: kubernetes
91 annotations:
92 gui-x: 600
93 gui-y: 0
94 lcm:
95 charm: ./lcm/osm-lcm.charm
96 scale: 3
97 resources:
98 image: opensourcemano/lcm:testing-daily
99 series: kubernetes
100 options:
101 database_commonkey: osm
102 log_level: DEBUG
103 annotations:
104 gui-x: -300
105 gui-y: 0
106 mon:
107 charm: ./mon/osm-mon.charm
108 scale: 3
109 resources:
110 image: opensourcemano/mon:testing-daily
111 series: kubernetes
112 options:
113 database_commonkey: osm
114 log_level: DEBUG
115 keystone_enabled: true
116 annotations:
117 gui-x: 300
118 gui-y: 0
119 pol:
120 charm: ./pol/osm-pol.charm
121 scale: 3
122 resources:
123 image: opensourcemano/pol:testing-daily
124 series: kubernetes
125 options:
126 log_level: DEBUG
127 annotations:
128 gui-x: -300
129 gui-y: 500
130 pla:
131 charm: ./pla/osm-pla.charm
132 scale: 3
133 resources:
134 image: opensourcemano/pla:testing-daily
135 series: kubernetes
136 options:
137 log_level: DEBUG
138 annotations:
139 gui-x: 600
140 gui-y: -250
141 prometheus:
142 charm: osm-prometheus
143 channel: latest/edge
144 scale: 3
145 series: kubernetes
146 storage:
147 data: 50M
148 options:
149 default-target: "mon:8000"
150 annotations:
151 gui-x: 300
152 gui-y: 250
153 grafana:
154 charm: osm-grafana
155 channel: latest/edge
156 scale: 3
157 series: kubernetes
158 annotations:
159 gui-x: 300
160 gui-y: 500
161 keystone:
162 charm: osm-keystone
163 channel: latest/edge
164 resources:
165 keystone-image: opensourcemano/keystone:testing-daily
166 scale: 1
167 annotations:
168 gui-x: 300
169 gui-y: -250
170relations:
171 - - grafana:prometheus
172 - prometheus:prometheus
173 - - kafka:zookeeper
174 - zookeeper:zookeeper
175 - - keystone:db
176 - mariadb:mysql
177 - - lcm:kafka
178 - kafka:kafka
179 - - lcm:mongodb
180 - mongodb:database
181 - - ro:ro
182 - lcm:ro
183 - - ro:kafka
184 - kafka:kafka
185 - - ro:mongodb
186 - mongodb:database
187 - - pol:kafka
188 - kafka:kafka
189 - - pol:mongodb
190 - mongodb:database
191 - - mon:mongodb
192 - mongodb:database
193 - - mon:kafka
194 - kafka:kafka
195 - - pla:kafka
196 - kafka:kafka
197 - - pla:mongodb
198 - mongodb:database
199 - - nbi:mongodb
200 - mongodb:database
201 - - nbi:kafka
202 - kafka:kafka
203 - - nbi:prometheus
204 - prometheus:prometheus
205 - - nbi:keystone
206 - keystone:keystone
207 - - mon:prometheus
208 - prometheus:prometheus
209 - - ng-ui:nbi
210 - nbi:nbi
211 - - mon:keystone
212 - keystone:keystone
213 - - mariadb:mysql
214 - pol:mysql
215 - - grafana:db
216 - mariadb:mysql