Linux command
juju 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Bootstrap controller
juju bootstrap [cloud] [controller-name]
Deploy application
juju deploy [charm-name]
Add machine
juju add-machine
Check status
juju status
Add relation
juju add-relation [app1] [app2]
SSH to unit
juju ssh [unit/0]
说明
Juju orchestrates application deployment and management. It deploys applications as charms across clouds and bare metal. The tool manages complex application topologies. It handles scaling, relations, and configuration.
参数
- bootstrap _CLOUD_ _NAME_
- Create controller.
- deploy _CHARM_
- Deploy charm.
- add-machine
- Add machine to model.
- status
- Show model status.
- add-relation _APP1_ _APP2_
- Connect applications.
- ssh _UNIT_
- SSH to unit.
- --help
- Display help information.
FAQ
What is the juju command used for?
Juju orchestrates application deployment and management. It deploys applications as charms across clouds and bare metal. The tool manages complex application topologies. It handles scaling, relations, and configuration.
How do I run a basic juju example?
Run `juju bootstrap [cloud] [controller-name]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does bootstrap _CLOUD_ _NAME_ do in juju?
Create controller.