KRAFT-CLOUD-INSTANCE-LOGS(1)
π kraft-cloud-instance-logs π
okay so bestie, welcome to the KraftKit CLI(1) manual page for kraft-cloud-instance-logs. This is the lil' command that gets you the console output of instances, and we're gonna read it together like a very technically gifted group chat. π«Ά
πΈ NAME πΈ
kraft-cloud-instance-logs β Get console output of instances. That's the whole name, that's the whole mission. β¨
β¨ SYNOPSIS β¨
kraft cloud instance logs [FLAG] UUID|NAME
Translation: you call kraft cloud instance logs, optionally with a FLAG, and then you hand it either a UUID or a NAME. Iconic. π
π¦ DESCRIPTION π¦
Get console output of an instance.
That's it. You point at an instance, and the console output comes back to you. No cap, no secret extra steps in this section. π«Ά
π OPTIONS π
Here are the flags, bestie. Each one is doing exactly what it says on the label:
-f,--follow[=false]β Follow the logs of the instance every half second. Yes, every half second. It is committed to the bit. π-h,--help[=false]β help forlogs. The classic "what do I do here" flag, but for this command. π«Ά--no-prefix[=false]β When logging multiple machines, do not prefix each log line with the name. So in that multi-machine situation, no name tags on the lines. π·οΈ-n,--tail=-1β Show the last given lines from the logs. The default is-1, right there in the flag. π
𧬠OPTIONS INHERITED FROM PARENT COMMANDS π§¬
These come from the parent command, so they're part of the vibe too:
--allow-insecure[=false]β Allow insecure connections to the Unikraft Cloud API. This one is a little spicy, so don't pretend you didn't see the word "insecure". π₯--metro=""β Unikraft Cloud metro location. Empty string is the default, right there in the quotes. π--token=""β Unikraft Cloud access token. Also empty string by default. π
π§ EXAMPLES π§
Example time, and these are verbatim β copy/paste with confidence:
# Get all console output of a instance by UUID
$ kraft cloud instance logs 77d0316a-fbbe-488d-8618-5bf7a612477a
# Get all console output of a instance by name
$ kraft cloud instance logs my-instance-431342
# Get the last 20 lines of a instance by name
$ kraft cloud instance logs my-instance-431342 --tail 20
# Get the last lines of a instance by name continuously
$ kraft cloud instance logs my-instance-431342 --follow
# Get the last 10 lines of a instance by name continuously
$ kraft cloud instance logs my-instance-431342 --follow --tail 10
Obsessed with how clean that is. β¨
π SEE ALSO π
kraft-cloud-instance(1) β go hang out with the parent page when you're done here. π
π HISTORY π
Official lore from the page: 1-Jan-1980 Auto generated by KraftKit. Not me being dramatic β that's literally it. π
This lil' page is brought to you by KraftKit Documentation, the Jan 1980 date, and KraftKit CLI(1) β mwah π
π¦ where this page comes from
- nixos 26.05: kraft 0.12.5
- 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