从实时cloudfoundry安装生成配置清单的简单实用程序
cf-configuration-exporter的Python项目详细描述
#cf configuration exporter
`cf configuration exporter`是一个简单的实用程序,其目的是从CloudFoundry的实际安装中生成
配置清单。
该实用程序应与cf configurator项目结合使用:
-https://github.com/springerpe/python cfconfigurator
-https://github.com/springerpe/ansible cloudfoundry role
或使用以下terraform提供程序:
-https://github.com/mevansam/terraform提供程序cf
,帮助您开始使用初始清单或terraform资源,而无需手动提取所需的所有信息。
使用python 3
api文档:
*https://api docs.cloudfoundry.org
*https://docs.cloudfoundry.org/api/uaa
创建一个“.pypirc”配置文件。此文件保存用于使用PYPI进行身份验证的信息。
```
[distutils]
index servers=PYPI
[PYPI]
repository=https://pypi.python.org/pypi
username=your戥username
password=your戥password
```
2。登录并将其上载到pypi
```
python setup.py register-r pypi
python setup.py sdist upload-r pypi
``````
cloudfoundry
` exporter_admin_password`=用于登录cloudfoundry的密码
` exporter_exclude_env_vars`=分隔字符串的列表'。将不导出名称以所列前缀之一开头的env变量。
```
安装
```
`cf configuration exporter`是一个简单的实用程序,其目的是从CloudFoundry的实际安装中生成
配置清单。
该实用程序应与cf configurator项目结合使用:
-https://github.com/springerpe/python cfconfigurator
-https://github.com/springerpe/ansible cloudfoundry role
或使用以下terraform提供程序:
-https://github.com/mevansam/terraform提供程序cf
,帮助您开始使用初始清单或terraform资源,而无需手动提取所需的所有信息。
使用python 3
api文档:
*https://api docs.cloudfoundry.org
*https://docs.cloudfoundry.org/api/uaa
创建一个“.pypirc”配置文件。此文件保存用于使用PYPI进行身份验证的信息。
```
[distutils]
index servers=PYPI
[PYPI]
repository=https://pypi.python.org/pypi
username=your戥username
password=your戥password
```
2。登录并将其上载到pypi
```
python setup.py register-r pypi
python setup.py sdist upload-r pypi
``````
cloudfoundry
` exporter_admin_password`=用于登录cloudfoundry的密码
` exporter_exclude_env_vars`=分隔字符串的列表'。将不导出名称以所列前缀之一开头的env变量。
```
安装
```