Claude Code¶

Category: Development
Type: Workload Template
Tags: cluster-level
Overview¶
Claude Code is Anthropic's AI coding agent, delivered as a browser-accessible web terminal (powered by wetty). Each Claude Code workload is an isolated session with persistent storage for project files and configuration — no local install required.
How It Works¶
Workload Template — Installs the Claude Code workload schema into Genesis. Once installed, the Claude Code type appears in Genesis on the Workloads page, where it can be authored into a workload template. Users can then launch and provision their own coding agent session on demand within a project through Hubble.
Prerequisites¶
- A Kubernetes storage class available in the cluster
- API credentials for Claude (
ANTHROPIC_API_KEYor equivalent) — set via the workload's environment variables at launch
Installation¶
- Open Terra and navigate to the Plugin Marketplace
- Search for "Claude Code"
- Click Install
- Click Confirm to deploy (no install-time fields required)
Once installed, the Claude Code schema is available in Genesis. From the Workloads page, author the template — users can then launch and provision sessions on demand through Hubble.
Configuration¶
Install-Time Fields¶
No install-time configuration is required for this plugin.
Workload Launch Fields¶
These fields are configured when authoring the workload template in Genesis and used each time a user provisions a Claude Code session through Hubble:
| Field | Details |
|---|---|
nginx_registry |
string · Required · Default: docker.ioRegistry to pull the nginx sidecar image from |
nginx_repo |
string · Required · Default: nginxRepository to pull the nginx sidecar image from |
nginx_tag |
string · Required · Default: alpineTag to pull the nginx sidecar image from |
timezone |
string · Required · Default: America/New_YorkTimezone for the Claude Code instance |
storage_class |
k8sStorageClass · Optional Storage class for the persistent /data disk |
storage_size |
string · Required · Default: 10GiStorage size for the persistent /data disk |
publicAccess |
boolean · Required · Default: falseAllow public access (disable Hubble authentication) |
Custom Environment Variables¶
Genesis lets you add arbitrary environment variables to the workload at launch time. These are commonly useful for the claude CLI (@anthropic-ai/claude-code):
| Variable | Description |
|---|---|
ANTHROPIC_API_KEY |
Anthropic Console API key used by the claude CLI to authenticate. |
ANTHROPIC_MODEL |
Overrides the default Claude model used by the CLI. |
ANTHROPIC_BASE_URL |
Overrides the API base URL, e.g. to point at a proxy or compatible endpoint. |
Notes¶
- Claude API credentials are not set via the install-time fields above — configure them as custom environment variables at workload launch (see table above), e.g.
ANTHROPIC_API_KEY - The nginx sidecar provides browser-accessible proxying for the wetty terminal interface
- Project files and Claude Code configuration are persisted to the
/datavolume across workload restarts - Setting
publicAccesstotrueremoves authentication from the workstation endpoint — use only in trusted network environments