Kubernetes: Difference between revisions

250 bytes removed ,  6 years ago
no edit summary
No edit summary
Line 3:
<br />
 
Source: [https://www.techrepublic.com/article/how-to-quickly-install-kubernetes-on-ubuntu/ techrepublic.com], [https://www.linuxtechi.com/install-kubernetes-1-7-centos7-rhel7/ linuxtechi.com]
 
= Requirements=
Line 13 ⟶ 12:
=Installing dependencies=
 
Source: [https://www.techrepublic.com/article/how-to-quickly-install-kubernetes-on-ubuntu/ techrepublic.com], [https://www.linuxtechi.com/install-kubernetes-1-7-centos7-rhel7/ linuxtechi.com]
The first thing you must do is install the necessary dependencies. This will be done on all machines that will join the Kubernetes cluster. The first piece to be install is apt-transport-https (a package that allows using https as well as http in apt repository sources). This can be installed with the following command:
 
This will be done on all machines that will join the Kubernetes cluster.
sudo apt-get update && apt-get install -y apt-transport-https
 
Our next dependency is Docker. Our Kubernetes installation will depend upon this, so install it with:
 
sudo apt install docker.io
 
Once that completes, start and enable the Docker service with the commands
 
sudo systemctl start docker
sudo systemctl enable docker