Skip to main content

astroctl_application_profile_create

astroctl application profile create

Create an application profile

Synopsis

Create an application profile

astroctl application profile create [flags]

Examples


# Create an application profile,
astroctl app profile create -n test-profile -p aws -r us-west-2

# Create an application profile with cluster name,
astroctl app profile create -n test-profile -c test-cluster

# Create an application profile with region proximity,
astroctl app profile create -n test-profile --proximity

# Create an application profile with region proximity and availability tier,
astroctl app profile create -n test-profile --proximity -a standard

# Create an application profile with memory requirements,
astroctl app profile create -n test-profile -p aws -r us-west-2 -m 1Gi -M 2Gi

# Create an application profile with memory requirements and availability tier,
astroctl app profile create -n test-profile -p aws -r us-west-2 -m 1Gi -M 2Gi -a standard

# Create an application profile with memory requirements and region proximity,
astroctl app profile create -n test-profile --proximity -m 1Gi -M 2Gi

# Create an application profile with memory requirements, region proximity and availability tier,
astroctl app profile create -n test-profile --proximity -m 1Gi -M 2Gi -a standard


Options

  -a, --availability-tier string   The availability tier, supported values are basic, standard, and premium (default "basic")
-c, --cluster-name string The name of the cluster
-h, --help help for create
-M, --max-mem-gi string The maximum memory in Gi
-m, --mem-min-gi string The minimum memory in Gi
-n, --name string The name of the application profile
-p, --provider string The name of the provider, the value can be aws, azure, gcp, or any other provider name
--proximity The region proximity, if set, the region will be calculated based on the latency between the client and the provider's region.
-r, --region string The region of the provider

Options inherited from parent commands

  -o, --output string   Output format (json|yaml) (default "yaml")

SEE ALSO