-
Notifications
You must be signed in to change notification settings - Fork 0
LAB
Maher Ali edited this page Mar 9, 2021
·
10 revisions
We provide a LAB that's easy to use and experiment with. The LAB can be coned from the following repository:
With the LAB you will get:
- install.sh: which will provision Nomad and Consul Cluster using Multipass Ubuntu Hypervisor (so make sure you run it on Ubuntu Machine), the script will provision some demo apps and redis server to be used as storage for traffic samples.
-
links.sh: after the install script is complete, you can run the following script: ./links.sh to get the following links:
- Consul: http://10.144.152.123:8500/ui/
- Nomad: http://10.144.152.123:4646/ui/
- Fabio: http://10.144.152.123:9998/
- Portal: http://10.144.152.123/trafik-portal API URL: http:///trafik-api/topology
- Jobs:
- api.nomad: Nomad job to install LiteArch.Trafik.Api service
- collector.nomad: Nomad job to install a group of two tasks: one of them is the sampler task which will use TcpDump shell script to take samples of the containers traffic and forward it on local port 50777 to another service in the same group called the collector which will push the data to redis.
- consolidator.nomad: is a batch job which will run by default every 3 minutes to consolidate redis collected data ad produce the topology
- portal.nomad: Nomad job to deploy trafik portal and register it with Fabio
- Clone the repository LiteArch.Labs
- Make sure multipass is installed:
mulitpass version - Run the installation script: ./install
- Wait until the script completes
- Run: ./links.sh to access the portal, nomad, consul, fabio and api links
After following the previous steps, running mulitpass list should display something similar to:
Run the ./links.sh to see similar links to the following:
Clicking on the protal Link will display the network topology: