|
| 1 | +## stackit alpha sca application create |
| 2 | + |
| 3 | +Create a SCA application |
| 4 | + |
| 5 | +### Synopsis |
| 6 | + |
| 7 | +Create a STACKIT Container Applications (SCA) application. |
| 8 | + |
| 9 | +``` |
| 10 | +stackit alpha sca application create [flags] |
| 11 | +``` |
| 12 | + |
| 13 | +### Examples |
| 14 | + |
| 15 | +``` |
| 16 | + Create a SCA application with name "application-name" and image "my-image" for an environment with ID "yyy" |
| 17 | + $ stackit alpha sca application create --name application-name --image my-image --environment-id yyy |
| 18 | +
|
| 19 | + Create a SCA application with name "application-name" and image "my-image" with 2 instances |
| 20 | + $ stackit alpha sca application create --name application-name --image my-image --instances 2 |
| 21 | +
|
| 22 | + Create a SCA application with name "application-name" and image "my-image" exposing port 8888 of the container |
| 23 | + $ stackit alpha sca application create --name application-name --image my-image --external-port 8888 |
| 24 | +
|
| 25 | + Create a SCA application with name "application-name" and image "my-image" disabling public networking |
| 26 | + $ stackit alpha sca application create --name application-name --image my-image --public=false |
| 27 | +
|
| 28 | + Create a SCA application with name "application-name" and image "my-image" and environment variables ENV1=value1 and ENV2=value2 |
| 29 | + $ stackit alpha sca application create --name application-name --image my-image --environment-vars ENV1=value1,ENV2=value2 |
| 30 | +``` |
| 31 | + |
| 32 | +### Options |
| 33 | + |
| 34 | +``` |
| 35 | + --args strings Arguments to pass to the application container command |
| 36 | + --commands strings Commands to execute in the application container |
| 37 | + --container-name string Container name (default "container-1") |
| 38 | + --cpu int32 The dedicated virtual CPU processing power allocated per container instance (default 1000) |
| 39 | + --environment-id string Environment ID (uses default environment if not set) |
| 40 | + --environment-vars stringToString Environment variables to inject into the application (default []) |
| 41 | + --external-port int32 Container external exposed port (default 8080) |
| 42 | + -h, --help Help for "stackit alpha sca application create" |
| 43 | + --http-rule-concurrency int32 Target number of in-flight requests to trigger autoscaling (if autoscaling is enabled) |
| 44 | + --http-rule-rps int32 Target number of requests per second to trigger autoscaling (if autoscaling is enabled) |
| 45 | + --image string Container image |
| 46 | + --instances int32 The number of application instances (if manually scaled) (default 1) |
| 47 | + --max-instances int32 The maximum number of application instances (if autoscaling is enabled) |
| 48 | + --memory int32 The total amount of memory (RAM) allocated per container instance (default 1024) |
| 49 | + --min-instances int32 The minimum number of application instances (if autoscaling is enabled) (default 1) |
| 50 | + --name string Application display name |
| 51 | + --public Exposes your application securely to the public internet via HTTPS endpoint (default true) |
| 52 | + --scale-to-zero Enable scale to zero (if autoscaling is enabled) |
| 53 | + --scaling-type string Scaling type, (one of: [manual, auto]) (default "manual") |
| 54 | +``` |
| 55 | + |
| 56 | +### Options inherited from parent commands |
| 57 | + |
| 58 | +``` |
| 59 | + -y, --assume-yes If set, skips all confirmation prompts |
| 60 | + --async If set, runs the command asynchronously |
| 61 | + -o, --output-format string Output format, (one of: [json, pretty, none, yaml]) |
| 62 | + -p, --project-id string Project ID |
| 63 | + --region string Target region for region-specific requests |
| 64 | + --verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info") |
| 65 | +``` |
| 66 | + |
| 67 | +### SEE ALSO |
| 68 | + |
| 69 | +* [stackit alpha sca application](./stackit_alpha_sca_application.md) - Provides functionality for SCA applications |
| 70 | + |
0 commit comments