Agentic Data Plane

rpk ai kill-switch-policy create

Create a Kill switch policy.

This command was introduced in ai version 0.2.51.

Usage

rpk ai kill-switch-policy create [flags]

Examples

This section provides examples of how to use rpk ai kill-switch-policy create.

rpk ai kill-switch-policy create my-kill-switch-policy \
  --parent PARENT \
  --spec.signal guardrail-block-rate

Flags

Value Type Description

--parent

string

Parent. (required).

--display-name

string

Display name.

--spec.signal

string

Signal. (one of: guardrail-block-rate, datapolicy-deny-rate, evaluation-error-rate).

--spec.burst.threshold

float

Threshold.

--spec.burst.confidence

string

Confidence. (one of: 95, 99, 999).

--spec.drift.baseline

float

Baseline.

--spec.drift.slack

float

Slack.

--spec.drift.threshold

float

Threshold.

--spec.mode

string

Mode. (one of: shadow, warn, enforce).

-f, --filename

string

manifest to create from (YAML or JSON; "-" for stdin); flags override file values.

--dry-run

bool

print the request that would be sent (with the computed update mask) and exit without calling the server.

Global flags

Value Type Description

--config

string

Redpanda or rpk config file; default search paths are ~/.config/rpk/rpk.yaml, $PWD/redpanda.yaml, and /etc/redpanda/redpanda.yaml.

-X, --config-opt

stringArray

Override rpk configuration settings; -X help for detail or -X list for terser detail.

--ignore-profile

bool

Ignore rpk.yaml and redpanda.yaml; use default settings.

--profile

string

rpk profile to use.

-v, --verbose

bool

Enable verbose logging.