Click here to load reader
Upload
franco-ariel-salonia
View
191
Download
1
Embed Size (px)
Citation preview
Kubernetes“Deploying the cool way”
Bazán, Jonathan MaximilianoMentasti, Lisandro JoaquínSalonia, Franco Ariel
about.us()
Kubernetes in a nutshell
Kubernetes is an open-source system for automatingdeployment, operations, and scaling of containerizedapplications.
Knowing kubernetes concepts
Pod: a group of containers, tied together for the purposes ofadministration and networking. It can contain a single container ormultiple. Eg: Content syncer & web server
Image: Each container in a pod has its own image. Currently, the only typeof image supported is a Docker Image.
Replication controller: ensures that a specified number of pod “replicas”are running at any one time. In other words, a replication controller makessure that a pod or homogeneous set of pods are always up and available.
Service: an abstraction which defines a logical set of Pods and a policy bywhich to access them.
Run kubernetes master
Why should I use kubernetes?
Automatic binpacking
Horizontal scaling
Automated rollouts and rollbacks
Storage orchestration
Self-healing
Service Discovery and load balancing
How to check my component’s behavior
Hot deploy implementation example10
Corporative registryMy docker registry
“Java Server” Image
Replicas: 2
Version: 0.0.1
Dev environment
Kubernetes master
• Step 1: import image and scale-down replicas• Step 2: change version (rolling-update)• Step 3: scale-up replicas
1
0.0.2
0.0.1 0.0.10.0.2nothing 0.0.2nothing
Less words.. More demo!