Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
Initial Commit for Learning Paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Malkie committed Jan 15, 2018
1 parent 083c56e commit 94e7d55
Show file tree
Hide file tree
Showing 224 changed files with 196 additions and 158 deletions.
3 changes: 3 additions & 0 deletions prereqs.adoc → 01-path-basics/101-start-here/readme.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
= Kubernetes Workshop Prereqs
:toc:
:icons:
:linkcss:
:imagesdir: ../resources/images

Here are the pre-requisites for the link:readme.adoc[Kubernetes on AWS workshop]:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
= Create A Kubernetes Cluster Using kops
:toc:
:icons:
:linkcss:
:imagesdir: ../resources/images

This tutorial will walk you through how to install a Kubernetes cluster on AWS using kops.

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
= Kubernetes Developer Concepts
:toc:
:imagesdir: ../images
:icons:
:linkcss:
:imagesdir: ../resources/images

Kubernetes has a number of abstractions that map to API objects. These Kubernetes API Objects can be used to describe your cluster's desired state which will include info such as applications and workloads running, replicas, container images, networking resources and more. This section explains the key concepts relevant from an application developer perspecitve.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: nginx-deployment
spec:
replicas: 3
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.12.1
ports:
- containerPort: 80
- containerPort: 443
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: nginx-deployment
spec:
replicas: 3
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.12.1
ports:
- containerPort: 80
- containerPort: 443
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: echo-deployment
spec:
replicas: 3
template:
metadata:
labels:
app: echo-pod
spec:
containers:
- name: echoheaders
image: gcr.io/google_containers/echoserver:1.4
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8080
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: echo-deployment
spec:
replicas: 3
template:
metadata:
labels:
app: echo-pod
spec:
containers:
- name: echoheaders
image: gcr.io/google_containers/echoserver:1.4
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8080
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: echo-deployment
spec:
replicas: 3
template:
metadata:
labels:
app: echo-pod
spec:
containers:
- name: echoheaders
image: gcr.io/google_containers/echoserver:1.4
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8080
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: echo-deployment
spec:
replicas: 3
template:
metadata:
labels:
app: echo-pod
spec:
containers:
- name: echoheaders
image: gcr.io/google_containers/echoserver:1.4
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8080
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
apiVersion: extensions/v1beta1
kind: ReplicaSet
metadata:
name: nginx-replicaset
spec:
replicas: 3
template:
metadata:
labels:
name: nginx-replica
spec:
containers:
- name: nginx-replica
image: nginx:1.12.1
imagePullPolicy: IfNotPresent
ports:
- containerPort: 80
- containerPort: 443
apiVersion: extensions/v1beta1
kind: ReplicaSet
metadata:
name: nginx-replicaset
spec:
replicas: 3
template:
metadata:
labels:
name: nginx-replica
spec:
containers:
- name: nginx-replica
image: nginx:1.12.1
imagePullPolicy: IfNotPresent
ports:
- containerPort: 80
- containerPort: 443
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
apiVersion: v1
kind: Service
metadata:
name: echo-service
spec:
selector:
app: echo-pod
ports:
- name: http
protocol: TCP
port: 80
targetPort: 8080
apiVersion: v1
kind: Service
metadata:
name: echo-service
spec:
selector:
app: echo-pod
ports:
- name: http
protocol: TCP
port: 80
targetPort: 8080
type: LoadBalancer
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
:toc:
:icons:
:linkcss:
:imagesdir: ../images
:imagesdir: ../resources/images

== Introduction

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
:toc:
:icons:
:linkcss:
:imagesdir: ../images
:imagesdir: ../resources/images

In this section, we will demonstrate how to integrate service mesh components with a Kubernetes cluster.
Service mesh is a layer that manages communication between microservices and it is becoming
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
= Upgrading Kubernetes cluster
:toc:
:icons:
:linkcss:
:imagesdir: ../resources/images

Upgrading Kubernetes cluster on AWS is easy with kops. In this exercise we will demonstrate upgrading
Kubernetes cluster using two methods.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
:toc:
:icons:
:linkcss:
:imagesdir: ../images
:imagesdir: ../resources/images

There are many options for aggregating and streaming kubernetes logs. In this part of the workshop, we are going to focus on an AWS based deployment which consists of the following:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
= Kubernetes Cluster Auto-scaling
:toc:
:imagesdir: ../images

:icons:
:linkcss:
:imagesdir: ../resources/images
This tutorial will walk you through how to setup cluster scaling using `cluster-autoscaler` to enable worker node autoscaling based on multiple metrics within Kubernetes.

== Prerequisites
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
= Create Kubernetes cluster using CloudFormation and Terraform
:toc:
:icons:
:linkcss:
:imagesdir: ../resources/images

This chapter explains how to create a Kubernetes cluster using CloudFormation and Terraform.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
= Setup kubernetes cluster federation on AWS
:toc:
:icons:
:linkcss:
:imagesdir: ../resources/images

There are many use cases for configuring k8s cluster federation. Most important is high availability
across AWS regions (also same regions) but this approach can also be applied to hybrid use cases. In this exercise,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
= Kubernetes - Setup Local Development Environment
:toc:
:icons:
:linkcss:
:imagesdir: ../images
:toc:
:imagesdir: ../resources/images

For local development purposes, you can create a one-node cluster using https://github.com/kubernetes/minikube[Minikube].
Hosted solutions or cloud-based solutions provide the scalability and higher availability for staging or production purposes.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
= Service Discovery for Microservices with Kubernetes
:toc:
:icons:
:linkcss:
:imagesdir: ../images
:toc:
:imagesdir: ../resources/images

This chapter shows an example of how different microservices within an application can use service discovery to locate each other in the infrastructure rather than via hardcoded IP addresses.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
:toc:
:icons:
:linkcss:
:imagesdir: ../images
:imagesdir: ../resources/images

This chapter explains how an application deployed in a Kubernetes cluster can be updated using link:../developer-concepts#deployment[Deployment]. It also explains Canary Deployment of an application.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
:toc:
:icons:
:linkcss:
:imagesdir: ../images
:imagesdir: ../resources/images

https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/[Horizontal Pod Autoscaling] (HPA) is a Kubernetes feature to dynamically increase/decrease the number of pod replicas based on resource utilization metrics.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
= Application tracing
:toc:
:icons:
:linkcss:
:imagesdir: ../images
:imagesdir: ../resources/images

This section will explain how to perform distribute tracing on applications deployed on Kubernetes.

Expand Down
Loading

0 comments on commit 94e7d55

Please sign in to comment.