Kubernetes 和 Istio
With the continuous penetration of the concept of microservices, more and more companies and developers are trying to turn the previous monolithic services to microservice architecture. Container
The emergence of container technology has greatly accelerated this process. Containers and microservices are simply a perfect combination. ,match made in heaven. Because it effectively solves the problem of N
rapid delivery and rapid deployment of multiple services.
However, with the increasing number of services, many companies can hope to combine related services 聚合
for efficient deployment and management, so the 服务编排
concept appears later . Among the many 服务编排
tools, Kubernetes
take it in Google的沉淀
and 先进的思想
turned out to dominate the container field layout, a lot of people are directly look silly .... As a result, a group of start-up companies specialized in Kuberntes
management projects, and even domestic leaders Rancher
also updated the 2.0
version, focusing on Kubernetes
management and upper-level services. Because I really can't do it, in Da Liu's words, this is it 降维打击
.
Later, again with the breakdown service module, increasing the number of services, operation and maintenance services is bound to become a problem to be solved, then Istio
appeared, with Goole
and IBM
the manufacturers Buff
, the service sector has become a shining star of governance , Itsio
Based on the idea of separating the data plane and the control plane, allowing effective management of service control strategies.
Architecture development | solved problem |
---|---|
Microservice | Solve the problem of high cohesion and bloated service |
Container |
Solve the problems of unification, delivery and deployment of the operating environment |
Kubernetes |
Solve the problem of effective "aggregation" and deployment between services |
Istio |
Solve a series of governance problems faced by service launches |
Kubernetes and Docker do private cloud
2018
When I was 20 years old, I felt that using the principle of Kuberntes
thinking and adding Docker
, I felt that it shouldn't be a problem at all to be a private cloud, or even a public cloud. This idea has been confirmed today.
Kubernetes
thought
- Immutable infrastructure Take
advantageDocker
of the immutability of mirroring; if the container is abnormal, it is no longer like traditionalssh
debugging, but directlykill
drop the current container and restart! - Infrastructure is code.
Management infrastructure is like managing code. Every infrastructure is descriptive; for exampleKubernetes
, thenode、service
concept of "in". - Programmable infrastructure is
oriented toKubernetes
programming andAPI
managesKubernetes
the resources in a call mode .
Docker
in principle
Build once, Run anywhere
Build once, run anywhereAll in one
Acontainer
run only one application- Application-centric
management of the application life cycle elegantly - Hierarchical governance
Fromiaas
-->paas
-->saas
, hierarchical governance, each layer calls each other through interfaces without intruding each other
Speaking of playing these, is it really so smooth sailing, no problem? No, I think Kubernetes
there is another problem to be solved on the above-troubleshooting.
Now the threshold for troubleshooting will be relatively high, and it is not yet simple and easy to use!