Skip to content

wuchuhengtools/vagrant_k8s_cluster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vagrant_k8s_cluster

简体中文

Introduction

Kubernetes setup using vagrant

Prerequisites

  • Vagrant
  • virtualbox

Usage

Step 1: to clone the repository

$ git clone https://github.com/wuchuhengtools/vagrant_k8s_cluster.git
$ cd vagrant_k8s_cluster

Step 2: start up the cluster

$ vagrant up # <-- initialization cluster 
$ vagrant ssh master
$ sudo su
# kubectl get nodes # <-- show the k8s cluster
NAME     STATUS   ROLES                  AGE   VERSION
master   Ready    control-plane,master   19h   v1.21.3
node0    Ready    <none>                 18h   v1.21.3
node1    Ready    <none>                 18h   v1.21.3

Contributing

You can contribute in one of three ways:

  1. File bug reports using the issue tracker.
  2. Answer questions or fix bugs on the issue tracker.
  3. Contribute new features or update the wiki.

License

MIT

About

vagrant k8s 集群

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages