Deploy Redis Agent Playbooks
Add Redis Agent Playbooks to a Redis Iris suite release, then create a playbook, mint an agent key, and make one authenticated call.
Agent Playbooks installs as part of the redis-iris Helm chart. Follow Install the Redis Iris suite for the prerequisites, the shared Secrets, the preflight, and the install. This page covers what Agent Playbooks adds to that release, and ends with one authenticated call to the data plane.
Agent Playbooks is on by default (global.iris.products.playbook.enabled: true). Its values go under the playbook: key in iris-values.yaml. The chart's examples/playbook.yaml is a working values file for these steps.
1. Create the Agent Playbooks Secrets
Prepare playbook-storage.yaml and inference.yaml as shown in Configuration. The metadata and content Redis must be two different Redis deployments, and the content Redis needs JSON and Search. Then create the Secrets:
kubectl -n <namespace-name> create secret generic playbook-storage \
--from-file=playbook-storage.yaml=./playbook-storage.yaml
kubectl -n <namespace-name> create secret generic playbook-inference \
--from-file=inference.yaml=./inference.yaml
You don't need playbook-inference when every model is noop.
2. Add the Agent Playbooks values
Add the storage, models, and inference Secret to iris-values.yaml. See Helm values for each model setting.
playbook:
storage:
existingSecret: playbook-storage
inference:
existingSecret: playbook-inference
models:
- provider: openai
model: <embedding-model-name>
dimensions: <embedding-dimensions>
The suite sets these Agent Playbooks values itself. Don't set them under playbook:: a value that differs fails the render and names the field.
tenantId, fromglobal.iris.tenantId.license.existingSecretandlicense.secretKey, fromglobal.iris.license.dataplane.identityServiceBaseURLandidentityService.allowInsecureTransport, for the suite's own Identity Service.identityService.credentialandcontrolplane.internalToken, from the credentials the suite generates or that you supply inglobal.iris.secrets. The admin token is in the Secretiris-playbook-admin-token.auth.oidc.audience,dataplane.oidc, andcontrolplane.oidc.enabled, fromglobal.iris.auth.oidcandglobal.iris.auth.roleBindings.- The extraction connection and worker settings, from
global.iris.extraction.enabled. See Configure background FAQ extraction. fullnameOverride(redis-agent-playbook), the Service ports,dataplane.strategy, andpodDisruptionBudget.enabled, which the suite fixes. The suite runs two data-plane replicas by default.
Check these values before you install. If one is wrong, you see the symptom in its row.
| Check | Symptom | Fix |
|---|---|---|
inference.models lists at least one model |
Rendering fails | List each model the deployment offers. |
Each model's provider names an embedders_connection_details entry in inference.yaml |
Creating a playbook fails, or it doesn't become READY |
Add the entry under that provider name. |
| The content Redis has JSON and Search | The data plane isn't ready, or a playbook is FAILED |
Use a Redis 8 build that includes JSON and Search. |
3. Install or upgrade the release
For a new release, follow Run the preflight and Install. To add Agent Playbooks to a running release, upgrade it:
helm upgrade iris redis-ai/redis-iris \
--version 1.0.0 \
--namespace <namespace-name> \
-f iris-values.yaml
4. Verify the deployment
kubectl -n <namespace-name> rollout status deployment/redis-agent-playbook-controlplane
kubectl -n <namespace-name> rollout status deployment/redis-agent-playbook-dataplane
helm test iris --namespace <namespace-name> --logs
helm test creates a playbook, mints a scoped agent key, and calls the data plane with it. See Verify the release.
To call the services from your workstation, run each port-forward in its own terminal and leave it running:
kubectl -n <namespace-name> port-forward svc/redis-agent-playbook-controlplane 9200:9200
kubectl -n <namespace-name> port-forward svc/redis-agent-playbook-dataplane 9201:9201
kubectl -n <namespace-name> port-forward svc/iris-identity-service 9202:9200
Rerun a port-forward after its pod is replaced.
5. Create a playbook
Load the administrative credentials, then follow Create a playbook. Continue when its state is READY.
To create the playbook and its agent key in one step instead, use the iris CLI as in Create a store with the iris CLI.
6. Mint an agent key
Mint a key with a grant on the playbook through the Identity Service. See Create agent keys.
7. Make one authenticated call
Check the playbook with the key against the data plane:
curl --fail-with-body -sS \
"$IRIS_AGENT_PLAYBOOKS_URL/iris/data/v1/agent-playbooks/playbooks/$IRIS_AGENT_PLAYBOOKS_PLAYBOOK_ID/health" \
-H "Authorization: Bearer $IRIS_AGENT_PLAYBOOKS_API_KEY"
The response reports READY for the playbook and for its metadata Redis, content Redis, embedding provider, and license. A 401 means the key is wrong, expired, or revoked. A 403 means it has no grant on the playbook.