Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Kubernetes Demystified

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on. →

Kubernetes Demystified

“When you look into it, Kubernetes isn’t that complicated after all”

Wojtek Siudzinski

May 15, 2018

Transcript

23 slides
  1. WHAT IS KUBERNETES? “I NEED A CONTAINER RUNNING NGINX” Pick

    feasible nodes Update their desired state Get the current state
  2. WHAT IS KUBERNETES? “I NEED A CONTAINER RUNNING NGINX” Pick

    feasible nodes Update their desired state Get the current state
  3. HOW DO I SET THE DESIRED STATE? apiVersion: v1 kind:

    Pod metadata: name: nginx spec: containers: - name: nginx image: nginx:1.7.9 ports: - containerPort: 80
  4. WHAT IS KUBERNETES? “I NEED A CONTAINER RUNNING NGINX” Pick

    feasible nodes Update their desired state Get the current state
  5. WHAT IS KUBERNETES? “I NEED A CONTAINER RUNNING NGINX” Pick

    feasible nodes Update their desired state Get the current state
  6. ETCD Distributed key/value store Like a directory tree (/etc) JSON/REST

    API Uses a Discovery URL Needs at least 3 nodes for consensus
  7. WHAT IS KUBERNETES? “I NEED A CONTAINER RUNNING NGINX” Pick

    feasible nodes Update their desired state Get the current state
  8. WHAT IS KUBERNETES? “I NEED A CONTAINER RUNNING NGINX” Pick

    feasible nodes Update their desired state Get the current state

More Decks by Wojtek Siudzinski

Other Decks in Programming