|
| 1 | +# Applications |
| 2 | + |
| 3 | +## Deployment |
| 4 | + |
| 5 | +In order to deploy application you can use `eden pod deploy` command: |
| 6 | + |
| 7 | +```console |
| 8 | +Deploy app in pod. |
| 9 | + |
| 10 | +Usage: |
| 11 | +eden pod deploy (docker|http(s)|file)://(<TAG>[:<VERSION>] | <URL for qcow2 image> | <path to qcow2 image>) [flags] |
| 12 | + |
| 13 | +Flags: |
| 14 | +--acl strings Allow access only to defined hosts/ips/subnets |
| 15 | +--adapters strings adapters to assign to the application instance |
| 16 | +--cpus uint32 cpu number for app (default 1) |
| 17 | +--direct Use direct download for image instead of eserver (default true) |
| 18 | +--disk-size string disk size (empty or 0 - same as in image) (default "0 B") |
| 19 | +--disks strings Additional disks to use |
| 20 | +--format string format for image, one of 'container','qcow2','raw','qcow','vmdk','vhdx'; if not provided, defaults to container image for docker and oci transports, qcow2 for file and http/s transports |
| 21 | +-h, --help help for deploy |
| 22 | +--memory string memory for app (default "1.0 GB") |
| 23 | +--metadata string metadata for pod |
| 24 | +-n, --name string name for pod |
| 25 | +--networks strings Networks to connect to app (ports will be mapped to first network) |
| 26 | +--no-hyper Run pod without hypervisor |
| 27 | +--only-host Allow access only to host and external networks |
| 28 | +-p, --publish strings Ports to publish in format EXTERNAL_PORT:INTERNAL_PORT |
| 29 | +--registry string Select registry to use for containers (remote/local) (default "remote") |
| 30 | +--sftp Force use of sftp to load http/file image from eserver |
| 31 | +--vnc-display uint32 display number for VNC pod (0 - no VNC) |
| 32 | +--vnc-password string VNC password (empty - no password) |
| 33 | +--volume-type string volume type for empty volumes (qcow2, raw, qcow, vmdk, vhdx or oci); set it to none to not use volumes (default "qcow2") |
| 34 | + |
| 35 | +Global Flags: |
| 36 | +--config string Name of config (default "default") |
| 37 | +-v, --verbosity string Log level (debug, info, warn, error, fatal, panic (default "info") |
| 38 | +``` |
| 39 | + |
| 40 | +## Modification |
| 41 | + |
| 42 | +In order to modify existing application you can use `eden pod modify` command: |
| 43 | + |
| 44 | +```console |
| 45 | +Modify pod |
| 46 | + |
| 47 | +Usage: |
| 48 | +eden pod modify <app> [flags] |
| 49 | + |
| 50 | +Flags: |
| 51 | +--acl strings Allow access only to defined hosts/ips/subnets |
| 52 | +-h, --help help for modify |
| 53 | +--networks strings Networks to connect to app (ports will be mapped to first network) |
| 54 | +--only-host Allow access only to host and external networks |
| 55 | +-p, --publish strings Ports to publish in format EXTERNAL_PORT:INTERNAL_PORT |
| 56 | + |
| 57 | +Global Flags: |
| 58 | +--config string Name of config (default "default") |
| 59 | +-v, --verbosity string Log level (debug, info, warn, error, fatal, panic (default "info") |
| 60 | +``` |
0 commit comments