...
Install Rancher Client
run http://master.onap.info<your_dns_name>:8880/ and follow instructions in the manual quickstart section below (create k8s env, register host, run rancher client, copy token to ~/.kube/config)
I'll automate this script via cli shortly
Note: Use localhost instead of master.onap.info as described in manual quickstart below.
Prepull docker images
The script curl is incorporated in the cd.sh script below until
...
Run the following (requires onap-parametersonap-parameters.yaml and the following json body for the AAI cloud-region PUT so robot init can run - on the FS beside the cd.sh script)
...
Yogini and I needed the logs in OOM Kubernetes - they were already there and with a robot:robot auth http://test.onap.info<your_dns_name>:30209/logs/demo/InitDistribution/report.html for example after a oom/kubernetes/robot$./demo-k8s.sh distribute find your path to the logs by using for example root@ip-172-31-57-55:/dockerdata-nfs/onap/robot# kubectl --namespace onap-robot exec -it robot-4251390084-lmdbb bash root@robot-4251390084-lmdbb:/# ls /var/opt/OpenECOMP_ETE/html/logs/demo/InitD InitDemo/ InitDistribution/ path is http://test.onap.info<your_dns_name>:30209/logs/demo/InitDemo/log.html#s1-s1-s1-s1-t1 |
SSH into ONAP containers
Normally I would via https://kubernetes.io/docs/tasks/debug-application-cluster/get-shell-running-container/
...