# README
服务部署配置管理
应用中间件
Resource
// 创建一个集群
- Name
- 环境()
- Privider (阿里云/腾讯云/华为云/IDC)
- Region
- 部署方式(虚拟机/容器) 虚拟机: 申请ECS 容器: 申请k8s集群与部署空间
部署状态更新
有k8s Operator 负责维护集群状态
# Functions
New 新建一个部署配置.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParseDESCRIBE_BYFromString Parse DESCRIBE_BY from string.
ParseSTAGEFromString Parse STAGE from string.
ParseTYPEFromString Parse TYPE from string.
No description provided by the author
# Constants
No description provided by the author
该注解标签 用于部署成功后 回调更新部署状态, 具体功能由operator实现.
No description provided by the author
部署ID.
部署的名称.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
k8s 部署时的标签.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
正常运行.
创建中, 创建时触发.
版本降级中, 回滚时触发.
异常运行.
准备中.
重启中, 版本和副本都没变化时触发.
降级规模, 副本缩减时触发.
升级规模, 副本增加时触发.
已停止, 副本数调整为0时触发.
版本升级中, 发布新版本时触发.
有风险,但是服务正常使用.
基于主机部署.
基于k8s部署.
# Variables
Enum value maps for DESCRIBE_BY.
Enum value maps for DESCRIBE_BY.
No description provided by the author
No description provided by the author
RPC_ServiceDesc is the grpc.ServiceDesc for RPC service.
Enum value maps for STAGE.
Enum value maps for STAGE.
Enum value maps for TYPE.
Enum value maps for TYPE.
# Structs
kubelet 为 Pod 添加环境变量 {SVCNAME}_SERVICE_HOST 和 {SVCNAME}_SERVICE_PORT。 这里 Service 的名称需大写,横线被转换成下划线。 具体请参考: https://kubernetes.io/zh-cn/docs/concepts/services-networking/service/#environment-variables.
No description provided by the author
No description provided by the author
部署需要动态注入的信息.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
HostTypeConfig 主机部署相关配置.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
K8sTypeConfig yaml文本格式的k8s部署相关配置文件.
No description provided by the author
No description provided by the author
部署状态.
UnimplementedRPCServer must be embedded to have forward compatible implementations.
No description provided by the author
No description provided by the author
# Interfaces
RPCClient is the client API for RPC service.
RPCServer is the server API for RPC service.
No description provided by the author
UnsafeRPCServer may be embedded to opt out of forward compatibility for this service.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author