Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Table of Contents
typeflat


Rancher access

...

http://10.12.6.190:8080/admin/access/

...

disable the pods wait for pods to stop and start them

Info
titleBeijing
cd ~
helm upgrade -i dev local/onap --namespace onap -f integration-override.yaml --set sdc.enabled=false
helm upgrade -i dev local/onap --namespace onap -f integration-override.yaml --set sdc.enabled=true
Info
titleCasablanca
helm list -a
..
dev-sdc         2               Wed Oct 17 18:06:08 2018        DEPLOYED        sdc-3.0.0               onap
..
helm del dev-sdc --purge

helm list -a //to confirm its gone

kubectl get pods -n onap | grep sdc //check the pods are done

helm deploy dev local/onap -f /root/integration-override.yaml --namespace onap

Update config map

in case you want to update the env json for sdc.

...

Info
helm upgrade -i dev local/onap --namespace onap -f /root/integration-override.yaml --set sdc.enabled=false
cdmake /root/oom/kubernetes
make /sdc
make /root/oom/kubernetes/onap
helm upgrade -i dev local/onap --namespace onap -f /root/integration-override.yaml --set sdc.enabled=true

...

Info
kubectl get configMaps -n onap dev-sdc-environments-configmap -o yaml


Delete full deploy

then check that all pods are stopped.

look for all Terminating to be gone if not wait till they are.

Info

helm del dev --purge

kubectl get pods --all-namespaces -o=wide


Look for persistent volumes claims

that have not been removed.

Info
       kubectl -n onap get pvc


Delete them if the do not go down
Info
kubectl -n onap delete pvc  dev-sdnc-db-data-dev-sdnc-db-0


Look for persistent volumes that have not been removed.
Info
kubectl -n onap get pv

...


Remove them

...

persistent

...

volumes
Info
kubectl -n onap delete  pv  pvc-c0180abd-4251-11e8-b07c-02ee3a27e357

...


To delete

...

a pod

...

stuck

...

in

...

terminating
Info
kubectl delete  pod dev-sms-857f6dbd87-6lh9k -n onap


full install
Info
helm upgrade -i dev local/onap --namespace onap -f integration-override.yaml

...

Look for the external IP of the node that has portal IP 10.0.0.4 in the UI interface for the instances.

kubectl get service -o wide -n onap

define the IP in you local machine to allow so that the browser can resolve it to the correct IP

...

to access the portal usethe link below after the resolving has been updated.

Info

http://portal.api.simpledemo.onap.org:

8989

30215/ONAPPORTAL/login.htm

https://portal.api.simpledemo.onap.org:30225/ONAPPORTAL/login.htm