0% found this document useful (0 votes)
49 views

4 Getting Started Kubernetes m4 Slides

This document provides an overview and comparison of different options for installing Kubernetes, including Minikube for local development, Google Container Engine (GKE) for hosted Kubernetes on Google Cloud, installing with kops on AWS, and a manual installation with kubeadm. It notes that Minikube is best for local development and non-production use due to its smaller scope, while GKE provides a production-grade hosted Kubernetes option integrated with Google Cloud. Installing with kops simplifies deploying Kubernetes on AWS, and kubeadm allows assembling a cluster manually for production.

Uploaded by

andreiionita
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views

4 Getting Started Kubernetes m4 Slides

This document provides an overview and comparison of different options for installing Kubernetes, including Minikube for local development, Google Container Engine (GKE) for hosted Kubernetes on Google Cloud, installing with kops on AWS, and a manual installation with kubeadm. It notes that Minikube is best for local development and non-production use due to its smaller scope, while GKE provides a production-grade hosted Kubernetes option integrated with Google Cloud. Installing with kops simplifies deploying Kubernetes on AWS, and kubeadm allows assembling a cluster manually for production.

Uploaded by

andreiionita
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 34

Installing Kubernetes

Nigel Poulton

@nigelpoulton www.nigelpoulton.com
Installing Kubernetes

Nigel Poulton

@nigelpoulton www.nigelpoulton.com
Captain Obvious
/ ‘kaptɪn ɒbvɪəs /
Phrase

Title or phrase applied to someone who states the obvious (self-evident facts)

- Example: “Docker and Kubernetes are changing the world”


VS
VS
Most
Simplest involved

Minikube Google AWS Manual


Container Provider install
Engine
(GKE)
Kubernetes is developing FAST!

Some of the following will


change (Captain Obvious again)
Kubernetes is developing FAST!

Some of the following will


change (Captain Obvious again)
Coming up next…

Minikube
Minikube
DFM
DFW

Best way of spinning up a local environment


DFM
DFW

Best way of spinning up a local environment


VM VM

Node

Master

Host Host
VM

Node

K
Master
$kubectl

Localkube (binary) Container runtime


VM

Node

K
Master
$kubectl

Best way of spinning up a local k8s environment


Localkube (binary) Container runtime
Best way of spinning up a local k8s environment
Coming up next…

Google Container Engine


Google Container Engine
Google Kontainer Engine
Google Kontainer Engine
Google Kontainer Engine
Google Kontainer Engine (GKE)

Google Compute Engine (GCE)


Google Compute Engine (GCE)
Provides compute instances
Google Kontainer Engine (GKE)

Google Compute Engine (GCE)


Provides compute instances
INCLUDES:
• Master server
• etcd store

Coming up next…

Installing Kubernetes in AWS


Installing Kubernetes
with kops in AWS
Installing k8s in AWS
with kops
kubectl, kops, AWS CLI
Pre-reqs
IAM account in AWS with:
AmazonEC2FullAccess
AmazonRoute53FullAccess
AmazonS3FullAccess
IAMFullAccess
AmazonVPCFullAccess

Properly configured DNS


(for the real world)
Coming up next…

Manual Install
Manually with
Installing Kubernetes
kubeadm

Master Node Node


Manually Installing k8s
with kubeadm
Every node (master and minions)
needs:
Pre-reqs
• Docker (or rkt)
• Kubelet
• Kubeadm
• Kubectl
• CNI
Coming up next…

Lesson Recap
Summary

Minikube Google Container Engine

Ideal for: Integrated with the Google Cloud


• Local dev environments Packaged Kubernetes
• Laptop/desktop installs Production grade
• NOT for production

AWS with kops Manual with kubeadm


Integrates with AWS $ kubeadm init
Simple
$ kubeadm join --token <token>
Coming up next…

Pods

You might also like