Skip to main content
Apply workload manifests from a YAML file. The command creates each resource if it does not exist, or updates it if it already exists. Supported workload kinds are Deployment, ReplicaSet, Pod, Job, Sandbox, and CronJob. A file can contain multiple YAML documents separated by ---.

Usage

idyl apply -f FILENAME [flags]

Flags

FlagDescription
-f <string>, --filename <string>Required. Filename containing the resource(s) to apply
-n <string>, --namespace <string>Namespace name (overrides context)
-s <string>, --subnet <string>Subnet for workload placement (overrides context)

Inherited flags

FlagDescription
-a <string>, --account-id <string>Account ID to use (overrides context)
-c <string>, --context <string>Use specific context
--homedir <string>Override config directory (default: ~/.idyl)
-o <string>, --output <string>Output format (json|yaml)
-p <string>, --profile <string>Override profile
--realm <string>Override realm

Examples

# Apply a Sandbox manifest
idyl apply -f sandbox.yaml

# Apply multiple workload manifests from one file
idyl apply -f workloads.yaml