...
Run multiple environments on the same machine - TODO
root@obriensystemsu0:~/onap/oom/kubernetes/oneclick# ./createAll.bash -n onap -a robot ********** Creating instance 1 of ONAP with port range 30200 and 30399 ********** Creating ONAP: ********** Creating deployments for robot ********** Creating namespace ********** namespace "onap-robot" created Creating registry secret ********** secret "onap-docker-registry-key" created Creating deployments and services ********** NAME:  onap-robot LAST DEPLOYED: Sun Sep 17 14:58:29 2017 NAMESPACE: onap STATUS: DEPLOYED RESOURCES: ==> v1/Service NAME  CLUSTER-IP EXTERNAL-IP PORT(S)      AGE robot 10.43.6.5  <nodes>     88:30209/TCP 0s ==> extensions/v1beta1/Deployment NAME  DESIRED CURRENT UP-TO-DATE AVAILABLE AGE robot 1       1       1          0         0s **** Done **** root@obriensystemsu0:~/onap/oom/kubernetes/oneclick# ./createAll.bash -n onap2 -a robot ********** Creating instance 1 of ONAP with port range 30200 and 30399 ********** Creating ONAP: ********** Creating deployments for robot ********** Creating namespace ********** namespace "onap2-robot" created Creating registry secret ********** secret "onap2-docker-registry-key" created Creating deployments and services ********** Error: release onap2-robot failed: Service "robot" is invalid: spec.ports[0].nodePort: Invalid value: 30209: provided port is already allocated The command helm returned with error code 1 |
Rest API
There is a v1 and v2 experimental REST endpoint that allows us to automate Rancher
For example we can see when the AAI model-loader container was created
http://127.0.0.1:8880/v1/containerevents |
---|
{
|
Troubleshooting
Rancher fails to restart on server reboot
...