|
|
(112 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| =Introduction=
| |
| =Containers=
| |
| This all started with VMWare where the total resource could be divided up to run more than one application on difference virtual machines. But VMWare required an OS on every machine and licenses in the case of Windows. They also needed managing, e.g. patching, Anti-virus and patching. Along came containers which shared the OS.
| |
| <br>
| |
| [[File:Containers Overview.png|500px]]
| |
| <br>
| |
|
| |
|
| =Docker=
| |
| Docker Inc. Docker is a company which gave the word technology for containers. They are now a company which provides services around the company.
| |
| <br>
| |
| <br>
| |
| Docker is Open source and known as Community Edition (CE). The company Docker releases an Enterprise Edition (EE).
| |
| <br>
| |
| The general approach is to
| |
| *Create an image (docker build)
| |
| *Store it in a registry (docker image push)
| |
| *Start a container from it (docker container run)
| |
| The differences between EE and CE are shown below
| |
| [[File:Docker Diffs.png|500px]]
| |
|
| |
| =Kubernetes=
| |
| Kubernetes came out of Google and Open Source. Greek for helmsman or k8s (Kates). Kubernetes is an orchestrator and can schedule, scale and update containers. There are alternatives like Docker Swarm
| |
| <br>
| |
| [[File:Kubernetes.png|500px]]
| |
| ==Architecture==
| |
| ===Overview===
| |
| Apps are put in a container, wrapped in a pod and deployment details. They are provisioned on a Node inside a K8s Clustoer<br>
| |
| [[File:K8 Arch.png|600px]]
| |
| ===Master===
| |
| In general these are a hosted services on the cloud but you can run them locally on a linux box.
| |
| *This is the front-end to the control plane
| |
| *It exposes a RESTFul API consuming JSON and Yaml
| |
| *We send manifests describing our apps to this
| |
| <br>
| |
| [[File:K8 Master.png|400px]]
| |