rbd-gateway

rbd-gateway组件说明

通向应用的全局网关,提供A/B测试、灰度发布等高级功能

运行方式

运行于Kubernetes集群内部,POD运行,由Kubernetes和Rainbond-Operator共同维护和管理

常用参数说明

kubectl edit rbdcomponents.rainbond.io rbd-gateway -n rbd-system

  1. spec:
  2. args:
  3. - --enable-kubeapi # 是否启用kube apiserver的负载平衡
  4. - --log-level debug # 日志级别
  5. - --etcd-endpoints= # etcd集群连接地址
  6. - --etcd-ca=/run/ssl/etcd/ca.pem # etcd证书
  7. - --etcd-cert=/run/ssl/etcd/server.pem
  8. - --etcd-key=/run/ssl/etcd/server-key.pem
  9. image: rbd-gateway:v5.6.0-release
  10. imagePullPolicy: IfNotPresent
  11. priorityComponent: true
  12. replicas: 2
  13. resources: {}
  14. volumeMounts:
  15. - mountPath: /run/ssl/etcd
  16. name: etcdssl
  17. volumes:
  18. - name: etcdssl
  19. secret:
  20. defaultMode: 420
  21. secretName: my-etcd