A Pod is one or more containers that must be scheduled onto the same host. All containers in a pod share a network namespace, and may optionally share mounted volumes.
Here is the config for the hpcc platform pod: hpcc.yaml
Create HPCC Platfrom node as follow: The current default hpcc pode use HPCC 5.4.8-1 on Ubuntu 14.04 amd64 trusty. You can change to other HPCC docker images or build a HPCC docker image youself.
kubectl create -f hpcc.yaml
For single node deployment HPCC is not started. you can start it as:
kubectl exec hpcc -- /etc/init.d/hpcc-init start
Starting mydafilesrv ... [ OK ]
Starting mydali ... [ OK ]
Starting mydfuserver ... [ OK ]
Starting myeclagent ... [ OK ]
Starting myeclccserver ... [ OK ]
Starting myeclscheduler ... [ OK ]
Starting myesp ... [ OK ]
Starting myroxie ... [ OK ]
Starting mysasha ... [ OK ]
Starting mythor ... [ OK ]
You also can access the contain to run commands:
kubectl exec -i -t hpcc -- bash -il
Type "exit" to exit it.
Tt exit
Get HPCC node ip:
kubectl get pod hpcc -o json | grep podIP
"podIP": "172.17.0.2",
or
kubectl describe pod hpcc | grep "IP:"
IP: 172.17.0.2
You can access ECLWatch from browser: hpcc://172.17.0.2:8010
Pod ip (172.17.0.2) is private. If can't reach it you can try ssh tunnel to the host Linux:
ssh -L 8010:172.17.0.2:8010 <user>@<host linux ip>
Now you can access ECLWatch from your local broswer: hpcc://localhost:8010
kubectl delete -f hpcc.yaml