当前位置:网站首页>Application choreography nomad vs. kubernetes

Application choreography nomad vs. kubernetes

2022-06-11 13:18:00 Hua Weiyun

One contrast

Kubernetes It's a container arrangement system , By the first Google Design , Now by Cloud Native Computing Foundation(CNCF) management , from Google、Red Hat And many other companies .Kubernetes and Nomad Support similar application deployment and management core use cases , But they differ in several key ways .Kubernetes The goal of the is to provide an operation based on Linux All the functions required by the container's application , Including cluster management 、 Dispatch 、 Service discovery 、 monitor 、 Confidentiality management, etc .Nomad Only focus on cluster management and scheduling , Its design follows Unix Idea , That is, it has a small range , Also use services such as service discovery Consult/service mesh And secret management Vault Tools such as .
Nomad And Kubernetes The main differences are as follows :

Two Simple

Kubernetes It is designed as a collection of more than six interoperable services , Together, these services provide complete functionality . Coordination and storage by etcd Provide... At the core . State by API Controller packaging , These controllers are used by other services , These services provide higher-level services for scheduling and other functions API.Kubernetes Support for running in highly available configurations , But setting up is complicated .
Nomad The architecture is much simpler .Nomad Is a single binary file for both client and server , No external services are required for coordination or storage .Nomad Combine lightweight resource managers and complex schedulers into one system . By default ,Nomad It's distributed 、 Highly available , And it's easy to operate .

3、 ... and Flexible workload support

Kubernetes Focus on Linux Containers , and Nomad More general .Nomad Support virtualization 、 Containerized and standalone applications , Include Docker、Java、Windows Upper IIS、Qemu etc. .Nomad Designed extensible driver , Support will be extended to all common drivers .

Four Consistent deployment

Complete... In a production environment Kubernetes Installation time 、 Operations are complex and resource intensive .Kubernetes The community has created more and more implementations to mitigate these challenges , Such as minikube、kubeadm、k3s etc. .Kubernetes These pruned versions of provide easier adoption for development and testing , However, when entering production, it will lead to function 、 Inconsistencies in configuration and management .
And Kubernetes The fragmented distribution of is different ,Nomad As a lightweight binary file , Can be deployed in a consistent manner to develop locally 、 production 、 On-line 、 Edge and cloud , And provide the same ease of operation in all environments .

5、 ... and Extensibility

Kubernetes The document states , They support up to 5,000 Nodes and 300,000 A cluster of containers . As the environment grows , Interoperable components with different constraints increase the complexity of operations . Even Google's operators have revealed the major challenges of large-scale management systems . The immaturity of the Federation project and the additional overhead of managing the centralized management plane also make it difficult to deploy distributed systems across multiple clusters .
Nomad It has been proved that it can be extended to more than 10,000 Cluster size of nodes . It can be deployed in multiple availability areas 、 Regions and data centers with a single cluster or multiple clusters .Nomad Designed to handle multi cluster deployments locally , Without the overhead of running the cluster on the cluster . This makes it possible to span multiple data centers 、 Regional and cloud extension applications become easier to deploy , And there is no additional complexity .
Nomad Hard benchmarking in terms of scalability ,2016 Years have 100 Ten thousand containers challenge ,2020 Years have 200 Ten thousand containers challenge . These tests are intended to verify Nomad Architecture design , And ensure Nomad Execute under the most extreme demands .

原网站

版权声明
本文为[Hua Weiyun]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/162/202206111312171480.html