Skip to main content

Run “Hello Konduktor”

Run konduktor login first. For the Trainy Hub, login also sets up a Hub Kubernetes context and prints its cluster and namespace. It preserves an existing local current context so commands such as konduktor logs keep using that cluster; login prints the konduktor launch --context ... command when you need to select the Hub explicitly. If you belong to more than one namespace, choose one when prompted, or pass --namespace <name>. Use konduktor logs --context <hub-context> <job-id> for Hub jobs; the CLI reads those logs through the Hub’s OIDC-protected endpoint. On a local context, konduktor logs retains its existing cluster-local read path. Logs from every worker cluster in your Hub namespace are available together. The setup requires gcloud and kubectl; it opens the Google Workforce sign-in flow after the Konduktor sign-in. If your account has no assigned namespace, ask your organization owner or Trainy to grant access. To submit your first run, copy the below yaml into a file called ‘hello_konduktor.yaml’.
If you see “Hello World!”, congratulations on setting up Konduktor!
AI-Assisted Workflows: Install the Konduktor Skills plugin to get AI help drafting task YAMLs, writing Python SDK code, and constructing CLI commands directly in your editor.

Requirements

We currently have the following requirements for container images for jobs.
  • Containers must be Debian/Ubuntu based and use apt as a package manager
  • have bash in $PATH
  • permit login/run as root