项目作者: ChoiSD

项目描述 :
Deploy k8s using Ansible
高级语言: Roff
项目地址: git://github.com/ChoiSD/k8s-playbook.git
创建时间: 2018-05-05T14:16:54Z
项目社区:https://github.com/ChoiSD/k8s-playbook

开源协议:

下载


Deploy Kubernetes with Ansible


How to use this

Clone this repository

  1. git clone git@github.com:ChoiSD/k8s-playbook.git
  2. cd k8s-playbook

Edit configuration files

  1. cd config
  • config.yaml - all setting parameters are in this file
  • hosts - definition for the nodes in k8s cluster
  • ssh_key - SSH private key that is used to communicate with other nodes (you can use ansible_ssh_pass instead of this)

Run playbook

  1. cd ..
  2. ansible-playbook -e @config/config.yaml site.yaml