Difference between revisions of "Installing Kubernetes with Ansible on AWS"

From PKC
Jump to navigation Jump to search
Line 1: Line 1:
This article explains how to install Kubernetes using Ansible on AWS's Ubuntu 20.04 computing clusters.
This article explains how to install Kubernetes using Ansible on AWS's Ubuntu 20.04 computing clusters.
__TOC__
=Set up at least two machines on AWS=
=Set up at least two machines on AWS=
The first task is to create two EC2 instances that matches [[Kubernetes Cluster minimal configuration]]:
The first task is to create two EC2 instances that matches [[Kubernetes Cluster minimal configuration]]:

Revision as of 07:32, 3 August 2021

This article explains how to install Kubernetes using Ansible on AWS's Ubuntu 20.04 computing clusters.

Set up at least two machines on AWS

The first task is to create two EC2 instances that matches Kubernetes Cluster minimal configuration:

The master node must have at least 2 CPU cores, 2 Gb of memory.
The worker node (slave) should have at least 1 CPU core and 2 Gb of memory.

Set the right Security Groups

{{#lst:Input/K8s Installation/Security Groups|Security Groups}}

Ideally, one could first create a Security Group, and name it K8s Sec Grp, then, just create two or more instances of EC2, and select the said security group during the creation cycle.