Skip to content

ydataai/kubernetes-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 

Repository files navigation

Kubernetes Workshop

Presentation

Documentation

🛠️ Tools

Kubectl

It is recomended that you install the same version of the kubernetes that you are using.

Minikube

https://minikube.sigs.k8s.io/docs/start/

Select the operating system, arquitecture and package manger that you want to use.

Kubectx and kubens

https://github.com/ahmetb/kubectx

This are tools that help you on your daily basis tasks when you have multiple clusters to manage.

GCloud

https://cloud.google.com/sdk/docs/install

If you have MacOS and homebrew installed

brew install --cask google-cloud-sdk

Drivers, Start your engines

For this workshop, you will need a cluster to try what you will create.

We will give two options, being the minikube the one recommended.
You will have access to this (because it's running on your computer) after this workshop finishes.

Minikube (Recommended)

To start minikube with required addons for this workshop, use the following command

MacOS

minikube start --addons=ingress,ingress-dns --driver=hyperkit

Others

minikube start --addons=ingress,ingress-dns

Cluster on cloud provided by us

If you don't want to use minikube, we have a cluster running on GCloud that you can use.

export GOOGLE_APPLICATION_CREDENTIALS=aettua-workshop-key.json
export KUBECONFIG=kubeconfig.yaml
gcloud container clusters get-credentials workshop-cluster --zone europe-southwest1

Hands-on

First let's create a namespace for you to work, instead of use the default.

kubectl create namespace <some_name_without_spaces>

If you have installed kubens

kubens <some_name_without_spaces>

otherwise don't forget to prepend or append your kubectl commands with -n <some_name_without_spaces>

Let's play

git clone https://github.com/ydataai/kubernetes-workshop.git

Phase 1

git checkout phase-1

Check the readme https://github.com/ydataai/kubernetes-workshop/tree/phase-1 for the next instructions

Phase 2

git checkout phase-2

Check the readme https://github.com/ydataai/kubernetes-workshop/tree/phase-2 for the next instructions

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages