blob: e8198ebd0b360c64680fc421ab201502c53b9aea [file] [log] [blame]
David Garcia49379ce2021-02-24 13:48:22 +01001# 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.
14description: Single instance OSM bundle
15bundle: kubernetes
16applications:
17 zookeeper-k8s:
18 charm: "cs:~charmed-osm/zookeeper-k8s"
19 channel: "stable"
20 scale: 1
21 series: kubernetes
22 storage:
23 database: 100M
24 annotations:
25 gui-x: 0
26 gui-y: 550
27 mariadb-k8s:
28 charm: "cs:~charmed-osm/mariadb-k8s"
29 channel: "stable"
30 scale: 1
31 series: kubernetes
32 storage:
33 database: 50M
34 options:
35 password: manopw
36 root_password: osm4u
37 user: mano
38 annotations:
39 gui-x: -250
40 gui-y: -200
41 kafka-k8s:
42 charm: "cs:~charmed-osm/kafka-k8s"
43 channel: "stable"
44 scale: 1
45 series: kubernetes
46 storage:
47 database: 100M
48 annotations:
49 gui-x: 0
50 gui-y: 300
David Garcia141d9352021-09-08 17:48:40 +020051 mongodb:
52 charm: ch:mongodb-k8s
David Garcia49379ce2021-02-24 13:48:22 +010053 scale: 1
54 series: kubernetes
55 storage:
David Garcia141d9352021-09-08 17:48:40 +020056 db: 50M
David Garcia49379ce2021-02-24 13:48:22 +010057 annotations:
58 gui-x: 0
David Garcia141d9352021-09-08 17:48:40 +020059 gui-y: 0
David Garcia49379ce2021-02-24 13:48:22 +010060 nbi:
David Garcia141d9352021-09-08 17:48:40 +020061 charm: "./nbi/nbi.charm"
David Garcia49379ce2021-02-24 13:48:22 +010062 scale: 1
63 series: kubernetes
64 options:
65 database_commonkey: osm
66 auth_backend: keystone
David Garcia141d9352021-09-08 17:48:40 +020067 resources:
68 image: opensourcemano/nbi:testing-daily
David Garcia49379ce2021-02-24 13:48:22 +010069 annotations:
70 gui-x: 0
71 gui-y: -200
72 ro:
David Garcia141d9352021-09-08 17:48:40 +020073 charm: "./ro/ro.charm"
David Garcia49379ce2021-02-24 13:48:22 +010074 scale: 1
75 series: kubernetes
David Garcia141d9352021-09-08 17:48:40 +020076 resources:
77 image: opensourcemano/ro:testing-daily
David Garcia49379ce2021-02-24 13:48:22 +010078 annotations:
79 gui-x: -250
80 gui-y: 300
81 ng-ui:
David Garcia141d9352021-09-08 17:48:40 +020082 charm: "./ng-ui/ng-ui.charm"
David Garcia49379ce2021-02-24 13:48:22 +010083 scale: 1
84 series: kubernetes
David Garcia141d9352021-09-08 17:48:40 +020085 resources:
86 image: opensourcemano/ng-ui:testing-daily
David Garcia49379ce2021-02-24 13:48:22 +010087 annotations:
88 gui-x: 500
89 gui-y: 100
90 lcm:
David Garcia141d9352021-09-08 17:48:40 +020091 charm: "./lcm/lcm.charm"
David Garcia49379ce2021-02-24 13:48:22 +010092 scale: 1
93 series: kubernetes
94 options:
95 database_commonkey: osm
David Garcia141d9352021-09-08 17:48:40 +020096 resources:
97 image: opensourcemano/lcm:testing-daily
David Garcia49379ce2021-02-24 13:48:22 +010098 annotations:
99 gui-x: -250
100 gui-y: 50
101 mon:
David Garcia141d9352021-09-08 17:48:40 +0200102 charm: "./mon/mon.charm"
David Garcia49379ce2021-02-24 13:48:22 +0100103 scale: 1
104 series: kubernetes
105 options:
106 database_commonkey: osm
David Garcia141d9352021-09-08 17:48:40 +0200107 resources:
108 image: opensourcemano/mon:testing-daily
David Garcia49379ce2021-02-24 13:48:22 +0100109 annotations:
110 gui-x: 250
111 gui-y: 50
112 pol:
David Garcia141d9352021-09-08 17:48:40 +0200113 charm: "./pol/pol.charm"
David Garcia49379ce2021-02-24 13:48:22 +0100114 scale: 1
115 series: kubernetes
David Garcia141d9352021-09-08 17:48:40 +0200116 resources:
117 image: opensourcemano/pol:testing-daily
David Garcia49379ce2021-02-24 13:48:22 +0100118 annotations:
119 gui-x: -250
120 gui-y: 550
121 pla:
122 charm: "./pla/build"
123 scale: 1
124 series: kubernetes
David Garcia141d9352021-09-08 17:48:40 +0200125 resources:
126 image: opensourcemano/pla:testing-daily
David Garcia49379ce2021-02-24 13:48:22 +0100127 annotations:
128 gui-x: 500
129 gui-y: -200
130 prometheus:
David Garcia141d9352021-09-08 17:48:40 +0200131 charm: "./prometheus/prometheus.charm"
David Garcia49379ce2021-02-24 13:48:22 +0100132 channel: "stable"
133 scale: 1
134 series: kubernetes
135 storage:
136 data: 50M
137 options:
138 default-target: "mon:8000"
David Garcia141d9352021-09-08 17:48:40 +0200139 resources:
140 image: ubuntu/prometheus:latest
141 backup-image: ed1000/prometheus-backup:latest
David Garcia49379ce2021-02-24 13:48:22 +0100142 annotations:
143 gui-x: 250
144 gui-y: 300
145 grafana:
David Garcia141d9352021-09-08 17:48:40 +0200146 charm: "./grafana/grafana.charm"
David Garcia49379ce2021-02-24 13:48:22 +0100147 channel: "stable"
148 scale: 1
149 series: kubernetes
David Garcia141d9352021-09-08 17:48:40 +0200150 resources:
151 image: ubuntu/grafana:latest
David Garcia49379ce2021-02-24 13:48:22 +0100152 annotations:
153 gui-x: 250
154 gui-y: 550
155 keystone:
David Garcia141d9352021-09-08 17:48:40 +0200156 charm: "./keystone/keystone.charm"
157 resources:
158 image: opensourcemano/keystone:testing-daily
David Garcia49379ce2021-02-24 13:48:22 +0100159 scale: 1
160 series: kubernetes
161 annotations:
162 gui-x: -250
163 gui-y: 550
164relations:
165 - - grafana:prometheus
166 - prometheus:prometheus
167 - - kafka-k8s:zookeeper
168 - zookeeper-k8s:zookeeper
169 - - keystone:db
170 - mariadb-k8s:mysql
171 - - lcm:kafka
172 - kafka-k8s:kafka
173 - - lcm:mongodb
David Garcia141d9352021-09-08 17:48:40 +0200174 - mongodb:database
David Garcia49379ce2021-02-24 13:48:22 +0100175 - - ro:ro
176 - lcm:ro
177 - - ro:kafka
178 - kafka-k8s:kafka
179 - - ro:mongodb
David Garcia141d9352021-09-08 17:48:40 +0200180 - mongodb:database
David Garcia49379ce2021-02-24 13:48:22 +0100181 - - pol:kafka
182 - kafka-k8s:kafka
183 - - pol:mongodb
David Garcia141d9352021-09-08 17:48:40 +0200184 - mongodb:database
David Garcia49379ce2021-02-24 13:48:22 +0100185 - - mon:mongodb
David Garcia141d9352021-09-08 17:48:40 +0200186 - mongodb:database
David Garcia49379ce2021-02-24 13:48:22 +0100187 - - mon:kafka
188 - kafka-k8s:kafka
189 - - pla:kafka
190 - kafka-k8s:kafka
191 - - pla:mongodb
David Garcia141d9352021-09-08 17:48:40 +0200192 - mongodb:database
David Garcia49379ce2021-02-24 13:48:22 +0100193 - - nbi:mongodb
David Garcia141d9352021-09-08 17:48:40 +0200194 - mongodb:database
David Garcia49379ce2021-02-24 13:48:22 +0100195 - - nbi:kafka
196 - kafka-k8s:kafka
197 - - nbi:prometheus
198 - prometheus:prometheus
199 - - nbi:keystone
200 - keystone:keystone
201 - - mon:prometheus
202 - prometheus:prometheus
203 - - ng-ui:nbi
204 - nbi:nbi
David Garcia141d9352021-09-08 17:48:40 +0200205 - - mon:keystone
206 - keystone:keystone
207 - - mariadb-k8s:mysql
208 - pol:mysql