Linux command
bosh 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Deploy
bosh -d [deployment] deploy [manifest.yml]
List
bosh deployments
SSH
bosh -d [deployment] ssh [instance]
View
bosh -d [deployment] logs [instance]
Update
bosh update-cloud-config [cloud-config.yml]
说明
bosh is the command-line interface for BOSH, a tool for release engineering, deployment, and lifecycle management of distributed systems. It's commonly used for deploying Cloud Foundry and other complex distributed applications. The tool manages infrastructure provisioning, software deployment, and operational concerns across multiple cloud providers.
参数
- -d, --deployment _name_
- Deployment name
- -e, --environment _alias_
- Environment alias
- -n, --non-interactive
- Non-interactive mode
- --json
- JSON output
- --column _header_
- Filter output columns
FAQ
What is the bosh command used for?
bosh is the command-line interface for BOSH, a tool for release engineering, deployment, and lifecycle management of distributed systems. It's commonly used for deploying Cloud Foundry and other complex distributed applications. The tool manages infrastructure provisioning, software deployment, and operational concerns across multiple cloud providers.
How do I run a basic bosh example?
Run `bosh -d [deployment] deploy [manifest.yml]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -d, --deployment _name_ do in bosh?
Deployment name