Files
cloudpods/docs/loadbalancer/loadbalanceragent-deploy.yaml
2019-07-26 03:13:44 +00:00

33 lines
1.3 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
post:
summary: 部署和更新转发实例上的守护程序
description: |
部署前需要先准备好keystone账号用于lbagent程序访问api服务同步配置信息
keystone账号通过host.vars指定描述如下
- `user`, 用户名
- `pass`,密码
- `proj`,项目名,一般情况下该值应当为`system`
当`deploy_method`为`yum`时需要同时指定yum源相关的变量
- `repo_base_url`,一般情况下该值应当为`https://controller-host-ip/yumrepo`
- `repo_sslverify`默认为0表示访问仓库时不校验tls证书
若`repo_base_url`使用https且使用自签名证书时一般应当关闭tls证书校验
该操作依赖ansibleserver执行具体的部署任务。对应的ansibleplaybook任务id记录在deployment.ansibleplaybook可通过这个ID获得部署执行的结果
parameters:
- $ref: "../parameters/loadbalancer.yaml#/loadbalancerAgentId"
- name: params
in: body
schema:
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerAgentDeployRequest"
responses:
200:
description: 变更后的转发实例信息
schema:
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerAgentResponse"
tags:
- loadbalanceragents