当前位置:网站首页>Install porterLB
Install porterLB
2022-08-03 18:09:00 【Mai Xiaoyu】
Install PorterLB on Kubernetes
This document describes how to use kubectl and Helm to install and delete PorterLB in a Kubernetes cluster.
NOTE
- In a Kubernetes cluster, you only need to install PorterLB once. After the installation is complete, a porter-manager Deployment that contains a porter-manager Pod is installed in the cluster. The porter-manager Pod implements the functionality of PorterLB for the entire Kubernetes cluster.
- After the installation is complete, you can scale the porter-manager Deployment and assign multiple PorterLB replicas (porter-manager Pods) to multiple cluster nodes to ensure high availability. For details, see Configure Multiple PorterLB Replicas.
Prerequisites
You need to prepare a Kubernetes cluster, and ensure that the Kubernetes version is 1.15 or later. PorterLB requires CustomResourceDefinition (CRD) v1, which is only supported by Kubernetes 1.15 or later. You can use the following methods to deploy a Kubernetes cluster:
- Use KubeKey (recommended). You can use KubeKey to deploy a Kubernetes cluster with or without KubeSphere.
- Follow official Kubernetes guides.
PorterLB is designed to be used in bare-metal Kubernetes environments. However, you can also use a cloud-based Kubernetes cluster for learning and testing.
If you use Helm to install porter, ensure that the Helm version is Helm 3.
Install PorterLB Using kubectl
Log in to the Kubernetes cluster over SSH and run the following command:
kubectl apply -f https://raw.githubusercontent.com/kubesphere/porter/master/deploy/porter.yaml
Run the following command to check whether the status of porter-manager is READY: 1/1 and STATUS: Running. If yes, PorterLB has been installed successfully.
kubectl get po -n porter-system

Delete PorterLB Using kubectl
To delete PorterLB, log in to the Kubernetes cluster and run the following command:
kubectl delete -f https://raw.githubusercontent.com/kubesphere/porter/master/deploy/porter.yaml
NOTE
Before deleting PorterLB, you must first delete all Services that use PorterLB.
Run the following command to check the result. If the porter-system namespace does not exist, PorterLB has been deleted successfully.
kubectl get ns

Install PorterLB Using Helm
Log in to the Kubernetes cluster over SSH and run the following commands:
helm repo add test https://charts.kubesphere.io/testhelm repo updatehelm install porter test/porter
Run the following command to check whether the status of porter-manager is READY: 1/1 and STATUS: Running. If yes, PorterLB has been installed successfully.
kubectl get po -A

Delete PorterLB Using Helm
To delete PorterLB, run the following command:
helm delete porter
NOTE
Before deleting PorterLB, you must first delete all Services that use PorterLB.
Run the following command to check the result. If the PorterLB application does not exist, PorterLB has been deleted successfully.
helm ls

Last modified March 31, 2021: Relocated files to adapt to localization and changed links. (6b5fcb1)
边栏推荐
- EasyNTS上云网关断电重启后设备离线是什么原因?
- 链表中倒数第k个结点
- Map和Set
- VsCode preview Geojson data
- LeetCode - 102. 二叉树的层序遍历;110. 平衡二叉树;098. 验证二叉搜索树
- Weekly recommended short video: In order to fill the gap of learning resources, the author specially wrote a book?
- 【刻意练习观后管】刻意练习
- CodeTON Round 2 (Div. 1 + Div. 2, Rated, Prizes!) A-E
- 从技术全景到场景实战,透析「窄带高清」的演进突破
- xxl-job 实现email发送警告的代码解析(一行一行代码解读)
猜你喜欢
随机推荐
B628芯片电路图,B628升压IC的PCB布局PCB
NLP的Taskflow API
flink-sql 客户端,咋回事 我show tables 报错
【白话模电2】二极管特性和分类
一加Ace值得买吗?用实力诠释性能的强大
ASA归因:如何评估关键词的投放价值
常见亲脂性细胞膜染料DiO, Dil, DiR, Did光谱图和实验操作流程
cell delay和net delay
超T动力 焕“芯”出发 | 中国重汽专属定制版WP14T产品闪耀登场
EasyNTS上云网关断电重启后设备离线是什么原因?
Atomic Wallet已支持TRC20-USDT
Crack:WebKitX ActiveX and WebKitX VHX
openresty 高可用部署
大佬们,flinkcdc 2.2 版本采集sqlserver只能采集到全量的数据,不能采集到增量的数
WebGL管网展示(及TubeGeometry优化)
mysql之数据库账户管理与优化
CC2530_ZigBee+HUAWEI CLOUD IOT: Design your own cold chain acquisition system
Gson 学习笔记
我们为何看好投资 DAO?
什么是鉴权?一篇文章带你了解postman的多种方式













