Why k8s (strengths and weaknesses)

k8s container is an open source cluster management system that can achieve a container cluster deployment automation, automatic scaling capacity, maintenance and other functions.

1, failover: When a node shuts down or hang a node, the service on node node will be automatically transferred to another node node, this process all services without interruption. This is a docker or ordinary cloud host is unable to do

2, resource scheduling: When the node node cpu, memory is not enough, you can expand the node node, the new pod kube-schedule will be scheduled on a new expanded node node

3, resource isolation: to create development, operation and maintenance, testing three namespaces, after switching context, developers can only see all pod development namespace, see the operation and maintenance of the namespace pod, so as not to cause impact, non-interfering

     The traditional host or only docker environment, log into'll see all the services or containers

4, because the use of docker container simultaneously and process,

5, security: Different roles have different permissions to view the pod, pod delete and other operations; RBAC authentication increases the security of k8s

 Quickly and accurately deploy applications

  • The amount is only limited by the hardware resources required

Kubernetes advantage

  •   Removable: public cloud, private cloud, hybrid cloud, cloud polymorphism
  •   Scalable: modular, plug-in, then it can mount, may be combined
  •   Self-healing: automatic deployment, automatic restart, automatic replication, automatic retractable

Load Balancing

    k8s faster to update the new version, packaged applications, update time can be done without interrupting service, server failures without downtime, from a development environment to a test environment to a production environment is extremely easy to migrate, to get a configuration file, once generated image, run everywhere. . .

 

Author: Thyme QQ: 2583330305

Guess you like

Origin www.cnblogs.com/cnblx/p/11653152.html