rpk ai kill-switch-policy create
Create a Kill switch policy.
| This command was introduced in ai version 0.2.51. |
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 |
|---|---|---|
|
string |
Parent. ( |
|
string |
Display name. |
|
string |
Signal. (one of: guardrail-block-rate, datapolicy-deny-rate, evaluation-error-rate). |
|
float |
Threshold. |
|
string |
Confidence. (one of: 95, 99, 999). |
|
float |
Baseline. |
|
float |
Slack. |
|
float |
Threshold. |
|
string |
Mode. (one of: shadow, warn, enforce). |
|
string |
manifest to create from (YAML or JSON; "-" for stdin); flags override file values. |
|
bool |
print the request that would be sent (with the computed update mask) and exit without calling the server. |
Global flags
| Value | Type | Description |
|---|---|---|
|
string |
Redpanda or |
|
stringArray |
Override |
|
bool |
Ignore |
|
string |
|
|
bool |
Enable verbose logging. |