Project context
What is kubernetes ?
Architecture
Work units
Demo
Objenious, why to move Google Cloud Platform
Firsts components will be released in production in early january
I'll assume you already know the basics of Docker
Current version v1.4,
(1.5 planned by the end of the year)
Docker : A Container system which runs on a dedicated network
Kubelet : Is responsible for the communication with the master server
A colocated group of containers (one-to-many) with shared resources. e.g. network, volumes.
It can be viewed as a "logical host".
An interface to a group of containers, which acts as load-balancer and provides an abstraction layer - no need to worry about containers location.
Ensures that the number of desired pods "replicas" are running at any time.
Declarative way to describe the desired state of the application (pods, replica sets).
Configmaps, Secrets, HostPath, AWS EBS ...
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: nginx
labels:
k8s-app: nginx
kubernetes.io/cluster-service: "true"
spec:
replicas: 3
selector:
matchLabels:
k8s-app: nginx
template:
metadata:
labels:
k8s-app: nginx
kubernetes.io/cluster-service: "true"
spec:
containers:
- name: nginx
image: nginx
resources:
limits:
cpu: 100m
memory: 100Mi
ports:
- containerPort: 80
kubectl create -f nginx-rc.yaml
Kubernetes documentation :
http://kubernetes.io/v1.1/index.html
kubespray repositories :
Cloud Native Computing Paris meetup :
http://www.meetup.com/fr-FR/Cloud-Native-Computing-Paris/