nexus3 安装helm
介绍 (Introduction)
Helm is a package manager for Kubernetes that allows developers and operators to more easily configure and deploy applications on Kubernetes clusters.
Helm是Kubernetes的软件包管理器,使开发人员和操作员可以更轻松地在Kubernetes集群上配置和部署应用程序。
In this tutorial, you will set up Helm 3 and use it to install, reconfigure, rollback, and delete an instance of the Kubernetes Dashboard application. The dashboard is an official web-based Kubernetes GUI.
在本教程中,您将设置Helm 3并将其用于安装,重新配置,回滚和删除Kubernetes Dashboard应用程序的实例。 该仪表板是基于Web的官方Kubernetes GUI。
For a conceptual overview of Helm and its packaging ecosystem, please read our article, An Introduction to Helm.
有关Helm及其包装生态系统的概念性概述,请阅读我们的文章Helm简介 。
先决条件 (Prerequisites)
For this tutorial you will need:
对于本教程,您将需要:
A Kubernetes cluster with role-based access control (RBAC) enabled. Helm 3.1 supports clusters from versions 1.14 to 1.17. For further information check the Helm releases page.
启用了基于角色的访问控制(RBAC)的Kubernetes集群。 Helm 3.1支持从版本1.14到1.17的群集。 有关更多信息,请查看“ Helm版本”页面。
The
kubectl
command-line tool installed on your local machine, configured to connect to your cluster. You can read more about installingkubectl
in the official documentation.安装在本地计算机上的
kubectl
命令行工具,配置为连接到集群。 您可以在官方文档中阅读有关安装kubectl
更多信息。You can test your connectivity with the following command:
您可以使用以下命令测试连接性:
- kubectl cluster-info kubectl集群信息
If you see no errors, you’re connected to the cluster. If you access multiple clusters with
kubectl
, be sure to verify that you’ve selected the correct cluster context:如果没有看到错误,则说明您已连接到集群。 如果您使用
kubectl
访问多个集群,kubectl
确保验证您选择了正确的集群上下文:- kubectl config get-contexts kubectl配置获取上下文
OutputCURRENT NAME CLUSTER AUTHINFO NAMESPACE * do-fra1-helm3-example do-fra1-helm3-example do-fra1-helm3-example-adminIn this example the asterisk (
*
) indicates that we are connected to thedo-fra1-helm3-example
cluster. To switch clusters run:在此示例中,星号(
*
)表示我们已连接到do-fra1-helm3-example
集群。 要切换集群,请运行:- kubectl config use-context context-name kubectl配置使用上下文上下文名称
When you are connected to the correct cluster, continue to Step 1 to begin