10
Fault Tolerance with Kubernetes Aditya Patawari Consultant and Trainer for Docker, Ansible and DevOps Tools [email protected] adimania on freenode irc http://adityapatawari.com February 13, 2016 Aditya Patawari Fault Tolerance with Kubernetes

Fault Tolerance with Kubernetes

Embed Size (px)

Citation preview

Page 1: Fault Tolerance with Kubernetes

Fault Tolerance with Kubernetes

Aditya Patawari

Consultant and Trainer for Docker, Ansible and DevOps Tools

[email protected]

adimania on freenode irc

http://adityapatawari.com

February 13, 2016

Aditya Patawari Fault Tolerance with Kubernetes

Page 2: Fault Tolerance with Kubernetes

Topics

What is the problem?

Kubernetes Components

Pods

Replication Controller

Services and Endpoints

Aditya Patawari Fault Tolerance with Kubernetes

Page 3: Fault Tolerance with Kubernetes

What is the problem?

I want my service to run.

I don’t care how.

Aditya Patawari Fault Tolerance with Kubernetes

Page 4: Fault Tolerance with Kubernetes

Kubernetes Components

Pods.

Replication Controllers.

Services.

Endpoints.

Aditya Patawari Fault Tolerance with Kubernetes

Page 5: Fault Tolerance with Kubernetes

Pods

Smallest entity in Kubernetes world.

May consist of multiple containers.

Possible to mount external volumes.

Container to container network is transparent.

Aditya Patawari Fault Tolerance with Kubernetes

Page 6: Fault Tolerance with Kubernetes

Replication Controllers

Collection of pods.

More highly available.

Kind of full stack developer, but better

Aditya Patawari Fault Tolerance with Kubernetes

Page 7: Fault Tolerance with Kubernetes

Services and Endpoints

Middle man between two labeled entities

Facilitates the communication

Abstracts the traffic and provide routing

Aditya Patawari Fault Tolerance with Kubernetes

Page 8: Fault Tolerance with Kubernetes

Kubernetes Architecture

Aditya Patawari Fault Tolerance with Kubernetes

Page 9: Fault Tolerance with Kubernetes

Kubernetes

Demo time.

Aditya Patawari Fault Tolerance with Kubernetes

Page 10: Fault Tolerance with Kubernetes

Questions?

Name: Aditya Patawari

Twitter: https://twitter.com/adityapatawari

Email: [email protected]

Please download the setup instructions fromhttp://goo.gl/rgGsPB

Examples from the talk: https://goo.gl/XKyjcM

More complicated example with Webserver + Magento(PHP)+ Database : https://goo.gl/AupAaU

Aditya Patawari Fault Tolerance with Kubernetes