Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Kubernetes Setup Using Ansible and Vagrant

#1
Kubernetes Setup Using Ansible and Vagrant

<div style="margin: 5px 5% 10px 5%;"><img src="http://www.sickgaming.net/blog/wp-content/uploads/2019/03/kubernetes-setup-using-ansible-and-vagrant.jpg" width="1662" height="947" title="" alt="" /></div><div><div><img src="http://www.sickgaming.net/blog/wp-content/uploads/2019/03/kubernetes-setup-using-ansible-and-vagrant.jpg" class="ff-og-image-inserted"></div>
<p>This blog post describes the steps required to set up a multi node Kubernetes cluster for development purposes. This setup provides a production-like cluster that can be set up on your local machine.</p>
<h3>Why do we require multi&nbsp;node cluster setup?</h3>
<p>Multi node Kubernetes clusters offer a production-like environment which has various advantages. Even though Minikube provides an excellent platform for getting started, it doesn’t provide the opportunity to work with multi node clusters which can help solve problems or bugs that are related to application design and architecture. For instance, Ops can reproduce an issue in a multi node cluster environment, Testers can deploy multiple versions of an application for executing test cases and verifying changes. These benefits enable teams to resolve issues faster which make them more agile.</p>
<h3>Why use Vagrant and Ansible?</h3>
<p>Vagrant is a tool that will allow us to create a virtual environment easily and it eliminates pitfalls that cause the works-on-my-machine phenomenon. It can be used with multiple providers such as Oracle VirtualBox, VMware, Docker, and so on. It allows us to create a disposable environment by making use of configuration files.</p>
<p>Ansible is an infrastructure automation engine that automates software configuration management. It is agentless and allows us to use SSH keys for connecting to remote machines. Ansible playbooks are written in yaml and offer inventory management in simple text files.</p>
<p>Prerequisites</p>
<ul>
<li>Vagrant should be installed on your machine. Installation binaries can be found&nbsp;<a href="https://www.vagrantup.com/downloads.html">here</a>.</li>
<li>Oracle VirtualBox can be used as a Vagrant provider or make use of similar providers as described in Vagrant’s official&nbsp;<a href="https://www.vagrantup.com/docs/providers/">documentation</a>.</li>
<li>Ansible should be installed in your machine. Refer to the&nbsp;<a href="https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html">Ansible installation guide</a>&nbsp;for platform-specific installation.</li>
</ul>
<p>Read more at <a href="https://kubernetes.io/blog/2019/03/15/kubernetes-setup-using-ansible-and-vagrant/">Kubernetes.io</a></p>
</div>
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Fedora - Vagrant beyond the basics xSicKxBot 0 1,123 12-02-2020, 09:29 PM
Last Post: xSicKxBot
  Fedora - Installing and running Vagrant using qemu-kvm xSicKxBot 0 1,164 09-21-2020, 03:22 PM
Last Post: xSicKxBot
  Fedora - Automating Network Devices with Ansible xSicKxBot 0 1,069 07-14-2020, 02:38 AM
Last Post: xSicKxBot
  Fedora - How to setup a DNS server with bind xSicKxBot 0 1,114 01-14-2020, 06:50 AM
Last Post: xSicKxBot
  Fedora - How to setup multiple monitors in sway xSicKxBot 0 1,016 01-09-2020, 05:29 AM
Last Post: xSicKxBot
  Fedora - Using Ansible to organize your SSH keys in AWS xSicKxBot 0 1,085 12-04-2019, 05:50 AM
Last Post: xSicKxBot
  Fedora - How to setup an anonymous FTP download server xSicKxBot 0 1,126 10-23-2019, 10:32 PM
Last Post: xSicKxBot
  Twitter Announced Switch from Mesos to Kubernetes xSicKxBot 0 1,138 07-30-2019, 12:12 AM
Last Post: xSicKxBot
  Pivotal brings ‘cf push’ experience to Kubernetes xSicKxBot 0 1,073 07-19-2019, 01:17 PM
Last Post: xSicKxBot
  Fedora - Get the latest Ansible 2.8 in Fedora xSicKxBot 0 1,069 06-22-2019, 12:26 PM
Last Post: xSicKxBot

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB Theme © iAndrew 2016