本文档采用自动化机器翻译技术翻译。 尽管我们力求提供准确的译文,但不对翻译内容的完整性、准确性或可靠性作出任何保证。 若出现任何内容不一致情况,请以原始 英文 版本为准,且原始英文版本为权威文本。

集群管理

在Rancher中配置集群后,您可以开始使用强大的Kubernetes功能来部署和扩展您的容器化应用程序,无论是在开发、测试还是生产环境中。

本节假设读者对 Docker 和 Kubernetes 有基本的了解。有关 Kubernetes 组件如何协同工作的简要说明,请参阅概念 页面。

在Rancher中管理集群

在集群被配置到Rancher后,集群所有者需要对这些集群进行管理。管理集群有许多不同的选项。

Action Rancher Launched Kubernetes Clusters EKS, GKE and AKS Clusters1 Other Hosted Kubernetes Clusters Non-EKS or GKE Registered Clusters

Using kubectl and a kubeconfig file to Access a Cluster

Managing Cluster Members

Editing and Upgrading Clusters

2

Managing Nodes

3

Managing Persistent Volumes and Storage Classes

Managing Projects, Namespaces and Workloads

Using App Catalogs

Configuring Tools (Alerts, Notifiers, Monitoring, Logging, Istio)

Running Security Scans

Ability to rotate certificates

Ability to backup and restore Rancher-launched clusters

4

Cleaning Kubernetes components when clusters are no longer reachable from Rancher

  1. Registered EKS, GKE and AKS clusters have the same options available as EKS, GKE and AKS clusters created from the Rancher UI. The difference is that when a registered cluster is deleted from the Rancher UI, it is not destroyed.

  2. Cluster configuration options can’t be edited for registered clusters, except for K3s and RKE2 clusters.

  3. For registered cluster nodes, the Rancher UI exposes the ability to cordon, drain, and edit the node.

  4. For registered clusters using etcd as a control plane, snapshots must be taken manually outside of the Rancher UI to use for backup and recovery.

配置工具

Rancher包含多种不包含在Kubernetes中的工具,以协助您的DevOps操作。Rancher可以与外部服务集成,以帮助您的集群更高效地运行。工具分为以下几类:

  • 警报

  • 通知器

  • 日志记录

  • 监控

  • Istio服务网格

工具可以通过*APP*安装。