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: "cs:~charmed-osm/nbi-k8s"
86 channel: "%(channel)s"
93 DATABASE_COMMONKEY: osm
98 charm: "cs:~charmed-osm/ro-k8s"
99 channel: "%(channel)s"
105 vim_database: "mano_vim_db"
106 ro_database: "mano_db"
107 OPENMANO_TENANT: "osm"
112 charm: "cs:~charmed-osm/ui-k8s"
113 channel: "%(channel)s"
122 charm: "cs:~charmed-osm/lcm-k8s"
123 channel: "%(channel)s"
135 vca_apiproxy: apiproxy
136 use_external_vca: true
137 DATABASE_COMMONKEY: osm
142 charm: "cs:~charmed-osm/mon-k8s"
143 channel: "%(channel)s"
149 OSMMON_OPENSTACK_DEFAULT_GRANULARITY: 300
150 OSMMON_GLOBAL_REQUEST_TIMEOUT: 10
151 OSMMON_GLOBAL_LOGLEVEL: INFO
152 OSMMON_DATABASE_COMMONKEY: osm
153 OSMMON_COLLECTOR_INTERVAL: 30
154 OSMMON_EVALUATOR_INTERVAL: 30
159 use_external_vca: true
164 charm: "cs:~charmed-osm/pol-k8s"
165 channel: "%(channel)s"
176 charm: "cs:~charmed-osm/prometheus-k8s"
183 advertised-port: 9090
185 default-target: "mon-k8s:8000"
190 charm: "cs:~charmed-osm/grafana-k8s"
199 - - "kafka-k8s:zookeeper"
200 - "zookeeper-k8s:zookeeper"
202 - "mariadb-k8s:mysql"
204 - "mongodb-k8s:mongo"
210 - "mongodb-k8s:mongo"
214 - "mongodb-k8s:mongo"
218 - "mongodb-k8s:mongo"
221 - - "prometheus-k8s:prometheus"
222 - "mon-k8s:prometheus"
223 - - "grafana-k8s:prometheus"
224 - "prometheus-k8s:prometheus"
226 - "mariadb-k8s:mysql"
229 - - "prometheus-k8s:prometheus"
230 - "nbi-k8s:prometheus"