Skip to content

bretmcg/kubernetes-workshop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kubernetes workshop

In this workshop you will learn how to:

Kubernetes Version: 1.2.2

Workshop setup

Google Cloud Platform account setup

  1. Navigate to https://console.cloud.google.com and login with your credentials.
  2. Select your project from the project listing.
  3. Navigate (using the menu or the search bar) to Compute Engine.
  4. Enable Compute Engine (this may take a few minutes).
  5. Click the following button to activate Cloud Shell, which is your "command line in the cloud" and will be used complete the labs. Cloud Shell Icon

Provision Kubernetes using Google Container Engine (GKE)

Kubernetes can be configured with many options and add-ons, but can be time consuming to bootstrap from the ground up. In this section you will bootstrap Kubernetes using Google Container Engine (GKE).

In your Cloud Shell terminal, issue the following commands (feel free to change the zone or cluster name):

gcloud config set compute/zone europe-west1-b
gcloud container clusters create myk8scluster --num-nodes 7

Clone repository

In your Cloud Shell environment clone the following repository.

git clone https://github.com/bretmcg/kubernetes-workshop.git
cd kubernetes-workshop/kubernetes

Labs

Kubernetes is all about applications and in this section you will utilize the Kubernetes API to deploy, manage, and upgrade applications. In this part of the workshop you will use an example application called "app" to complete the labs.

  1. Containerizing your application
  2. Creating and managing pods
  3. Monitoring and health checks
  4. Managing application configurations and secrets
  5. Creating and managing services
  6. Creating and managing deployments
  7. Rolling out updates

Lab Docker images

App is hosted on GitHub and provides an example 12 Facter application. During this workshop you will be working with the following Docker images:

Links

About

Craft Kubernetes Workshop

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%