Deploy ONAP with RKE

reference https://docs.onap.org/en/dublin/submodules/oom.git/docs/oom_setup_kubernetes_rancher.html

OOM-1598 - Getting issue details... STATUS

Install Docker and RKE
root>curl https://releases.rancher.com/install-docker/18.06.sh | sh
root>docker version
root>wget https://github.com/rancher/rke/releases/download/v0.1.16/rke_linux-amd64
root>mv rke_linux-amd64 rke
root>mv ./rke /usr/local/bin/rke
root>rke --version
root>wget https://github.com/rancher/rke/releases/download/v0.1.16/rke_linux-amd64
root>mv rke_linux-amd64 rke
root>mv ./rke /usr/local/bin/rke
root>rke --version


Install Python Openstack packages
root>apt install python-pip
root>pip install python-openstackclient
root>pip install python-novaclient
root>pip install python-heatclient


ssh key
root>vi /root/.ssh/onap_key 
root>chmod 0400 /root/.ssh/onap_key 


Clone Integration repo and deploy ONAP
root>source integration/deployment/heat/onap-rke/env/windriver/Integration-SB-XX-openrc
root>cd integration/deployment/heat/onap-rke/
root>nohup ./scripts/deploy.sh -m docker-manifest-staging.csv -q env/windriver/onap-oom.env &
root>tail -f nohup.out 


Customize ONAP deployment by editing onap-oom.env

Customize onap-oom.env
xuyang11@pod-onap-01-vjhost:~/src/integration$ git diff
diff --git a/deployment/heat/onap-oom/env/windriver/onap-oom.env b/deployment/heat/onap-oom/env/windriver/onap-oom.env
index d511a3d..01e8222 100644
--- a/deployment/heat/onap-oom/env/windriver/onap-oom.env
+++ b/deployment/heat/onap-oom/env/windriver/onap-oom.env
@@ -64,9 +64,9 @@ parameters:
openStackUserName: "${OS_USERNAME}"
openStackEncryptedPassword: "${OS_PASSWORD}"
sdnc:
- replicaCount: 3
+ replicaCount: 1
config:
- enableClustering: true
+ enableClustering: false
aai:
liveness:
initialDelaySeconds: 120
@@ -95,3 +95,7 @@ parameters:
vid:
config:
portalhost: "__portal_hostname__"
+ sdc:
+ sdc-be:
+ image: "onap/sdc-backend:1.3.5"
+ backendInitImage: "onap/sdc-backend-init:1.3.5"


Another example with customized branches for Integration and OOM




  • No labels