Kubernetes
Kubernetes
If you have any further questions after reading this document, the answer may be found in the FAQ on the website:
http://bit.ly/LF-FAQ or https://training.linuxfoundation.org/about/faqs/general-faq/
1 Hardware Requirements
Students are expected to provide their own computers for Linux Foundation courses.
You can run any Operating System for this course as long as it conforms to the specific requirements listed below.
The Linux Foundation logistical staff may be consulted as required for further clarification.
2 Software Requirements
You will need the following things on your Operating System of choice: modern web browser, terminal emulation
program (ssh or putty), Kubernetes CLI (kubectl)
The labs were written using Ubuntu instances running on Google Cloud Platform (GCP). They have been written
to be vendor-agnostic so could run on AWS, local hardware, or inside of virtualization to give you the most flexibility
and options. Each platform will have different access methods and considerations. As of v1.14.1 the minimum (as in
barely works) size for VirtualBox is 3vCPU/8G memory/5G minimal OS disk for master and 1vCPU/1G memory/5G
minimal OS disk for worker node. This would be space given entirely to the guest VMs, not shared with the host. On
GCP we suggest 2vCPU/7.5G nodes. More details can be found in the lab exercises.
If using your own equipment you will have to disable swap on every node. There may be other requirements which
will be shown as warnings or errors when using the kubeadm command. While most commands are run as a regular
user, there are some which require root privilege. Please configure sudo access as shown in a previous lab.
You would also require a .pem or .ppk file to access the nodes. Each cloud provider will have a process to download or
create this file. If attending in-person instructor led training the file will be made available during class.
1
2
Very Important
Please disable any firewalls while learning Kubernetes. While there is a list of required
ports for communication between components, the list may not be as complete as neces-
sary. If using GCP you can add a rule to the project which allows all traffic to all ports.
Should you be using VirtualBox be aware that inter-VM networking will need to be set
to promiscuous mode.
If using Linux or Mac, the native terminal program is fine. If using Windows you will need to install PuTTY and
PuTTYgen from putty.org. The whole PuTTY suite is handy. Make sure any necessary firewall ports are opened
for web and SSH traffic prior to class.