因为这段时间一直在折腾安装ONAP,发现隔两天OOM的代码就会更新一下。估计随着使用人数的增多,更多的问题会暴露出来,开发团队会一直更新相关代码的。
2.进入oom/kubernetes目录,修改onap/values.yaml文件来使能、去使能ONAP各组件。boco@onap-1:~$ helm install local/onap -n dev --namespace onap
NAME: dev
LAST DEPLOYED: Thu Jul 5 09:55:36 2018
NAMESPACE: onap
STATUS: DEPLOYED
RESOURCES:
==> v1/Secret
NAME TYPE DATA AGE
dev-aaf-cs Opaque 4 26s
dev-aaf-local-secret Opaque 4 26s
...
==> v1/ConfigMap
NAME DATA AGE
dev-aaf-sms-quorumclient 1 26s
dev-aaf-sms-vault-consul 1 26s
...
==> v1/Job
NAME DESIRED SUCCESSFUL AGE
dev-aaf-create-config 1 0 16s
dev-aai-traversal-update-query-data 1 0 16s
...
==> v1beta1/Deployment
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
dev-aaf-cm 1 1 1 0 19s
dev-aaf-cs 1 1 1 0 19s
...
==> v1beta1/StatefulSet
NAME DESIRED CURRENT AGE
dev-aaf-sms-quorumclient 3 1 16s
dev-aaf-sms-vault 1 1 16s
...
==> v1/Pod(related)
NAME READY STATUS RESTARTS AGE
dev-aaf-cm-f4dc85d89-4vgrk 0/1 Init:0/2 0 19s
dev-aaf-cs-7b7648974c-mbx4b 0/1 ContainerCreating 0 19s
...
==> v1/PersistentVolume
NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
dev-aaf-sms-quorumclient 10Mi RWO Retain Bound onap/dev-aaf-sms-quorumclient 24s
dev-aaf-sms-vault 2Gi RWO Retain Bound onap/dev-aaf-sms-vault 24s
...
==> v1/PersistentVolumeClaim
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
dev-aaf-sms-quorumclient Bound dev-aaf-sms-quorumclient 10Mi RWO 24s
dev-aaf-sms-vault Bound dev-aaf-sms-vault 2Gi RWO 24s
...
==> v1beta1/ClusterRoleBinding
NAME AGE
onap-binding 23s
==> v1/Service
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
aaf-cm ClusterIP 10.43.171.106 8150/TCP 23s
aaf-cass ClusterIP None 7000/TCP,7001/TCP,9042/TCP,9160/TCP 23s
...
通过命令行查看pod部署进展
首先用下面的命令找到k8s的loadbalance节点,比如下面显示的是192.168.6.148
修改本地/etc/hosts文件,并刷新chrome浏览器的DNS缓存192.168.6.148 portal.api.simpledemo.onap.org
192.168.6.148 vid.api.simpledemo.onap.org
192.168.6.148 sdc.api.fe.simpledemo.onap.org
192.168.6.148 portal-sdk.simpledemo.onap.org
192.168.6.148 policy.api.simpledemo.onap.org
192.168.6.148 aai.api.sparky.simpledemo.onap.org
192.168.6.148 cli.api.simpledemo.onap.org
192.168.6.148 msb.api.discovery.simpledemo.onap.org
在chrome地址栏输入:http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/login.htm,成功打开web UI。
选择一个用户登录:
最后,晒一张上个月参加ONAP Casablanca开发者大会的合影