Skip to content

Create and manage Intake Runners

To begin creating and managing your Intake Runners via the STACKIT CLI, ensure you have the following in place:

The Intake Runner is the engine for your data ingestion. You must create an Intake Runner before you can create an Intake.

At first you need to determine the maximum throughput capacity your Intake Runner should be able to sustain across all its intakes. We provide hints on how to Plan your Intake Runner.

You establish the maximum throughput capacity for your Intake Runner by defining two parameters:

  • max-message-size-kib: The maximum size, in kibibytes, for a single message.
  • max-message-size-per-hour: The maximum number of messages the runner can process per hour.
FlagDescriptionOptionsDefaultOptional
display-namea human readable name for the Intake RunnerString, not longer than 32 characters
max-message-size-kibthe maximum size for a single message in kibibytes, for a single messageInteger, between 1 and 1024. Product with max-messages-per-hour not allowed to exceed 20 GiB/h
max-messages-per-hourthe maximum number of messages that can be processed across all Intakes, per hourInteger, at least 1. Product with max-message-size-kib not allowed to exceed 20 GiB/h
descriptiona textual description of the Runner’s purposeString, not longer than 1024 characters""
labelslabels in key=value format. Allows one to classify the purpose of the Intake Runnerkey=value format, separated by commas. Example: “key1=value1,key2=value2”[]

To create your Intake Runner, execute the command providing the relevant flags:

Terminal window
stackit beta intake runner create --display-name <DISPLAY_NAME> --max-message-size-kib <MAX_MESSAGE_SIZE> --max-messages-per-hour <MAX_MESSAGES> --description <DESCRIPTION> --labels <LABELS>

After executing the command you need to confirm with y. When the instance is created succesfully, the CLI will return the instance ID:

Created Intake Runner for project "...". Runner ID: af1b6d5b-9dc5-4dee-ab48-e944a7a17a2b

Create an Intake Runner with minimal amount of flags:

Terminal window
stackit beta intake runner create --display-name minimal-runner --max-message-size-kib 5 --max-messages-per-hour 10000

Create an Intake Runner with labels:

Terminal window
stackit beta intake runner create --display-name minimal-runner --max-message-size-kib 5 --max-messages-per-hour 10000 --labels "dept=billing,stage=test"

To list all Intake Runners in a cloud project, call the list command:

Terminal window
stackit beta intake runner list

This will result in output like the following:

ID │ NAME
─────────────────────────────────────┼────────────────
ef907939-6fcd-42b0-a635-1b33d3ba7cf3 │ minimal-runner

You can check the status and details of any Intake Runner using the describe command.

ArgumentDescription
INTAKE_RUNNER_IDThe ID of the Intake Runner you would like to describe
Terminal window
stackit beta intake runner describe <INTAKE_RUNNER_ID>

This will result in an output like the following:

ID │ ef907939-6fcd-42b0-a635-1b33d3ba7cf3
State | active
Name │ minimal-runner
Description │
Max Message Size (KiB) │ 5
Max Messages/Hour │ 10000
Ingestion URI │ ef907939-6fcd-42b0-a635-1b33d3ba7cf3.intake.eu01.onstackit.cloud:9094
flags | dept=billing,stage=test
Terminal window
stackit beta intake runner describe ef907939-6fcd-42b0-a635-1b33d3ba7cf3

You can update the display name, description, labels, or increase the throughput capacity of an existing Intake Runner using the update command.

ArgumentDescription
INTAKE_RUNNER_IDThe ID of the Intake Runner you would like to update
FlagDescriptionOptions
display-namea human readable name for the Intake RunnerString, not longer than 32 characters
max-message-size-kibthe maximum size for a single message in kibibytes, for a single messageInteger, between 1 and 1024. Product with max-messages-per-hour not allowed to exceed 20 GiB/h or to shrink.
max-messages-per-hourthe maximum number of messages that can be processed across all Intakes, per hourInteger, at least 1. Product with max-message-size-kib not allowed to exceed 20 GiB/h or to shrink.
descriptiona textual description of the Runner’s purposeString, not longer than 1024 characters
labelslabels in key=value format. Allows one to classify the purpose of the Intake Runnerkey=value format, separated by commas. Example: “key1=value1,key2=value2”

To update your Intake Runner, execute the command providing the ID of the Intake Runner and the relevant flags:

Terminal window
stackit beta intake runner update <INTAKE_RUNNER_ID> --display-name <DISPLAY_NAME> --max-message-size-kib <MAX_MESSAGE_SIZE> --max-messages-per-hour <MAX_MESSAGES> --description <DESCRIPTION> --labels <LABELS>

When the update command has been sent, the CLI will return respond with a text like this:

Update request for Intake Runner "af1b6d5b-9dc5-4dee-ab48-e944a7a17a2b" sent successfully.

Change the labels of an Intake Runner:

Terminal window
stackit beta intake runner update af1b6d5b-9dc5-4dee-ab48-e944a7a17a2b --labels "dept=billing,stage=test"

Deleting an Intake Runner is an irreversible operation. It will also delete all associated Intakes and Intake users if you pass in the —force flag. If you do not pass force, the state of the runner will change to deleting. IIt will stay in that state and continue to function until all associated Intakes have been deleted by you manually.

ArgumentDescription
INTAKE_RUNNER_IDThe ID of the Intake Runner you would like to delete
FlagDescription
forceDelete the Intakes and Intake user as well
Terminal window
stackit beta intake runner delete <INTAKE_RUNNER_ID> --force

You have to confirm the deletion of the Intake Runner by pressing y. The delete command will result in output like this:

Deletion request for Intake Runner "ef907939-6fcd-42b0-a635-1b33d3ba7cf3" sent successfully.