9031388a281b4ad7ac4924960b141ffa84d8bd8f
[osm/devops.git] / installers / charm / bundles / 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: |
15   **Single instance Charmed OSM**
16
17   Charmed OSM is an OSM distribution, developed and maintained by Canonical, which uses
18   Juju charms to simplify its deployments and operations. This bundle distribution refers
19   to the development stack for OSM and allows you to deploy a single instance OSM bundle
20   that is fast, reliable, and a complete solution with MicroStack and MicroK8s.
21
22   - Industry‐aligned and fully compliant with upstream
23   - Predictable release cadence and upgrade path
24   - Simplified deployments and operations
25   - Stable and secure
26   - Supported with Ubuntu Advantage
27   - Availability of managed services
28 bundle: kubernetes
29 applications:
30   zookeeper:
31     charm: "cs:~charmed-osm/zookeeper-1"
32     scale: 1
33     series: kubernetes
34     storage:
35       database: 100M
36     annotations:
37       gui-x: 0
38       gui-y: 500
39   mariadb-k8s:
40     charm: "cs:~charmed-osm/mariadb-k8s"
41     channel: "stable"
42     scale: 1
43     series: kubernetes
44     storage:
45       database: 50M
46     options:
47       password: manopw
48       root_password: osm4u
49       user: mano
50     annotations:
51       gui-x: -300
52       gui-y: -250
53   kafka:
54     charm: "cs:~charmed-osm/kafka-1"
55     scale: 1
56     series: kubernetes
57     storage:
58       database: 100M
59     annotations:
60       gui-x: 0
61       gui-y: 250
62   mongodb:
63     charm: ch:mongodb-k8s
64     scale: 1
65     series: kubernetes
66     storage:
67       db: 50M
68     annotations:
69       gui-x: 0
70       gui-y: 0
71   nbi:
72     charm: "cs:~charmed-osm/nbi-18"
73     scale: 1
74     series: kubernetes
75     options:
76       database_commonkey: osm
77       auth_backend: keystone
78       log_level: DEBUG
79     annotations:
80       gui-x: 0
81       gui-y: -250
82   ro:
83     charm: "cs:~charmed-osm/ro-10"
84     scale: 1
85     series: kubernetes
86     options:
87       log_level: DEBUG
88     annotations:
89       gui-x: -300
90       gui-y: 250
91   ng-ui:
92     charm: "cs:~charmed-osm/ng-ui-25"
93     scale: 1
94     series: kubernetes
95     annotations:
96       gui-x: 600
97       gui-y: 0
98   lcm:
99     charm: "cs:~charmed-osm/lcm-15"
100     scale: 1
101     series: kubernetes
102     options:
103       database_commonkey: osm
104       log_level: DEBUG
105     annotations:
106       gui-x: -300
107       gui-y: 0
108   mon:
109     charm: "cs:~charmed-osm/mon-12"
110     scale: 1
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: "cs:~charmed-osm/pol-10"
121     scale: 1
122     series: kubernetes
123     options:
124       log_level: DEBUG
125     annotations:
126       gui-x: -300
127       gui-y: 500
128   pla:
129     charm: "cs:~charmed-osm/pla-13"
130     scale: 1
131     series: kubernetes
132     options:
133       log_level: DEBUG
134     annotations:
135       gui-x: 600
136       gui-y: -250
137   prometheus:
138     charm: "cs:~charmed-osm/prometheus-9"
139     scale: 1
140     series: kubernetes
141     storage:
142       data: 50M
143     options:
144       default-target: "mon:8000"
145     annotations:
146       gui-x: 300
147       gui-y: 250
148   grafana:
149     charm: "cs:~charmed-osm/grafana-10"
150     scale: 1
151     series: kubernetes
152     annotations:
153       gui-x: 300
154       gui-y: 500
155   keystone:
156     charm: "cs:~charmed-osm/keystone-16"
157     scale: 1
158     series: kubernetes
159     annotations:
160       gui-x: 300
161       gui-y: -250
162 relations:
163   - - grafana:prometheus
164     - prometheus:prometheus
165   - - kafka:zookeeper
166     - zookeeper:zookeeper
167   - - keystone:db
168     - mariadb-k8s:mysql
169   - - lcm:kafka
170     - kafka:kafka
171   - - lcm:mongodb
172     - mongodb:database
173   - - ro:ro
174     - lcm:ro
175   - - ro:kafka
176     - kafka:kafka
177   - - ro:mongodb
178     - mongodb:database
179   - - pol:kafka
180     - kafka:kafka
181   - - pol:mongodb
182     - mongodb:database
183   - - mon:mongodb
184     - mongodb:database
185   - - mon:kafka
186     - kafka:kafka
187   - - pla:kafka
188     - kafka:kafka
189   - - pla:mongodb
190     - mongodb:database
191   - - nbi:mongodb
192     - mongodb:database
193   - - nbi:kafka
194     - kafka:kafka
195   - - nbi:prometheus
196     - prometheus:prometheus
197   - - nbi:keystone
198     - keystone:keystone
199   - - mon:prometheus
200     - prometheus:prometheus
201   - - ng-ui:nbi
202     - nbi:nbi
203   - - mon:keystone
204     - keystone:keystone
205   - - mariadb-k8s:mysql
206     - pol:mysql
207   - - grafana:db
208     - mariadb-k8s:mysql