"No one is harder on a talented person than the person themselves" - Linda Wilkinson ; "Trust your guts and don't follow the herd" ; "Validate direction not destination" ;

February 06, 2020

Jargons - Docker - Kubernetes

I found this katacoda course practical useful for this basics
  • Containers - Linux Process
  • Docker - Type of container
  • Kubernetics - For orchestrating containers
  • Kuberflow - Deploy Machine Learning workloads using Kubeflow on Kubernetics
Kubernetes vs docker
  • A fundamental difference between Kubernetes and Docker is that Kubernetes is meant to run across a cluster while Docker runs on a single node. 
  • Kubernetes is more extensive than Docker Swarm and is meant to coordinate clusters of nodes at scale in production in an efficient manner
Ref - Link 

Ref - Link

The container lifecycle managed by docker includes :
๐—จ๐˜€๐—ฒ๐—ฟ --> ๐—ฑ๐—ผ๐—ฐ๐—ธ๐—ฒ๐—ฟ ๐—ฐ๐—บ๐—ฑ --> ๐—ฑ๐—ผ๐—ฐ๐—ธ๐—ฒ๐—ฟ ๐—ฑ๐—ฎ๐—ฒ๐—บ๐—ผ๐—ป --> ๐—ฟ๐˜‚๐—ป๐—ฐ --> ๐—–๐—ผ๐—ป๐˜๐—ฎ๐—ถ๐—ป๐—ฒ๐—ฟ๐˜€

Let's see the container lifecycle in k8s using docker-engine:
๐—ž๐˜‚๐—ฏ๐—ฒ๐—น๐—ฒ๐˜ --> ๐——๐—ผ๐—ฐ๐—ธ๐—ฒ๐—ฟ๐˜€๐—ต๐—ถ๐—บ --> ๐——๐—ผ๐—ฐ๐—ธ๐—ฒ๐—ฟ --> ๐—–๐—ผ๐—ป๐˜๐—ฎ๐—ถ๐—ป๐—ฒ๐—ฟ๐—ฑ --> ๐—–๐—ผ๐—ป๐˜๐—ฎ๐—ถ๐—ป๐—ฒ๐—ฟ๐˜€

The new Kubernetes containers lifecycle architecture includes :
๐—ž๐˜‚๐—ฏ๐—ฒ๐—น๐—ฒ๐˜ --> ๐—ฐ๐—ผ๐—ป๐˜๐—ฎ๐—ถ๐—ป๐—ฒ๐—ฟ๐—ฑ + ๐—–๐—ฅ๐—œ ๐—ฃ๐—น๐˜‚๐—ด๐—ถ๐—ป๐˜€ --> ๐—–๐—ผ๐—ป๐˜๐—ฎ๐—ถ๐—ป๐—ฒ๐—ฟ๐˜€



Containers Basics

Docker Questions & Answers
  • A new way to create things like virtual machines
  • Custom images based on other images, Lightweight images
  • Create things in a contained environment
Deployment Tips
  • Expose only required ports
  • Plan for App restart on crash
Docker Perspectives
  • With Docker, resources shared between containers
  • Infra that surrounds lxc
  • Resolve works on my machine problem, ease deployments, shuffle between systems
Happy Learning!!!

No comments: