mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-01 07:35:24 +02:00
bosh: add page (#1575)
This commit is contained in:
parent
d4324aeb8f
commit
359252f1ce
1 changed files with 35 additions and 0 deletions
35
pages/common/bosh.md
Normal file
35
pages/common/bosh.md
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
# bosh
|
||||||
|
|
||||||
|
> Command line tool to deploy and manage the bosh director.
|
||||||
|
|
||||||
|
- Create local alias for director:
|
||||||
|
|
||||||
|
`bosh alias-env {{environment-name}} -e {{ip address or url}} --ca-cert {{ca_certificate}}`
|
||||||
|
|
||||||
|
- List environments:
|
||||||
|
|
||||||
|
`bosh environments`
|
||||||
|
|
||||||
|
- Login to the director:
|
||||||
|
|
||||||
|
`bosh login -e {{environment}} `
|
||||||
|
|
||||||
|
- List deployments:
|
||||||
|
|
||||||
|
`bosh -e {{environment}} deployments`
|
||||||
|
|
||||||
|
- List environment virtual machines:
|
||||||
|
|
||||||
|
`bosh -e {{environment}} vms -d {{deployment}}`
|
||||||
|
|
||||||
|
- Ssh into virtual machine:
|
||||||
|
|
||||||
|
`bosh -e {{environment}} ssh {{virtual machine}} -d {{deployment}}`
|
||||||
|
|
||||||
|
- Upload stemcell:
|
||||||
|
|
||||||
|
`bosh -e {{environment}} upload-stemcell {{stemcell file or url}}`
|
||||||
|
|
||||||
|
- Show current cloud config:
|
||||||
|
|
||||||
|
`bosh -e {{environment}} cloud-config`
|
Loading…
Add table
Reference in a new issue