This repository contains various modules that can be combined to create Kubernetes workshops of various lengths and focus. Each directory is a module and contains a README.md that walks through the module and gopresents slides that accompany the module. If code, configuration, or scrips are needed, it is included and tested.
This is not an official Google product.
| Name | Level | Time Estimate | Completion Status |
|---|---|---|---|
| Quickstart | Beginner | 1 hour | Draft |
| Cluster Bring Up | Beginner | 1 hour | Draft |
| Core Kubernetes Concepts | Beginner | 4 hours | Draft |
| Storing State | Intermediate | 2 hours | Not Started |
| Dockerize an App | Intermediate | 2 hours | Not Started |
| Advanced Concepts | Intermediate | 2 hours | Not Started |
| Networking | Intermediate | 2 hours | Not Started |
| Troubleshooting | Intermediate | 2 hours | Not Started |
| Putting it all together | Advanced | 2 hours | Not Started |
Status: Not Started --> In Progress --> Draft --> Ready
This is incomplete. These are just brainstorming / rough notes.
- Quick
- Not complex, uses
kubectl run,kubectl expose. - Demonstrates the ease of using Kubernetes without learning all the concepts and config files up front.
- Uses the open source kubernetes release with
cluster/kube-up.shfor cloud bringup - Option for local docker
- Introduce one concept at a time, and then use that concept
- Order: pod, service, rc, deployment
- go over a declarative pod representation of quickstart app
- contains 1 pod
- logs, exec, port forwarding
- introduce service
- overview pods, labels, selectors, and services
- change pod to RC
- discuss RC
- scale pod up
- introduce deployments
- move everything under a deplyoment
- update to new versions of our app, quick rolling update
- lightweight here - more detail in "Advanced" module
- Deploy an app with MySQL
- multiple iterations where to store the data, how it goes away
- start with host voulme, end at persistant disk
- More of a lecture module, slides discuss state in greater length
- Start with an app
- Write the Dockerfile
- build
- push to registry
-
Lecture
- App/container patterns http://blog.kubernetes.io/2015/06/the-distributed-system-toolkit-patterns.html
- mapping non-containerized apps
-
Hands on:
- A/B deployment
- Canary patterns
- Rolling Deployments
- Autoscaling
-
More of a lecture module, slides discuss networking in greater length
-
Types of external services VIP/nodeport, run service with each and see how we get into the cluister
-
discuss subnets, explore on running nodes
-
How K8s networking works
-
Setting up an external load balancer - Nginx
-
Ideas on how to plug into your environment
- Logging & monitoring
- Troubleshooting / Debugging
-
deploy a production ready app
-
Use all the above
-
Build up a significant realistic app
-
( not so much lecture, just deploy all this stuff: )
-
web frontends, caching, backend jobs, datastore, load testing
-
Logging & monitoring
-
Troubleshooting
-
Autoscaling
- See CONTRIBUTING.md
- See LICENSE