Tell the history of Container/Docker/Kubernetes, and show the key elements of them.
After view this document, you could know the main feature of Container Docker and Kubernetes.
Very basic infomation about how these technique work together.
3. Container
What is Container?
• isolated
• include all required files
• portable
• lightweight VM
• share host kernel
referance: https://www.redhat.com/en/topics/containers/whats-a-linux-container
8. Container
Open Container Project(OCP)
• Open Container Initiative (OCI)
• the Runtime Specification (runtime-spec) and the Image Specification (image-spec)
CNI and CNM
• Docker vs CoreOS(Google)
referance:https://www.opencontainers.org/about
referance:https://thenewstack.io/container-networking-landscape-cni-
coreos-cnm-docker/
16. Docker--Pid 1 and Signal
referance: https://github.com/Yelp/dumb-init
17. Docker--Swarm
Docker Swarm
• simple to create
• limited ability(auto-scaling, cloud-integration,multi-user, log)
Full Production Environment Stack
• Nginx as Frontend load balancer and Service Router
• Consul+Consul-template to update Nginx config and reload Nginx
• registrator on every worker node
• logspout+ELK
• NFS as storage persistent solution
• cAdvisor+Node_exporter+Prometheus