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