The following Vagrantfile code(syntax is Ruby) is creating one master node and two worker nodes for Kubernetes.
Go to Vagrantfile directory in Terminal and run the following code to create virtual machines.
As you can see in the below picture, three virtual machines are obtained and running.
But, Kubernetes cluester is still not ready. We created just an environment to install the cluster.
Each class contains only the business logic code, while the aspects will be responsible of intercepting the code in order to inject the cross-cutting concerns.
This is first version of example code.
This is second version. You can find MethodInfo and parameter values in the aspect classes.
Uninstall just vagrant
This will remove just the vagrant package itself.
sudo apt-get remove vagrant
Uninstall vagrant and its dependencies
To remove the vagrant package and any other dependant package which are no longer needed from Ubuntu.
sudo apt-get remove --auto-remove vagrant
Purging vagrant (your config/data too)
If you also want to delete your local/config files for vagrant then this will work.
sudo apt-get purge vagrant
To delete configuration and/or data files of vagrant and it’s dependencies from Ubuntu then execute.
sudo apt-get purge --auto-remove vagrant
Before you run the following C# code, run the below docker code to have a RabbitMQ applicaton locally.
docker run -d –hostname my-rabbit –name some-rabbit -p 8080:15672 -p 5672:5672 rabbitmq:3-management
After run Docker RabbitMQ container, you can reach from http://localhost:8080/ as shown in following picture.