cloud-controller-manager

module
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2020 License: Apache-2.0

README

Kubernetes Cloud Controller Manager for CDS

cds-cloud-controller-manager 用于首云k8s集群的云控制器管理器

cloud-controller-manager 部署说明

参数说明

字段 可选值 描述
metadata.annotations:
service.beta.kubernetes.io/cds-load-balancer-protocol
http | tcp 创建的 LoadBalancer 网络协议,仅支持 http 和 tcp
metadata.annotations:
service.beta.kubernetes.io/cds-load-balancer-size
large | normal | medium | small LoadBalancer 规格说明如下:
large - 8核16G
normal - 4核8G
medium - 2核4G
small - 1核2G
metadata.annotations:
service.beta.kubernetes.io/cds-load-balancer-max-connection
20000 LoadBalancer 连接数设定:
large 最大支持 500000
normal 最大支持 300000
medium 最大支持 150000
small 最大支持 50000
spec.ports.protocol TCP 目前仅支持 TCP

使用示例

service.yaml

kind: Service
apiVersion: v1
metadata:
  name: lb-tcp
  nameSpace: default 
  annotations:
    service.beta.kubernetes.io/cds-load-balancer-protocol: http | tcp
    service.beta.kubernetes.io/cds-load-balancer-size: exlarge | large | normal | medium | small
    service.beta.kubernetes.io/cds-load-balancer-max-connection: 20000 
spec:
  type: LoadBalancer
  selector:
    app: ccm-nginx-example
  ports:
  - name: ccm-tcp
    protocol: TCP
    port: 80
    targetPort: 80

LoadBalancer 名字与 service 名字对应关系说明

serviceName + serviceUid 做为 LoadBalancer 的名字

如上例 service.yaml 对应的 LoadBalancer 名字为: lb-tcp-58d0d5e2

Directories

Path Synopsis
pkg
ccm

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL