Changes between Version 6 and Version 7 of Tutorials/Cloud/ONAP


Ignore:
Timestamp:
Oct 18, 2019, 3:14:56 PM (5 years ago)
Author:
hanif
Comment:

Installation script

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/Cloud/ONAP

    v6 v7  
    1414
    1515-- Running performant physical server cluster
     16
    1617For the purpose of orbit-lab, execute the below script on any of the console node in orbit as below:
    1718\\./create-kube-cluster.sh -c "cNode1 cNode2 ... cNodeM" -w "wNode1 wNode2 ... wNodeN"
     
    8283    printf "%c" "."
    8384done
     85
    8486echo "127.0.0.1 localhost" > hosts
    8587echo "`ping $i -c 1 | grep "PING" | grep '('|awk '{gsub(/[()]/,""); print $3}'` ${i}" >> hosts
     
    162164}}}
    163165
     166Perform this on kubernetes control node:
     167
     1681. Set the context of kubernetes to onap by default:
     169
     170{{{
     171kubectl config set-context --current --namespace=onap
     172}}}
     173
     1742. Verify the Kubernetes cluster:
     175\\
     176{{{
     177kubectl get nodes -o=wide
     178}}}
     179
     1803. Initialize Kubernetes Cluster for use by Helm
     181
     182{{{
     183kubectl -n kube-system create serviceaccount tiller
     184kubectl create clusterrolebinding tiller --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
     185helm init --service-account tiller
     186kubectl -n kube-system  rollout status deploy/tiller-deploy
     187}}}
     188
     1894. Set only the required ONAP component to true
     190
     191{{{
     192cd overrides/
     193//edit the onap-all.yaml  file and set the ONAP components to false
     194nano onap-all.yaml
     195}}}
     196
     197example:
     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###################################################################
     216cassandra:
     217  enabled: false
     218mariadb-galera:
     219  enabled: true
     220
     221aaf:
     222  enabled: false
     223aai:
     224  enabled: false
     225appc:
     226  enabled: false
     227cds:
     228  enabled: false
     229clamp:
     230  enabled: false
     231cli:
     232  enabled: false
     233consul:
     234  enabled: false
     235contrib:
     236  enabled: false
     237dcaegen2:
     238  enabled: false
     239dmaap:
     240  enabled: false
     241esr:
     242  enabled: false
     243log:
     244  enabled: false
     245sniro-emulator:
     246  enabled: false
     247oof:
     248  enabled: false
     249msb:
     250  enabled: false
     251multicloud:
     252  enabled: false
     253nbi:
     254  enabled: false
     255policy:
     256  enabled: false
     257pomba:
     258  enabled: false
     259portal:
     260  enabled: true
     261robot:
     262  enabled: false
     263sdc:
     264  enabled: false
     265sdnc:
     266  enabled: false
     267so:
     268  enabled: false
     269uui:
     270  enabled: false
     271vfc:
     272  enabled: false
     273vid:
     274  enabled: false
     275vnfsdk:
     276  enabled: false
     277modeling:
     278  enabled: false
     279}}}
     280
     281
    164282
    165283-- Openstack installed