blob: 4b4f809237e8f964f8f5a298bfbfe9e3bbc306b6 [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
51 mongodb-k8s:
52 charm: "cs:~charmed-osm/mongodb-k8s"
53 channel: "stable"
54 scale: 1
55 series: kubernetes
56 storage:
57 database: 50M
58 options:
59 replica-set: rs0
60 namespace: osm
61 enable-sidecar: true
62 annotations:
63 gui-x: 0
64 gui-y: 50
65 nbi:
66 charm: "./nbi/build"
67 scale: 1
68 series: kubernetes
69 options:
70 database_commonkey: osm
71 auth_backend: keystone
72 annotations:
73 gui-x: 0
74 gui-y: -200
75 ro:
76 charm: "./ro/build"
77 scale: 1
78 series: kubernetes
79 annotations:
80 gui-x: -250
81 gui-y: 300
82 ng-ui:
83 charm: "./ng-ui/build"
84 scale: 1
85 series: kubernetes
86 annotations:
87 gui-x: 500
88 gui-y: 100
89 lcm:
90 charm: "./lcm/build"
91 scale: 1
92 series: kubernetes
93 options:
94 database_commonkey: osm
95 annotations:
96 gui-x: -250
97 gui-y: 50
98 mon:
99 charm: "./mon/build"
100 scale: 1
101 series: kubernetes
102 options:
103 database_commonkey: osm
104 annotations:
105 gui-x: 250
106 gui-y: 50
107 pol:
108 charm: "./pol/build"
109 scale: 1
110 series: kubernetes
111 annotations:
112 gui-x: -250
113 gui-y: 550
114 pla:
115 charm: "./pla/build"
116 scale: 1
117 series: kubernetes
118 annotations:
119 gui-x: 500
120 gui-y: -200
121 prometheus:
122 charm: "./prometheus/build"
123 channel: "stable"
124 scale: 1
125 series: kubernetes
126 storage:
127 data: 50M
128 options:
129 default-target: "mon:8000"
130 annotations:
131 gui-x: 250
132 gui-y: 300
133 grafana:
134 charm: "./grafana/build"
135 channel: "stable"
136 scale: 1
137 series: kubernetes
138 annotations:
139 gui-x: 250
140 gui-y: 550
141 keystone:
142 charm: "./keystone/build"
143 scale: 1
144 series: kubernetes
145 annotations:
146 gui-x: -250
147 gui-y: 550
148relations:
149 - - grafana:prometheus
150 - prometheus:prometheus
151 - - kafka-k8s:zookeeper
152 - zookeeper-k8s:zookeeper
153 - - keystone:db
154 - mariadb-k8s:mysql
155 - - lcm:kafka
156 - kafka-k8s:kafka
157 - - lcm:mongodb
158 - mongodb-k8s:mongo
159 - - ro:ro
160 - lcm:ro
161 - - ro:kafka
162 - kafka-k8s:kafka
163 - - ro:mongodb
164 - mongodb-k8s:mongo
165 - - pol:kafka
166 - kafka-k8s:kafka
167 - - pol:mongodb
168 - mongodb-k8s:mongo
169 - - mon:mongodb
170 - mongodb-k8s:mongo
171 - - mon:kafka
172 - kafka-k8s:kafka
173 - - pla:kafka
174 - kafka-k8s:kafka
175 - - pla:mongodb
176 - mongodb-k8s:mongo
177 - - nbi:mongodb
178 - mongodb-k8s:mongo
179 - - nbi:kafka
180 - kafka-k8s:kafka
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