1 # Copyright 2020 Canonical Ltd.
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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: A high-available OSM cluster.
18 charm: "cs:~charmed-osm/zookeeper-k8s"
27 leader-election-port: 3888
33 charm: "cs:~charmed-osm/mariadb-k8s"
45 query-cache-type: "OFF"
52 charm: "cs:~charmed-osm/kafka-k8s"
59 advertised-hostname: "kafka-k8s"
63 zookeeper-service-name: zookeeper-k8s-endpoints
68 charm: "cs:~charmed-osm/mongodb-k8s"
75 advertised-port: 27017
78 service-name: mongodb-k8s-endpoints
79 cluster-domain: cluster.local
85 charm: "%(prefix)s/nbi-k8s%(suffix)s"
92 DATABASE_COMMONKEY: osm
93 auth-backend: keystone
98 charm: "%(prefix)s/ro-k8s%(suffix)s"
104 vim_database: "mano_vim_db"
105 ro_database: "mano_db"
106 OPENMANO_TENANT: "osm"
111 charm: "%(prefix)s/ng-ui%(suffix)s"
117 server_name: localhost
118 client_max_body_size: 15M
123 charm: "%(prefix)s/lcm-k8s%(suffix)s"
135 use_external_vca: true
136 DATABASE_COMMONKEY: osm
141 charm: "%(prefix)s/mon-k8s%(suffix)s"
147 OSMMON_OPENSTACK_DEFAULT_GRANULARITY: 300
148 OSMMON_GLOBAL_REQUEST_TIMEOUT: 10
149 OSMMON_GLOBAL_LOGLEVEL: INFO
150 OSMMON_DATABASE_COMMONKEY: osm
151 OSMMON_COLLECTOR_INTERVAL: 30
152 OSMMON_EVALUATOR_INTERVAL: 30
157 use_external_vca: true
162 charm: "%(prefix)s/pol-k8s%(suffix)s"
173 charm: "%(prefix)s/pla%(suffix)s"
180 charm: "cs:~charmed-osm/prometheus-k8s"
187 advertised-port: 9090
189 default-target: "mon-k8s:8000"
194 charm: "cs:~charmed-osm/grafana-k8s"
202 charm: '%(prefix)s/keystone%(suffix)s'
203 channel: '%(channel)s'
211 - - "kafka-k8s:zookeeper"
212 - "zookeeper-k8s:zookeeper"
214 - "mariadb-k8s:mysql"
216 - "mongodb-k8s:mongo"
222 - "mongodb-k8s:mongo"
226 - "mongodb-k8s:mongo"
230 - "mongodb-k8s:mongo"
233 - - "prometheus-k8s:prometheus"
234 - "mon-k8s:prometheus"
235 - - "grafana-k8s:prometheus"
236 - "prometheus-k8s:prometheus"
237 - - "prometheus-k8s:prometheus"
238 - "nbi-k8s:prometheus"
242 - "mongodb-k8s:mongo"
246 - 'mariadb-k8s:mysql'
247 - - 'keystone:keystone'
250 - "mongodb-k8s:mongo"