e8198ebd0b360c64680fc421ab201502c53b9aea
[osm/devops.git] / installers / charm / local_osm_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 description: Single instance OSM bundle
15 bundle: kubernetes
16 applications:
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
51   mongodb:
52     charm: ch:mongodb-k8s
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/nbi.charm"
62     scale: 1
63     series: kubernetes
64     options:
65       database_commonkey: osm
66       auth_backend: keystone
67     resources:
68       image: opensourcemano/nbi:testing-daily
69     annotations:
70       gui-x: 0
71       gui-y: -200
72   ro:
73     charm: "./ro/ro.charm"
74     scale: 1
75     series: kubernetes
76     resources:
77       image: opensourcemano/ro:testing-daily
78     annotations:
79       gui-x: -250
80       gui-y: 300
81   ng-ui:
82     charm: "./ng-ui/ng-ui.charm"
83     scale: 1
84     series: kubernetes
85     resources:
86       image: opensourcemano/ng-ui:testing-daily
87     annotations:
88       gui-x: 500
89       gui-y: 100
90   lcm:
91     charm: "./lcm/lcm.charm"
92     scale: 1
93     series: kubernetes
94     options:
95       database_commonkey: osm
96     resources:
97       image: opensourcemano/lcm:testing-daily
98     annotations:
99       gui-x: -250
100       gui-y: 50
101   mon:
102     charm: "./mon/mon.charm"
103     scale: 1
104     series: kubernetes
105     options:
106       database_commonkey: osm
107     resources:
108       image: opensourcemano/mon:testing-daily
109     annotations:
110       gui-x: 250
111       gui-y: 50
112   pol:
113     charm: "./pol/pol.charm"
114     scale: 1
115     series: kubernetes
116     resources:
117       image: opensourcemano/pol:testing-daily
118     annotations:
119       gui-x: -250
120       gui-y: 550
121   pla:
122     charm: "./pla/build"
123     scale: 1
124     series: kubernetes
125     resources:
126       image: opensourcemano/pla:testing-daily
127     annotations:
128       gui-x: 500
129       gui-y: -200
130   prometheus:
131     charm: "./prometheus/prometheus.charm"
132     channel: "stable"
133     scale: 1
134     series: kubernetes
135     storage:
136       data: 50M
137     options:
138       default-target: "mon:8000"
139     resources:
140       image: ubuntu/prometheus:latest
141       backup-image: ed1000/prometheus-backup:latest
142     annotations:
143       gui-x: 250
144       gui-y: 300
145   grafana:
146     charm: "./grafana/grafana.charm"
147     channel: "stable"
148     scale: 1
149     series: kubernetes
150     resources:
151       image: ubuntu/grafana:latest
152     annotations:
153       gui-x: 250
154       gui-y: 550
155   keystone:
156     charm: "./keystone/keystone.charm"
157     resources:
158       image: opensourcemano/keystone:testing-daily
159     scale: 1
160     series: kubernetes
161     annotations:
162       gui-x: -250
163       gui-y: 550
164 relations:
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
174     - mongodb:database
175   - - ro:ro
176     - lcm:ro
177   - - ro:kafka
178     - kafka-k8s:kafka
179   - - ro:mongodb
180     - mongodb:database
181   - - pol:kafka
182     - kafka-k8s:kafka
183   - - pol:mongodb
184     - mongodb:database
185   - - mon:mongodb
186     - mongodb:database
187   - - mon:kafka
188     - kafka-k8s:kafka
189   - - pla:kafka
190     - kafka-k8s:kafka
191   - - pla:mongodb
192     - mongodb:database
193   - - nbi:mongodb
194     - mongodb:database
195   - - 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
205   - - mon:keystone
206     - keystone:keystone
207   - - mariadb-k8s:mysql
208     - pol:mysql