Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

kubernetes on ubuntu 16.04

I am testing and learning kubernetes. I am using ubuntu 16.04 and have been looking for the simple and straightforward installation guide, but have failed to find one... Any suggestion? My aim is to be able to run kubernetes as master on one ubuntu 16.04 laptop and later set up a second ubuntu 16.04 laptop easily join the cluster. I wonder if this can be achieved with the current version of kubernetes and the 16.04 version of ubuntu... Any pointer to a guide or useful resource will be appreciated... Best regards.

like image 308
user3669547 Avatar asked Nov 19 '22 23:11

user3669547


1 Answers

You could check the way to bring up a single-node cluster which is via cluster/get-kube-local.sh. It shows you how one could use hyperkube to bring up a cluster.

If you want to get into the underlying details, the other method is to check out the contents of hack/local-up-cluster.sh. This brings up each component separately, such as:

  • kube-apiserver
  • kube-proxy
  • kube-dns
  • kube-controller-manager

One could potentially use the same steps to create a two-node cluster as you stated in your question.

like image 198
Anirudh Ramanathan Avatar answered Nov 29 '22 07:11

Anirudh Ramanathan