Skip to content

Setup a Kubernetes 1.18 cluster easily on CentOS 8.1 with Ansible

License

Notifications You must be signed in to change notification settings

danpilch/easy-kubeadm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

easy-kubernetes

Setup a Kubernetes v1.18 cluster easily on CentOS 8

Overview

This project intends to show how easy it is to setup a K8s cluster with minimal experience using Kubnernetes. I have adapted this project from the great guide: Installing Kubernetes on Linux with kubeadm

This system uses CRI-O container runtime

Requrements

Ansible (tested on 2.9.6)

CentOS (v8) hosts (be it, AWS, GCP or DigitalOcean etc.)

Vagrant (thanks @xenithorb)

Usage

You may need to change the brige interface in tests/Vagrantfile from bridge: "wlp2s0" to whatever is suitable for your environment.

# make edits to tests/dotenv
cd tests
source ./tests/dotenv
vagrant up

# copy kubeconfig to host
vagrant plugin install vagrant-scp
vagrant scp easy-kube-master:~/.kube/config ~/.kube

About

Setup a Kubernetes 1.18 cluster easily on CentOS 8.1 with Ansible

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published