Skip to main content

astroctl_application_profile_apply

astroctl application profile apply

Apply application profile template by file name

Synopsis

Create or update an application profile from a YAML specification file.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Application profile YAML format ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ apiVersion: platform.astropulse.io/v1 kind: ApplicationProfile spec: profileName: my-profile # required — unique name, lowercase alphanumeric/hyphens clusterName: my-cluster # optional — target cluster (takes precedence over cloudProvider) cloudProvider: # optional — if omitted, nearest region is auto-selected provider: aws # aws | gcp | azure region: us-east-1

astroctl application profile apply [flags]

Examples


# Apply from file
astroctl app profile apply -f application-profile.yaml

# Pipe YAML inline
echo 'apiVersion: platform.astropulse.io/v1
kind: ApplicationProfile
spec:
profileName: my-profile
clusterName: my-cluster' | astroctl app profile apply -f -

# Pipe from file
cat application-profile.yaml | astroctl app profile apply -f -

Options

-f, --file string The files that contain the configurations to apply. Use '-' to read from stdin.
-h, --help help for apply

Options inherited from parent commands

-n, --name string name of the application
-o, --output string Output format (json|yaml) (default "yaml")

SEE ALSO