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