Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the function of Kubernetes1.5

2025-01-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article introduces the relevant knowledge of "what functions Kubernetes 1.5 has". In the operation process of actual cases, many people will encounter such difficulties. Next, let Xiaobian lead you to learn how to deal with these situations! I hope you can read carefully and learn something!

If you've been waiting to try running a distributed database in Kubernetes, or looking for a way to guarantee SLO (service level indicator) for application outages between stateful and stateless applications, Kubernetes version 1.5 has the solution you're looking for.

StatefulSet and PodDisruptionBudget are in beta. These features simplify deployment and scaling of stateful applications, and make cluster operations possible, such as node degradation without violating application interrupt SLO.

You'll also notice various usability improvements in this release, starting with the much-used kubectl command line. For those who find it difficult to configure a multi-cluster federation, there is now a new kubefed command to help you. Also, one of the most popular Master configuration scripts for configuring high availability across multiple availability zones has been added to kube-up.

For those interested in the Kubernetes kernel, 1.5 introduces the Container Runtime Interface, or CRI for short. It provides an internal interface that abstracts and separates the container runtime from kubelet. This decoupled runtime design gives users the freedom to choose the runtime that best meets their needs. At the same time, containerized node consistency test is introduced to verify whether the node software meets the minimum requirements for joining Kubernetes cluster.

latest features

StatefulSet beta (formerly PetSet) enables workloads that require consistent identifiers or persistent storage to be created, scaled, deleted, or repaired on Kubernetes. You can use StatefulSet to simplify the deployment of any stateful service. Tutorials and examples can be found in the repository. To ensure that an identifier is never used by two Pods at the same time, Kubernetes 'node controller no longer forcibly deletes a Pod on a non-responsive node, but instead waits for the old Pod to hang up in several ways: automatically when Kubelet reports and confirms that the old Pod has reached the end of its life; automatically when the cluster administrator deletes the node; or when the database administrator forcibly deletes the old Pod and confirms that it can continue. Users will now receive a warning if they try to forcibly delete a Pod from the command line. For those who want to migrate from PetSet to StatefulSet, follow the upgrade guide.

PodDisruptionBudget beta is an API object that specifies the minimum number or percentage of copies of a Pod collection that are running at any one time. With PodDisruptionBudget, application deployers can ensure that cluster operations that actively remove pods never drop too many pods at once, resulting in data loss, service disruption, or unacceptable service degradation. In Kubernetes 1.5, the kubectl drain command supports PodDisruptionBudget, which allows nodes to be pruned in a safe manner during maintenance operations. This feature will also soon be available for node upgrades and cluster autoscalers (when removing nodes). This is useful for quorum based applications to ensure that the number of copies running is never less than enough to satisfy quorum, or for a WEB frontend application to ensure that the number of copies serving the load is never less than a percentage.

Kubefed alpha is a new command-line tool to help manage federated clusters, making it easy to deploy the new federated dashboard to perform cluster add and cluster delete operations in cluster federations. Another update to the federation of clusters is the addition of ConfigMap beta, DaemonSet alpha, and deployments alpha to the federation API, which allows you to create, update, and delete objects across clusters from a single endpoint.

The alpha version of the highly available Master allows you to use kube-up/kube-down scripts on GCE to create or delete clusters with highly available (replicated) masters. Allows you to configure a high availability master distributed across availability zones, specify at least one etcd replica per availability zone, specify at least one API server per availability zone, and configure master-based components such as scheduler and controller-manager distributed across availability zones.

Windows Server Container alpha provides some initial support for Windows Server 2016 nodes and scheduling Windows Server Containers.

Container Runtime Interface (CRI) alpha introduces v1 version of CRI API to support pluggable container runtimes; a pilot docker-CRI integration is ready for testing and feedback.

Node conformance testing beta is a containerized testing framework that provides system validation and functional testing for nodes. This test verifies that the node meets the minimum requirements of Kubernetes; nodes that pass the test are considered eligible to join Kubernetes. Node consistency tests can be obtained at gcr.io/google_containers/node-test:0.2, so that users can verify their node settings.

acquisition methods

Kubernetes 1.5 is available for download on GitHub or via get.k8s.io. To get started with Kubernetes, try the latest interactive tutorials.

user employs

A year and a half has passed since GA was released, and Kubernetes user adoption continues to exceed expectations. Organizations running production workloads on Kubernetes already include the world's largest companies, young startups, and everything else in between. Because Kubernetes is open and can run anywhere, we've seen it used on a variety of platforms: Pokémon Go (Google Cloud), Ticketmaster (AWS), SAP (OpenStack), Box (Physical Machine), and hybrid environments that mix and match these environments. Here are some selected user examples:

Yahoo! JAPAN-built an automated tool chain to simplify the process from code commit to deployment while running OpenStack on Kubernetes.

Walmart-will use Kubernetes and OneOps to manage its powerful distribution centers to help team improve delivery speed, increase system uptime and optimize asset utilization.

Monzo, a European startup that is building a mobile-first bank, is using Kubernetes to support its core business platform that can handle extreme performance and consistency demands.

"Kubernetes 1.5 what features" content is introduced here, thank you for reading. If you want to know more about industry-related knowledge, you can pay attention to the website. Xiaobian will output more high-quality practical articles for everyone!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report