/
Install kubernetes

Install kubernetes

1- Install on Centos

2- Install on Ubuntu

3- Troubleshooting:


Latest:     https://kubernetes.io/docs/getting-started-guides/kubeadm/

https://kubernetes.io/docs/tasks/kubectl/install/  )


1- Install on Centos

install a Kubernetes cluster on machines

1a- create 3x VM ( Master and two minion )

1b- yum update and make sure you have 2x user account
1c- name sure internet access  + NTP 
1d- For multi-interface:    kubeadm init --apiserver-advertise-address 192.168.0.101


echo "192.168.0.101 master" >> /etc/hosts
echo "192.168.0.102 minion1" >> /etc/hosts



http://www.tothenew.com/blog/how-to-install-kubernetes-on-centos/


[root@minion1 ~]# date
Tue 23 May 10:43:30 BST 2017 <<<<<<<<<<<<<<<<<<
[root@minion1 ~]# timedatectl
Local time: Tue 2017-05-23 10:43:23 BST <<<<<<<<<<<<<<
Universal time: Tue 2017-05-23 09:43:23 UTC
RTC time: Tue 2017-05-23 00:08:39
Time zone: Europe/London (BST, +0100)
NTP enabled: yes
NTP synchronized: yes
RTC in local TZ: no
DST active: yes
Last DST change: DST began at
Sun 2017-03-26 00:59:59 GMT
Sun 2017-03-26 02:00:00 BST
Next DST change: DST ends (the clock jumps one hour backwards) at
Sun 2017-10-29 01:59:59 BST
Sun 2017-10-29 01:00:00 GMT

3- Troubleshooting:

https://github.com/kubernetes/kubernetes/issues/43815








Related content

Create POD and Container with kubectl
Create POD and Container with kubectl
More like this
Kubernetes k8s main page
Kubernetes k8s main page
More like this
troubleshooting commands
troubleshooting commands
More like this
1- Deploying containerized app in kubernetes using kubernetes dashboard
1- Deploying containerized app in kubernetes using kubernetes dashboard
More like this
kubernetes master and worker on AWS
kubernetes master and worker on AWS
More like this
EKSCTL to create k8s container
EKSCTL to create k8s container
More like this