| David Garcia | 49379ce | 2021-02-24 13:48:22 +0100 | [diff] [blame] | 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: A high-available OSM cluster. |
| 15 | bundle: kubernetes |
| 16 | applications: |
| 17 | zookeeper-k8s: |
| 18 | charm: "cs:~charmed-osm/zookeeper-k8s" |
| 19 | channel: "stable" |
| 20 | scale: 3 |
| 21 | series: kubernetes |
| 22 | storage: |
| 23 | database: 100M |
| 24 | options: |
| 25 | zookeeper-units: 3 |
| 26 | annotations: |
| 27 | gui-x: 0 |
| 28 | gui-y: 550 |
| 29 | mariadb-k8s: |
| 30 | charm: "cs:~charmed-osm/mariadb-k8s" |
| 31 | channel: "stable" |
| 32 | scale: 3 |
| 33 | series: kubernetes |
| 34 | storage: |
| 35 | database: 300M |
| 36 | options: |
| 37 | password: manopw |
| 38 | root_password: osm4u |
| 39 | user: mano |
| 40 | ha-mode: true |
| 41 | annotations: |
| 42 | gui-x: -250 |
| 43 | gui-y: -200 |
| 44 | kafka-k8s: |
| 45 | charm: "cs:~charmed-osm/kafka-k8s" |
| 46 | channel: "stable" |
| 47 | scale: 3 |
| 48 | series: kubernetes |
| 49 | storage: |
| 50 | database: 100M |
| 51 | options: |
| 52 | zookeeper-units: 3 |
| 53 | kafka-units: 3 |
| 54 | annotations: |
| 55 | gui-x: 0 |
| 56 | gui-y: 300 |
| 57 | mongodb-k8s: |
| 58 | charm: "cs:~charmed-osm/mongodb-k8s" |
| 59 | channel: "stable" |
| 60 | scale: 3 |
| 61 | series: kubernetes |
| 62 | storage: |
| 63 | database: 50M |
| 64 | options: |
| 65 | replica-set: rs0 |
| 66 | namespace: osm |
| 67 | enable-sidecar: true |
| 68 | annotations: |
| 69 | gui-x: 0 |
| 70 | gui-y: 50 |
| 71 | nbi: |
| 72 | charm: "./nbi/build" |
| 73 | scale: 3 |
| 74 | series: kubernetes |
| 75 | options: |
| 76 | database_commonkey: osm |
| 77 | auth_backend: keystone |
| 78 | annotations: |
| 79 | gui-x: 0 |
| 80 | gui-y: -200 |
| 81 | ro: |
| 82 | charm: "./ro/build" |
| 83 | scale: 3 |
| 84 | series: kubernetes |
| 85 | annotations: |
| 86 | gui-x: -250 |
| 87 | gui-y: 300 |
| 88 | ng-ui: |
| 89 | charm: "./ng-ui/build" |
| 90 | scale: 3 |
| 91 | series: kubernetes |
| 92 | annotations: |
| 93 | gui-x: 500 |
| 94 | gui-y: 100 |
| 95 | lcm: |
| 96 | charm: "./lcm/build" |
| 97 | scale: 3 |
| 98 | series: kubernetes |
| 99 | options: |
| 100 | database_commonkey: osm |
| 101 | annotations: |
| 102 | gui-x: -250 |
| 103 | gui-y: 50 |
| 104 | mon: |
| 105 | charm: "./mon/build" |
| 106 | scale: 1 |
| 107 | series: kubernetes |
| 108 | options: |
| 109 | database_commonkey: osm |
| 110 | annotations: |
| 111 | gui-x: 250 |
| 112 | gui-y: 50 |
| 113 | pol: |
| 114 | charm: "./pol/build" |
| 115 | scale: 3 |
| 116 | series: kubernetes |
| 117 | annotations: |
| 118 | gui-x: -250 |
| 119 | gui-y: 550 |
| 120 | pla: |
| 121 | charm: "./pla/build" |
| 122 | scale: 3 |
| 123 | series: kubernetes |
| 124 | annotations: |
| 125 | gui-x: 500 |
| 126 | gui-y: -200 |
| 127 | prometheus: |
| 128 | charm: "./prometheus/build" |
| 129 | channel: "stable" |
| 130 | scale: 1 |
| 131 | series: kubernetes |
| 132 | storage: |
| 133 | data: 50M |
| 134 | options: |
| 135 | default-target: "mon:8000" |
| 136 | annotations: |
| 137 | gui-x: 250 |
| 138 | gui-y: 300 |
| 139 | grafana: |
| 140 | charm: "./grafana/build" |
| 141 | channel: "stable" |
| 142 | scale: 3 |
| 143 | series: kubernetes |
| 144 | annotations: |
| 145 | gui-x: 250 |
| 146 | gui-y: 550 |
| 147 | keystone: |
| 148 | charm: "./keystone/build" |
| 149 | scale: 3 |
| 150 | series: kubernetes |
| 151 | annotations: |
| 152 | gui-x: -250 |
| 153 | gui-y: 550 |
| 154 | relations: |
| 155 | - - grafana:prometheus |
| 156 | - prometheus:prometheus |
| 157 | - - kafka-k8s:zookeeper |
| 158 | - zookeeper-k8s:zookeeper |
| 159 | - - keystone:db |
| 160 | - mariadb-k8s:mysql |
| 161 | - - lcm:kafka |
| 162 | - kafka-k8s:kafka |
| 163 | - - lcm:mongodb |
| 164 | - mongodb-k8s:mongo |
| 165 | - - ro:ro |
| 166 | - lcm:ro |
| 167 | - - ro:kafka |
| 168 | - kafka-k8s:kafka |
| 169 | - - ro:mongodb |
| 170 | - mongodb-k8s:mongo |
| 171 | - - pol:kafka |
| 172 | - kafka-k8s:kafka |
| 173 | - - pol:mongodb |
| 174 | - mongodb-k8s:mongo |
| 175 | - - mon:mongodb |
| 176 | - mongodb-k8s:mongo |
| 177 | - - mon:kafka |
| 178 | - kafka-k8s:kafka |
| 179 | - - pla:kafka |
| 180 | - kafka-k8s:kafka |
| 181 | - - pla:mongodb |
| 182 | - mongodb-k8s:mongo |
| 183 | - - nbi:mongodb |
| 184 | - mongodb-k8s:mongo |
| 185 | - - nbi:kafka |
| 186 | - kafka-k8s:kafka |
| 187 | - - nbi:prometheus |
| 188 | - prometheus:prometheus |
| 189 | - - nbi:keystone |
| 190 | - keystone:keystone |
| 191 | - - mon:prometheus |
| 192 | - prometheus:prometheus |
| 193 | - - ng-ui:nbi |
| 194 | - nbi:nbi |