Docker Project Build - zacharylongo/Tech-Journals GitHub Wiki
STEPS OF OPERATION
- Open MGMT01 clone on local box/Docker01 clone
- SSH into Docker01 from MGMT using script made for “Git + Linux SSH”
- Use Rancher’s “execute” command to start the container labeled “Longo Tracker”
- Container only includes the executable for “Longotracker” and “Longotracker.sh”
- (in the background) Longotracker then communicates with Longo Home network to check tile location data.
- (in the background) Longotracker then complies tile data and divides it as follows:
RANCHER PLUGINS/DOCKERHUB APPS
- https://hub.docker.com/r/rancher/rancher-agent
- https://hub.docker.com/r/rancher/server
- https://hub.docker.com/r/rancher/rancher-operator
CONFIGURATION CHANGES
- Use "docker config ls" to find Rancher and consequently its security config. Set the security value to 0 instead of 1. (this turns it off)
NOTES ON INFRASTRUCUTRE REQUIREMENTS:
-
As this project relies on existing infrastructure it may be impossible to replicate.
-
This project relies on pre-existing Kubernetes Multi-cluster management already being in place.
-
Longotracker is self-made and unavailable for general use due to its sensitive/personal nature.
BUILD PROCESS (This assumes that a fresh docker box and server manager are already set-up and usuable)
- Either copy a git repository for/ use docker to install Rancher
- Change Rancher config to have no security (described above)
- Use Rancher to connect to proxy Kubernetes multi-cluster network (in this case, a private one hosted hundreds of miles away)
- Use Rancher to pull Longotracker from the aforementioned network
- As the network addresses remain the same for this project, Longotracker should already know where to point itself.
- Longotracker may take several minutes to calibrate and for the proxy network to connect to Tile's database.
- Once database connection is established, Longotracker will automatically output data.
- BUILD COMPLETE