Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.32 KB

deployment.md

File metadata and controls

41 lines (29 loc) · 1.32 KB

部署指南

安装

可通过下述两种方式中任意一种进行安装:

  • 通过配置文件安装
  • 通过helm安装

配置文件安装

kubectl apply -f https://raw.githubusercontent.com/bfenetworks/ingress-bfe/develop/examples/controller-all.yaml

Helm安装

helm upgrade --install bfe-ingress-controller bfe-ingress-controller --repo https://bfenetworks.github.io/ingress-bfe  --namespace ingress-bfe --create-namespace
  • 要求helm3

测试

  • 创建测试服务whoami
kubectl apply -f https://raw.githubusercontent.com/bfenetworks/ingress-bfe/develop/examples/whoami.yaml
  • 创建k8s Ingress资源,验证消息路由
kubectl apply -f https://raw.githubusercontent.com/bfenetworks/ingress-bfe/develop/examples/ingress.yaml  
  • 创建k8s Ingress资源,验证消息路由 (kubernetes version >=1.19)
kubectl apply -f https://raw.githubusercontent.com/bfenetworks/ingress-bfe/develop/examples/ingress-v1.19.yaml