# Copyright 2020 Canonical Ltd. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. name: osm-ha bundle: kubernetes description: | **A high-available Charmed OSM cluster** Charmed OSM is an OSM distribution, developed and maintained by Canonical, which uses Juju charms to simplify its deployments and operations. This bundle distribution enables TSPs to easily deploy pure upstream OSM in highly available, production-grade, and scalable clusters. - Industry‐aligned and fully compliant with upstream - Predictable release cadence and upgrade path - Simplified deployments and operations - Stable and secure - Highly Available and resilient against failures - Supported with Ubuntu Advantage - Availability of managed services applications: zookeeper: charm: zookeeper-k8s channel: latest/stable scale: 3 storage: data: 100M kafka: charm: kafka-k8s channel: latest/stable scale: 3 trust: true storage: data: 100M mariadb: charm: charmed-osm-mariadb-k8s scale: 3 series: kubernetes storage: database: 300M options: password: manopw root_password: osm4u user: mano ha-mode: true mongodb: charm: mongodb-k8s channel: latest/stable scale: 3 series: kubernetes storage: db: 50M nbi: charm: osm-nbi channel: latest/candidate scale: 3 series: kubernetes options: database_commonkey: osm auth_backend: keystone log_level: DEBUG resources: image: opensourcemano/nbi:10 ro: charm: osm-ro channel: latest/candidate scale: 3 series: kubernetes options: log_level: DEBUG resources: image: opensourcemano/ro:10 ng-ui: charm: osm-ng-ui channel: latest/candidate scale: 3 series: kubernetes resources: image: opensourcemano/ng-ui:10 lcm: charm: osm-lcm channel: latest/candidate scale: 3 series: kubernetes options: database_commonkey: osm log_level: DEBUG resources: image: opensourcemano/lcm:10 mon: charm: osm-mon channel: latest/candidate scale: 1 series: kubernetes options: database_commonkey: osm log_level: DEBUG keystone_enabled: true resources: image: opensourcemano/mon:10 pol: charm: osm-pol channel: latest/candidate scale: 3 series: kubernetes options: log_level: DEBUG resources: image: opensourcemano/pol:10 pla: charm: osm-pla channel: latest/candidate scale: 3 series: kubernetes options: log_level: DEBUG resources: image: opensourcemano/pla:10 prometheus: charm: osm-prometheus channel: latest/candidate scale: 1 series: kubernetes storage: data: 50M options: default-target: "mon:8000" grafana: charm: osm-grafana channel: latest/candidate scale: 3 series: kubernetes keystone: charm: osm-keystone channel: latest/candidate scale: 1 resources: keystone-image: opensourcemano/keystone:10 relations: - - grafana:prometheus - prometheus:prometheus - - kafka:zookeeper - zookeeper:zookeeper - - keystone:db - mariadb:mysql - - lcm:kafka - kafka:kafka - - lcm:mongodb - mongodb:database - - ro:ro - lcm:ro - - ro:kafka - kafka:kafka - - ro:mongodb - mongodb:database - - pol:kafka - kafka:kafka - - pol:mongodb - mongodb:database - - mon:mongodb - mongodb:database - - mon:kafka - kafka:kafka - - pla:kafka - kafka:kafka - - pla:mongodb - mongodb:database - - nbi:mongodb - mongodb:database - - nbi:kafka - kafka:kafka - - nbi:prometheus - prometheus:prometheus - - nbi:keystone - keystone:keystone - - mon:prometheus - prometheus:prometheus - - ng-ui:nbi - nbi:nbi - - mon:keystone - keystone:keystone - - mariadb:mysql - pol:mysql - - grafana:db - mariadb:mysql