0% found this document useful (0 votes)
6 views3 pages

4 Create a Cluster

This lesson provides instructions on creating a cluster using various platforms such as GKE, EKS, AKS, Docker for Desktop, and Minikube. It emphasizes the importance of cloning the vfarcic/k8s-specs repository and executing commands from Git Bash for Windows users. Additionally, it notes that Helm will be used for one-time installations while Kubernetes YAML will be used for further exploration of resources.

Uploaded by

kotten7
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views3 pages

4 Create a Cluster

This lesson provides instructions on creating a cluster using various platforms such as GKE, EKS, AKS, Docker for Desktop, and Minikube. It emphasizes the importance of cloning the vfarcic/k8s-specs repository and executing commands from Git Bash for Windows users. Additionally, it notes that Helm will be used for one-time installations while Kubernetes YAML will be used for further exploration of resources.

Uploaded by

kotten7
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Create a Cluster

This lesson focuses on how to create a cluster.

WE'LL COVER THE FOLLOWING

• Creating a cluster
• Gists and speci cations

Creating a cluster #
Before we create a cluster (or start using one you already have available),
we’ll clone the vfarcic/k8s-specs repository which contains most of the
definitions we’ll use in this course.

A note to Windows users


Please execute all the commands from this course from Git Bash. That
way, you'll be able to run them as they are instead of modifying their
syntax to adapt them to Windows terminal or PowerShell.

All the commands from this chapter are available in the 01-hpa.sh Gist.

git clone https://github.com/vfarcic/k8s-specs.git

cd k8s-specs

If you cloned the repository before, please make sure that you have the latest
version by executing git pull .

Gists and speci cations #


The gists and the specifications that follow are used to test the commands in
this chapter. Choose the flavor you want and run the commands from its .sh
file to create the cluster and the required specifications needed in this
chapter.

NOTE: In the end, you will see a command to DELETE the cluster too.
Don’t execute that command. Use the DELETE command only when you
need to delete the cluster, preferably at the end of the chapter.

GKE
gke-scale.sh: GKE with 3 n1-
standard-1 worker nodes

EKS
eks-scale.sh: EKS with 3 t2.small
worker nodes

AKS
aks-scale.sh: AKS with 3
Standard_B2s worker nodes

Docker for Desktop


docker-scale.sh: Docker for
Desktop with 2 CPUs, 2 GB RAM

Minikube
minikube-scale.sh: minikube
with 2 CPUs, 2 GB RAM

Please note that we will use Helm to install necessary applications, but
we’ll switch to “pure” Kubernetes YAML for experimenting with
(probably new) resources used in this chapter and for deploying the
demo application. In other words, we’ll use Helm for one-time
installations (e.g., Metrics Server ) and YAML for things we’ll explore in
more detail (e.g., HorizontalPodAutoscaler ).

In the next lesson, let’s talk about Metrics Server .

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy