| | 166 | Perform this on kubernetes control node: |
| | 167 | |
| | 168 | 1. Set the context of kubernetes to onap by default: |
| | 169 | |
| | 170 | {{{ |
| | 171 | kubectl config set-context --current --namespace=onap |
| | 172 | }}} |
| | 173 | |
| | 174 | 2. Verify the Kubernetes cluster: |
| | 175 | \\ |
| | 176 | {{{ |
| | 177 | kubectl get nodes -o=wide |
| | 178 | }}} |
| | 179 | |
| | 180 | 3. Initialize Kubernetes Cluster for use by Helm |
| | 181 | |
| | 182 | {{{ |
| | 183 | kubectl -n kube-system create serviceaccount tiller |
| | 184 | kubectl create clusterrolebinding tiller --clusterrole=cluster-admin --serviceaccount=kube-system:tiller |
| | 185 | helm init --service-account tiller |
| | 186 | kubectl -n kube-system rollout status deploy/tiller-deploy |
| | 187 | }}} |
| | 188 | |
| | 189 | 4. Set only the required ONAP component to true |
| | 190 | |
| | 191 | {{{ |
| | 192 | cd overrides/ |
| | 193 | //edit the onap-all.yaml file and set the ONAP components to false |
| | 194 | nano onap-all.yaml |
| | 195 | }}} |
| | 196 | |
| | 197 | example: |
| | 198 | |
| | 199 | {{{ |
| | 200 | # |
| | 201 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| | 202 | # you may not use this file except in compliance with the License. |
| | 203 | # You may obtain a copy of the License at |
| | 204 | # |
| | 205 | # http://www.apache.org/licenses/LICENSE-2.0 |
| | 206 | # |
| | 207 | # Unless required by applicable law or agreed to in writing, software |
| | 208 | # distributed under the License is distributed on an "AS IS" BASIS, |
| | 209 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| | 210 | # See the License for the specific language governing permissions and |
| | 211 | # limitations under the License. |
| | 212 | |
| | 213 | ################################################################### |
| | 214 | # This override file enables helm charts for all ONAP applications. |
| | 215 | ################################################################### |
| | 216 | cassandra: |
| | 217 | enabled: false |
| | 218 | mariadb-galera: |
| | 219 | enabled: true |
| | 220 | |
| | 221 | aaf: |
| | 222 | enabled: false |
| | 223 | aai: |
| | 224 | enabled: false |
| | 225 | appc: |
| | 226 | enabled: false |
| | 227 | cds: |
| | 228 | enabled: false |
| | 229 | clamp: |
| | 230 | enabled: false |
| | 231 | cli: |
| | 232 | enabled: false |
| | 233 | consul: |
| | 234 | enabled: false |
| | 235 | contrib: |
| | 236 | enabled: false |
| | 237 | dcaegen2: |
| | 238 | enabled: false |
| | 239 | dmaap: |
| | 240 | enabled: false |
| | 241 | esr: |
| | 242 | enabled: false |
| | 243 | log: |
| | 244 | enabled: false |
| | 245 | sniro-emulator: |
| | 246 | enabled: false |
| | 247 | oof: |
| | 248 | enabled: false |
| | 249 | msb: |
| | 250 | enabled: false |
| | 251 | multicloud: |
| | 252 | enabled: false |
| | 253 | nbi: |
| | 254 | enabled: false |
| | 255 | policy: |
| | 256 | enabled: false |
| | 257 | pomba: |
| | 258 | enabled: false |
| | 259 | portal: |
| | 260 | enabled: true |
| | 261 | robot: |
| | 262 | enabled: false |
| | 263 | sdc: |
| | 264 | enabled: false |
| | 265 | sdnc: |
| | 266 | enabled: false |
| | 267 | so: |
| | 268 | enabled: false |
| | 269 | uui: |
| | 270 | enabled: false |
| | 271 | vfc: |
| | 272 | enabled: false |
| | 273 | vid: |
| | 274 | enabled: false |
| | 275 | vnfsdk: |
| | 276 | enabled: false |
| | 277 | modeling: |
| | 278 | enabled: false |
| | 279 | }}} |
| | 280 | |
| | 281 | |