shoulders app init
shoulders app init
Create a WebApplication
shoulders app init <name> [flags]
Options
--arg stringArray Container argument, repeatable
--command stringArray Container entrypoint command, repeatable
--configmap-mount stringArray Mount a ConfigMap as a volume (configMapName:mountPath[:volumeName]), repeatable
--cpu-limit string CPU limit, for example 500m
--cpu-request string CPU request, for example 100m
--dry-run Print YAML instead of applying
--empty-dir stringArray Mount a writable emptyDir volume (name:mountPath), repeatable
--env stringArray Environment variable (KEY=VALUE), repeatable
--env-fieldref stringArray Downward API environment variable (NAME=field.path, e.g. NAMESPACE=metadata.namespace), repeatable
--env-from-configmap stringArray ConfigMap to expose through envFrom, repeatable
--env-from-secret stringArray Secret to expose through envFrom, repeatable
--ephemeral-storage-limit string Ephemeral storage limit, for example 2Gi
--ephemeral-storage-request string Ephemeral storage request, for example 1Gi
--fs-group int Set pod securityContext.fsGroup (default -1)
-h, --help help for init
--host string Hostname for HTTP routing
--image string Container image (repo or repo:tag)
--internal Create only an internal Service without an HTTPRoute
--liveness-path string HTTP liveness probe path
--memory-limit string Memory limit, for example 256Mi
--memory-request string Memory request, for example 128Mi
-n, --namespace string Workspace namespace to target
--port int32 Container port (default 80)
--probe-initial-delay int32 Initial delay in seconds for HTTP probes (default 5)
--probe-period int32 Period in seconds for HTTP probes (default 10)
--read-only-root-filesystem Set container securityContext.readOnlyRootFilesystem
--readiness-path string HTTP readiness probe path
--replicas int32 Number of replicas (default 1)
--run-as-non-root Set container securityContext.runAsNonRoot
--run-as-user int Set container securityContext.runAsUser (default -1)
--secret-items stringArray Map Secret keys to file paths (secretName:key=path[,key=path...]), repeatable; requires a matching --secret-mount
--secret-mount stringArray Mount a Secret as a volume (secretName:mountPath[:volumeName]), repeatable
--service-port int32 Kubernetes Service port (default 80)
--startup-path string HTTP startup probe path
--tag string Override image tag
Options inherited from parent commands
--cluster string Target cluster from the topology (defaults to the only cluster, or the hub)
--config string Path to config file (default "/home/runner/.shoulders/config.yaml")
--kubeconfig string Path to kubeconfig file
-o, --output string Output format: table|json|yaml (default "table")
--set stringArray Set a config value override (key=value), repeatable. Overrides are ephemeral and are not saved to the config file
SEE ALSO
- shoulders app - Manage WebApplications