Agentic Data Plane
Preview

rpk ai policy apply

Reconcile policies from one or more YAML manifests.

For each manifest: create the resource if absent, otherwise update only the fields that are present in the manifest AND differ from the live resource. Fields you omit are left untouched; to clear a field, write it explicitly. Lists, maps and oneof variants replace wholesale. Fields that can only be set at creation time are immutable; changing one is an error.

Manifests round-trip with get -o yaml for this resource. Pass -f - to read stdin.

This does not delete resources absent from the manifests (no prune), and drift is detected only for the fields a manifest names; see diff --help.

Usage

rpk ai policy apply [flags]

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.