KRAFT-CLOUD-DEPLOY(1)
π KRAFT-CLOUD-DEPLOY(1) π
okay so this page is from the KraftKit Manual and lives under the KraftKit CLI, bestie. This is kraft-cloud-deploy, and it's giving one-command deploy realness. The whole vibe: build, package, ship, and deploy without bouncing between a million sub-commands. Obsessed.
β¨ NAME β¨
kraft-cloud-deploy β deploy your application. periodt.
π οΈ SYNOPSIS π οΈ
kraft cloud deploy [ARGS] [CONTEXT] [-- [APP ARGS]]
π DESCRIPTION π
kraft cloud deploy is literally the combo move: it combines a number of kraft cloud sub-commands so you can build, package, ship, and deploy your application with a single command. No cap, that's the whole flex.
π OPTIONS π
-D,--as=""β set the deployment type--build-log=""β use the specified file to save the output from the build-C,--certificate=[]β set the certificates to use for the service-z,--compress[=false]β compress the initrd package (experimental β yes, the original says so π§ͺ)-c,--config=""β override the path to the KConfig.configfile--dbg[=false]β build the debuggable (symbolic) kernel image instead of the stripped image-d,--domain=[]β set the domain names for the service--entrypoint=[]β set the entrypoint for the instance-e,--env=[]β environmental variables--feature=[]β specify the special features to enable-f,--follow[=false]β follow the logs of the instance--force-pull[=false]β force pulling packages before building-h,--help[=false]β help for deploy (the classic rescue button π«Ά)-i,--image=""β set the image name to use-j,--jobs=0β allowNjobs at once--keep-file-owners[=false]β keep file owners (user:group) in the rootfs (false sets'root:root')-K,--kraftfile=""β set the Kraftfile to use-M,--memory=""β specify the amount of memory to allocate (MiB increments)-n,--name=""β name of the deployment-F,--no-cache[=false]β force a rebuild even if existing intermediate artifacts already exist--no-configure[=false]β do not run Unikraft's configure step before building--no-fast[=false]β do not use maximum parallelization when performing the build--no-fetch[=false]β do not run Unikraft's fetch step before building-S,--no-start[=false]β do not start the instance after creation--no-update[=false]β do not update package index before running the build-o,--output=""β set output format-p,--port=[]β specify the port mapping between external to internal-R,--replicas=0β number of replicas of the instance--restart="never"β set the restart policy for the instance (never/always/on-failure)--rollout="prompt"β set the rollout strategy for an instance which has been previously run in the provided service.--rollout-qualifier="image"β set the rollout qualifier used to determine which instances should be affected by the strategy in the supplied service.--rollout-wait=10sβ time to wait before performing rolling out action (ms/s/m/h)--rootfs=""β specify a path to use as root filesystem--rootfs-type="cpio"β set the type of the format of the rootfs (cpio/erofs)--runtime=""β set an alternative project runtime--scale-to-zero="off"β scale to zero policy of the instance (on/off/idle)--scale-to-zero-cooldown=0sβ cooldown period before scaling to zero (ms/s/m/h)--scale-to-zero-stateful[=false]β save state when scaling to zero-g,--service=""β attach the new deployment to an existing service--strategy="overwrite"β when a package of the same name exists, use this strategy when applying targets.-s,--subdomain=[]β set the names to use when provisioning subdomains--timeout=1m0sβ set the timeout for remote procedure calls (ms/s/m/h)-V,--vcpus=0β specify the number of vCPUs to allocate-v,--volume=[]β specify the volume mapping(s) in the formNAME:DESTorNAME:DEST:OPTIONS-w,--workdir=""β set an alternative working directory (default iscwd)
π§ OPTIONS INHERITED FROM PARENT COMMANDS π§
these come from the parent command, bestie β not me making stuff up:
--allow-insecure[=false]β allow insecure connections to the Unikraft Cloud API--metro=""β Unikraft Cloud metro location--token=""β Unikraft Cloud access token
π EXAMPLES π
the receipts, fr fr:
# Deploy a working directory with a Kraftfile or Dockerfile:
$ kraft cloud deploy -p 443:8080
# Run an image from Unikraft Cloud's image catalog:
$ kraft cloud deploy -p 443:8080 caddy:latest
# Supply arguments to the instance of the existing image
$ kraft cloud deploy -p 443:8080 caddy:latest -- /bin/server --debug
# Supply arguments to the instance of the project (appending to the cmd):
$ kraft cloud deploy -p 443:8080 . -- /bin/server --debug
# Supply arguments to the instance of the project (overwriting the cmd):
$ kraft cloud deploy -p 443:8080 --entrypoint "/bin/server --debug" .
# Immediately start following the log tail
$ kraft cloud deploy -p 443:8080 -f caddy:latest
π¦ SEE ALSO π¦
go be nosy: kraft-cloud(1)
β HISTORY β
1-Jan-1980 β Auto generated by KraftKit
π cute little sign-off: source/version is KraftKit Documentation, date is Jan 1980, manual is KraftKit CLI(1). mwah π«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: kraft 0.12.16
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms