How to make Kubernetes correctly (review and video of the report)

At the end of May, Flant participated in the DevOpsConf 2021 conference, which finally returned offline, albeit with some restrictions. I gave a talk on how to make Kubernetes so that everyone is happy: developers, engineers and business.





( ~40 , ) . !





15

, , Kubernetes .





  • 2006. OpenSolaris Zones. Linux-VServer Gentoo.





  • 2008. «», Linux’. , userspace — procfs v1. LXC, .





  • 2009. «» Python — jailer.





  • 2013. Open Source- — nginx_http_rdns. Docker.





  • 2014. Docker Production.





  • 2016. CI/CD- werf ( — dapp). Kubernetes, werf Docker-.





  • 2017. Kubernetes. Deckhouse — K8s.





  • 2018. 50 Kubernetes.





  • 2019. «» — Kubernetes. 100 . werf 1000 GitHub.





  • 2020. 150 Kubernetes. werf v1.0, 2000 .





  • 2021. shell-operator Kubernetes 1000 GitHub. grafana-statusmap — 6 . Okmeter. 120 .





, , Linux, , Kubernetes . , , . , , , Kubernetes — , .





Kubernetes

, 2021 , Kubernetes: , kubelet, … , Kubernetes .





, Kubernetes (Operations) (Development).





: Bash, Ansible, Puppet, Terraform . — , , .





, , . : . Operations Developers, - .





, DevOpsConf — Operations Developers. , , . : «» , . , .





: «»?





, .





  





, - ? « , , , ». Operations Developers , .





Kubernetes

Terraform, . Ansible , : Docker- Kubernetes. — , K8s. , .





, Kubernetes.





, Kubernetes' , Operations Developers.





, .





, — . , . , .





, Kubernetes’ , . , Kubernetes — :





  • backend — Deployment,





  • consumers — Deployment,





  • RabbitMQ StatefulSet’ Ingress’…





, .





«» Kubernetes

, , K8s, 75%.





, Kubernetes production, 50%.





  • Platform 9;





  • Datadog;





  • Portworx;





  • StackRox;





  • Container Journal;





  • Research and Markets;





  • Garden;





  • Gartner;





  • VMware;





  • Red Hat;





  • CNCF.





, Kubernetes . , Kubernetes production, , . , , — Gartner. , 2020 ( Kubernetes, ) 5% enterprise-. , 2024 15%.





, Kubernetes , . Kubernetes , , .





Kubernetes

, Kubernetes . , , , Kubernetes :





  1. : , , . .





  2. -: K8s — .





DevOps- Kubernetes Assembler C. ? , , «», , . «» .





: «» POSIX. , — hardware API. 





, Kubernetes . : - , . . pod’ Kubernetes .





, 10- , . , Linux — , , Assembler «». Kubernetes , . 





« Kubernetes?» « », , . Kubernetes . Kubernetes — . 





, , Kubernetes — : 





  • ;





  • , ;





  • , , ( , ).





Kubernetes

Team Topologies, — (flow of change): — , — , . stream-aligned teams ( ), , — .





DevOps- — (platform engineering product teams). — , .





:





  • Thinnest Viable Platform (« »). , .





  • Developer Experience (« »). , .





, — Kubernetes.





ThoughtWorks DevOps-. , 2021 .





, — . .





, , « Kubernetes». . 





DevOps- ( ). : , ( 2016 2019) DevOps- 70%; «», DevOps. «» :





, . 





: ?





, , , — — .





:





  1. .





  2. .





 (. Stack Overflow, Tripebyte, Udemy, , -.)





, . , NIH- (not invented here) — , .





« ?», , - — , . , .





Kubernetes.





Kubernetes —

, Kubernetes . — Docker, Pod’, Deployment, kubectl; — Ingress, Secrets, Jobs . . , 85% Kubernetes. , .





. , , StatefulSets, Helm- — «», senior-. 





. , Kubernetes, Service Discovery, Prometheus PromQL. - , , .





?





  • , 99% Kubernetes.





  • — … .





, Kubernetes KEP (Kubernetes Enhancement Proposal). , - Kubernetes, control-plane.





«» , ?





, Kubernetes — , , . Kubernetes: , .





… , Kubernetes , :





  • ;





  • — « » (, -, …).





?





, , , , Kubernetes — , .





?

.





  • . , , , , . . , , . .





  • . , . Cloud Native Landscape, . , . . Thinnest Viable Platform.





  • . Kubernetes . Managed Kubernetes cloud- AWS, Yandex.Cloud, Selectel. — OpenShift, Rancher Deckhouse «». managed K8s, ( bare metal ).





— , . K8s, CI/CD, (observability), service mesh.





: , ? : - . .





— developer experience

:





  1. . , (stream-aligned) , . 





  2. . .





  3. Research. , , .





  4. Guidance. , .





, , ; . .





, « Kubernetes». : « “” Kubernetes. ». Kubernetes — , .





, Deckhouse Kubernetes : CI/CD, observability, security service mesh. — . Telegram-.





(~48 ):





:





P.S.

:





  • « Kubernetes 1.16 1.19… »;





  • «werf — CI/CD Kubernetes» ( ; 27 2019 DevOpsConf);





  • « Kubernetes» ( ; 28 2018 RootConf);





  • « Kubernetes » ( ; 6 2017 RootConf).








All Articles