项目作者: MaciejGawel

项目描述 :
Vagrant-based Kubernetes cluster provisioner
高级语言: HTML
项目地址: git://github.com/MaciejGawel/cluster-provisioner.git
创建时间: 2020-05-23T20:31:57Z
项目社区:https://github.com/MaciejGawel/cluster-provisioner

开源协议:

下载


Vagrant-based Kubernetes cluster provisioner

Usage

Host prerequisites

Install dependencies

  1. yum install gcc libvirt-devel ruby-devel

Install Vagrant

  1. wget https://releases.hashicorp.com/vagrant/2.2.9/vagrant_2.2.9_x86_64.rpm
  2. yum install vagrant_2.2.9_x86_64.rpm
  3. vagrant plugin install vagrant-libvirt

NOTE: Some older Centos versions require newer binutils package:
yum update binutils.

Add Centos box

  1. vagrant box add centos/7 --provider=libvirt

Install Ansible

  1. yum install epel-release
  2. yum install ansible

Deploy an environment

The simple deployment can be done with the following command

  1. vagrant up

To deploy multiple environments create multiple config files

  1. CONFIG=config.yml vagrant up