Skip to content

bryanhsu00/ansible-k8s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-k8s

Introduction

Use ansible to create an HA k8s cluster with three master nodes and three worker nodes automatically.

Environment

  • ubuntu 20.04
  • kubeadm 1.20
  • CRI: docker 19.03
  • CNI: calico

Prerequisite

Edit inventory/hosts and group_vars/all.yaml as your desired

Usage

  • build - ansible-playbook site.yaml -i inventory/hosts
  • cleanup - ansible-playbook reset-site.yaml -i inventory/hosts

About

ansible-k8s

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages