# Architecture

## Architecture

:thumbsup:[K8s Networking model](https://sookocheff.com/post/kubernetes/understanding-kubernetes-networking-model/):thumbsup:

tryk8s.com

![](https://415484505-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LxtoAXZwwOc4XGto8vb%2F-MRWPob8H_LnBD-XxZmP%2F-MRWR-pPWu1XEdDCs7Z_%2Fkuber_architecture.png?alt=media\&token=bcf3c528-5484-4835-9539-4d3ec5ff0cb8)

Kubelet - agent which monitors pods

![](https://415484505-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LxtoAXZwwOc4XGto8vb%2F-MR_lMWAaTFUkDvJwouV%2F-MR_okqPHDb2OoIFRh01%2Farch-ingress-pvc.png?alt=media\&token=a4f21a97-2d13-4221-a2f1-b5cdcec6be44)

* POD - set of containers
  * has IP address
  * has persistent storage volumes
* Deployment (rolled out with K8s)
* Service&#x20;
  * make deployments available from outside by single IP/port
  * Using round robin fashion using LB
* Ingress
  * publish easy external access to services
* Persistent volumes
  * persistent (networked) storage that can be mounted within a container by using Persistent Volume Claim

![](https://415484505-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LxtoAXZwwOc4XGto8vb%2F-M5wBVJXlqZTJOaQGQTg%2F-M5wBlrci3XZLamZ3a64%2Fk8s%20pod%20properties.png?alt=media\&token=06c71e27-8928-4e17-9910-519f811c0ddb)

* each `pod` has a unique IP address
* `pod`  may contain several containers

![](https://415484505-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LxtoAXZwwOc4XGto8vb%2F-M5wBVJXlqZTJOaQGQTg%2F-M5wFlVqeHCS4omFAmPQ%2Fk8s%20service.png?alt=media\&token=fe5fe905-7cae-4481-9556-6e6dd7cb39cd)

![](https://415484505-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LxtoAXZwwOc4XGto8vb%2F-M5wBVJXlqZTJOaQGQTg%2F-M5wGDU1A7iAJcy3Z9EF%2Fk8s%20service%20labels.png?alt=media\&token=365e20bc-51f0-4a6b-8574-ca09831cfdbc)

##
