Upgrade
upgrade.sh is the Day-2 engine for an install install.sh created. It re-applies the same
Terraform composition and the same Helm chart at a newer revision, re-rendering the install from
the configuration it already has. A release copy of the script carries the version it upgrades to,
so the ordinary upgrade names no version at all.
An install whose GitHub forge is a GitHub Enterprise Server uses upgrade.sh too: it renders the
forge from GITOPS_FORGE=github, GITOPS_HOST and GITOPS_CA_SECRET in install.env. An install
made with the Terraform + Helm method is upgraded with that method: see
GitHub Enterprise Server in INSTALL.md.
This site describes main, not a release. It changes each time a docs change merges to main. For
the release you upgrade to, read the same pages at that release’s tag, for example
https://github.com/gke-labs/kube-agents/tree/<RELEASE_VERSION>/docs/site/src/content/docs/install/upgrade.md.
If this site and the page at the tag do not agree, the page at the tag describes the release. On
GitHub, the links between pages do not work: open each linked page at the same tag.
Before you start
Section titled “Before you start”A GitLab or Bitbucket install needs nothing extra for an upgrade: no token and no flag. See Upgrade and uninstall for GitLab and Upgrade and uninstall for Bitbucket.
Record what the install runs now, so you can tell afterwards what moved:
kubectl get deployment platform-agent-gateway -n kubeagents-system \ -o jsonpath='{.spec.template.spec.containers[?(@.name=="platform-agent")].image}{"\n"}'kubectl get deployment kube-agents-controller-manager -n kubeagents-system \ -o jsonpath='{.spec.template.spec.containers[*].image}{"\n"}'kubectl get platformagent platform-agent -n kubeagents-system \ -o jsonpath='{.spec.mode}{"\n"}'helm history kube-agents -n kubeagents-systemThe third command prints the install’s spec.mode as the release you run now stores it. An empty line or today means the install runs without the A2A stack, and the upgrade adds it: read Moving to the A2A stack first. next means it already has the stack.
Read the release notes for every release between the one you run and the one you are moving to.
The upgrade refuses to run without the install’s own configuration, because a full upgrade
re-renders the PlatformAgent resource from it: a file written from memory re-renders the install
with whatever it forgets. KUBE_AGENTS_INSTALL_ENV names the file outright, which is how an
ephemeral CI runner supplies one. Otherwise the script looks for install.env in the checkout it
is running from, then in the directory you run it from. When run from outside a checkout, such as
the piped release one-liner, it looks last in the install checkout the installer left in
$HOME/kube-agents. Standing in one install’s directory therefore upgrades that install, not
whichever one the checkout in $HOME belongs to.
If the file is lost, rebuild it first: see Recovering install.env.
--upgrade-mode=full, the default, additionally needs the terraform CLI on PATH.
Recovering install.env
Section titled “Recovering install.env”If the machine that ran install.sh is gone, rebuild install.env from what the install recorded.
No copy of the file exists on the cluster or in Google Cloud, and the generated
terraform.tfvars stayed on that machine too.
The install records its settings in three places:
- The Helm values record. Terraform rendered these values from
install.env, so most keys map to one value path. Read them withhelm get values kube-agents -n <NAMESPACE> -o json. - The Terraform state, at
gs://<PROJECT_ID>-kube-agents-tfstate/kube-agents/<CLUSTER_NAME>/default.tfstateunless the install moved it. It records the keys that the values do not hold. - The
PlatformAgentresource. Use it only as a cross-check. It also shows edits made withkubectl, and a value copied from such an edit changes what the upgrade renders.
The values record and the state both contain the install’s secrets. Do not print the whole state, and do not save either one to a shared disk.
-
Find the install.
gcloud storage ls gs://<PROJECT_ID>-kube-agents-tfstate/kube-agents/lists one folder for each cluster name.gcloud container clusters list --project <PROJECT_ID>gives each cluster’s location, andhelm list -A --filter '^kube-agents$'gives the namespace. If the state is not at the default path, setKUBE_AGENTS_STATE_BUCKETandKUBE_AGENTS_STATE_PREFIXto where you found it. -
Save the values without the secrets, and read the state outputs:
Terminal window helm get values kube-agents -n <NAMESPACE> -o json \| jq 'del(.platformAgent.credentials)' > values.jsongcloud storage cat <STATE_PATH> | jq '.outputs | map_values(.value)' -
Write each key from the tables below into a new file named
install.env. Write every value that is not empty, also when it equals a default: the upgrade does not apply every default thatinstall.shapplied. Leave a key out only when its value is empty, unless the table says otherwise. Write a list as comma-separated values, for examplejq -r '.platformAgent.integration.slack.allowedUsers | join(",")' values.json. -
Leave the secrets out. When the file holds no
API_SERVER_KEY, model provider API key, Slack token or Session KV key, the upgrade reads it from theplatform-agent-secretsSecret. SetPERSIST_SECRETS_ON_DISK=falseto keep them out of the regeneratedterraform.tfvarsas well. -
Check the file before you upgrade. Use the
upgrade.shof the release the install runs now, not the release you are moving to. Plan at the image tag in the state outputimage_tag. If the output isnull, use.platformAgent.deployment.image.tagfromvalues.json.Terminal window curl -fsSL https://raw.githubusercontent.com/gke-labs/kube-agents/<CURRENT_RELEASE>/upgrade.sh \| KUBE_AGENTS_INSTALL_ENV="$PWD/install.env" bash -s -- --plan \--image-tag="$(gcloud storage cat <STATE_PATH> | jq -r '.outputs.image_tag.value')"Exit code 0 means the file renders the install as it is. If the exit code is 2, find the key that differs and plan again (one exception:
THIRD_PARTY_REGISTRY_PREFIXadded per the table’s note below is expected to differ on older releases; keep it). The plan masks the Helm values, so comparevalues.jsonwith the file.
Then upgrade to the new release with the same file.
Keys in the values record
Section titled “Keys in the values record”Each path is a jq path on values.json.
| Key | Path | Notes |
|---|---|---|
PROJECT_ID |
.platformAgent.harness.projectId |
|
CLUSTER_NAME |
.platformAgent.harness.clusterName |
|
REGION |
.platformAgent.harness.location |
Copy it exactly. It can be a zone. |
NAMESPACE |
the release namespace | |
PLATFORM_AGENT_STORAGE_SIZE |
.platformAgent.storage.size |
Empty means the operator default. |
MODEL_PROVIDER |
.litellm.modelProvider |
|
MODEL_DEFAULT_NAME |
.litellm.modelDefaultName |
|
LITELLM_BUDGET_USD, LITELLM_BUDGET_PERIOD |
.litellm.budget.usd, .litellm.budget.period |
Absent means no ceiling. |
MODEL_MAX_TOKENS |
.litellm.maxTokens |
|
VERTEX_PROJECT_ID, VERTEX_LOCATION |
.litellm.vertex.projectId, .litellm.vertex.location |
vertex_ai only. |
LITELLM_REDACTION_ENABLED |
.litellm.redaction.enabled |
If it is true, also copy .litellm.redaction.ip.action to LITELLM_REDACTION_IP_ACTION, .litellm.redaction.ip.allowCidrs to LITELLM_REDACTION_IP_ALLOW_CIDRS and .litellm.redaction.rules to LITELLM_REDACTION_RULES (as JSON in single quotes). |
GOOGLE_CHAT_ENABLED |
.platformAgent.integration.googleChat.enabled |
If it is true, also copy these fields of .platformAgent.integration.googleChat: projectId to CHAT_PROJECT_ID (when different from PROJECT_ID), topicName to CHAT_TOPIC_NAME, subscriptionName to CHAT_SUB_NAME, mode to GOOGLE_CHAT_MODE, allowedUsers to ALLOWED_USERS, homeChannel to GOOGLE_CHAT_HOME_CHANNEL and homeChannelPolicy to GOOGLE_CHAT_HOME_CHANNEL_POLICY. |
SLACK_ENABLED |
.platformAgent.integration.slack.enabled |
If it is true, also copy these fields of .platformAgent.integration.slack: allowedUsers to SLACK_ALLOWED_USERS, homeChannel to SLACK_HOME_CHANNEL, homeChannelName to SLACK_HOME_CHANNEL_NAME and homeChannelPolicy to SLACK_HOME_CHANNEL_POLICY. |
GITOPS_ORG |
.platformAgent.integration.github.org |
|
GITOPS_REPO |
.platformAgent.integration.github.gitRepo |
The value is <org>/<repo>. Write only the part after the /. |
GITHUB_APP_ID |
.githubMinter.appId |
|
KMS_KEYRING, KMS_KEY |
.githubMinter.kms.keyring, .githubMinter.kms.key |
|
MINTER_SHARED_KEY |
None | Only on an install that shares a minter key on purpose: its <keyring>/<key>, which Helm does not hold. |
| GitLab keys | .platformAgent.integration.forges[0], .platformAgent.integration.repositories[0] |
If the forge’s provider is gitlab, set GITOPS_FORGE=gitlab. Copy the forge’s host to GITOPS_HOST, credentialsRef.name to GITLAB_TOKEN_SECRET and caBundleRef.name to GITOPS_CA_SECRET, and the repository’s repository to GITOPS_REPO. |
| GitHub Enterprise Server keys | .platformAgent.integration.forges[0], .platformAgent.integration.repositories[0] |
If the forge’s provider is github and it has a host, set GITOPS_FORGE=github. Copy the forge’s host to GITOPS_HOST, caBundleRef.name to GITOPS_CA_SECRET and namespace to GITOPS_ORG, and the repository’s repository to GITOPS_REPO. |
ENABLE_GVISOR |
.platformAgent.harness.experimental.shellSandbox.runtimeClassName (or .platformAgent.deployment.availability.runtimeClassName on older releases) |
gvisor means true. Write the key: absent, the upgrade reads the live install, and an apply that would drop the gVisor pool stops for --allow-node-pool-destroy. Manual Method 2 installs must re-apply config/admission/a2a-gateway-pod-policy.yaml before rolling the operator or CR so the cluster-singleton policy admits gVisor A2A session pods. |
MEMORY |
.platformAgent.harness.memory.provider |
kube_agents_memory is hindsight, multiuser_memory is file and none is off. |
USER_PROFILE_ENABLED |
.platformAgent.harness.memory.userProfileEnabled |
|
HERMES_DASHBOARD_ENABLED |
.platformAgent.harness.hermes.dashboardEnabled |
The upgrade does not read the old ENABLE_WEBUI name. |
WEB_CONSOLE_ENABLED |
.webConsole.enabled |
|
CARD_STOP_ENABLED |
.operator.cardStop.enabled |
|
ENABLE_DRIFT_DETECTOR |
.platformAgent.harness.driftDetector |
If enabled is true, write true. If the path is absent (null), write false. If it has a subscription but no enabled, write false and TF_VAR_enable_drift_pubsub=true. |
ENABLE_PUBSUB_PLATFORM |
.plugins.pubsubPlatform.enabled |
When .plugins.stockoutInvestigator.enabled is true, this value is always true and does not show the key. Write the key only if you know its old value. |
ENABLE_STOCKOUT_INVESTIGATOR |
.plugins.stockoutInvestigator.enabled |
If it is true, also copy these fields of .plugins.stockoutInvestigator.pubsub: topic to TF_VAR_stockout_pubsub_topic, subscription to TF_VAR_stockout_pubsub_subscription and sink to TF_VAR_stockout_pubsub_sink. |
SCOPE_* |
.platformAgent.scope |
Copy projects, folders, organizations, sharedVpcHosts, metricsScopes, maxProjects, exclude.projects and exclude.clusters (each as project/location/cluster). |
SCOPED_SA_POOL_ENABLED |
.platformAgent.security.scopedServiceAccountPool.enabled |
|
ACCEPT_NO_NETWORK_POLICY |
.platformAgent.annotations["kubeagents.x-k8s.io/network-policy-enforcement"] |
absent-accepted means true. |
REGISTRY_PREFIX, THIRD_PARTY_REGISTRY_PREFIX |
.global.imageRegistry, .global.thirdPartyImageRegistry |
If .global.imageRegistry was set but .global.thirdPartyImageRegistry was empty, check what the mirror holds. For an install created before the third-party fallback was removed whose mirror holds third-party images (the make mirror-images MIRROR_PREFIX= default), copy .global.imageRegistry to THIRD_PARTY_REGISTRY_PREFIX to keep third-party images on the mirror. Step 5 exits 2 on this key; keep it. If the mirror holds only first-party images, leave THIRD_PARTY_REGISTRY_PREFIX unset. |
PLATFORM_AGENT_GSA_NAME |
.platformAgent.security.serviceAccountAnnotations["iam.gke.io/gcp-service-account"] |
Write the part before the @. |
GITHUB_MINTER_GSA_NAME |
.githubMinter.gsaName |
|
GITHUB_MINTER_KSA_NAME |
.githubMinter.ksaName |
|
LITELLM_GSA_NAME |
.litellm.vertex.serviceAccountAnnotations["iam.gke.io/gcp-service-account"] |
vertex_ai only. Write the part before the @. |
CHAT_GSA_NAME |
.platformAgent.integration.googleChat.serviceAccountEmail |
Cross-project Google Chat only, when the part before @ is not kubeagents-chat-gsa. |
TF_VAR_agent_ksa_name |
.platformAgent.security.serviceAccountName |
|
TF_VAR_image_pull_secrets |
.global.imagePullSecrets |
Write it as a JSON list in single quotes. |
Keys outside the values record
Section titled “Keys outside the values record”| Key | Where to read it |
|---|---|
PLATFORM_AGENT_PERMISSION_SET, PLATFORM_AGENT_CUSTOM_ROLES |
The state output agent_project_roles. If it is not the read-only set, write custom and the roles. |
ENABLE_GKE_BACKUP_PLAN |
The state output backup_plan_name. A value means true. |
ENABLE_CALENDAR_MODE_ADVICE |
The state output calendar_mode_advice_role. A value means true. |
TF_VAR_drift_pubsub_topic, TF_VAR_drift_pubsub_subscription, TF_VAR_drift_pubsub_sink |
The state outputs drift_pubsub_topic and drift_pubsub_subscription. The sink has no output: gcloud storage cat <STATE_PATH> | jq -r '.resources[] | select(.type=="google_logging_project_sink" and .name=="drift_audit") | .instances[0].attributes.name'. |
VERTEX_MANAGE_SERVING_PROJECT |
On a vertex_ai install, false when this prints 0: gcloud storage cat <STATE_PATH> | jq '[.resources[] | select(.name=="litellm_vertex_user")] | length'. |
CHAT_MANAGE_PROJECT |
On a Google Chat install, false when this prints 0: gcloud storage cat <STATE_PATH> | jq '[.resources[] | select(.type=="google_pubsub_topic" and .name=="chat_events")] | length'. |
SKIP_CERT_MANAGER |
true when the cluster runs cert-manager and this prints 0: gcloud storage cat <STATE_PATH> | jq '[.resources[] | select(.type=="helm_release" and .name=="cert_manager")] | length'. |
HELM_UPGRADE_INSTALL |
true when this prints true: gcloud storage cat <STATE_PATH> | jq '.resources[] | select(.type=="helm_release" and .name=="kube_agents") | .instances[0].attributes.upgrade_install'. |
TF_VAR_extra_helm_values |
gcloud storage cat <STATE_PATH> | jq -r '.resources[] | select(.type=="helm_release" and .name=="kube_agents") | .instances[0].attributes.values[1]'. If it is not {}, convert it to JSON and write it in single quotes. |
GKE_DB_KMS_KEYRING, GKE_DB_KMS_KEY |
gcloud container clusters describe <CLUSTER_NAME> --location <REGION> --format='value(databaseEncryption.keyName)'. Write the names after keyRings/ and cryptoKeys/. Only for a cluster the install created or encrypted. |
GVISOR_POOL_NAME |
On a Standard cluster with gVisor, gcloud container node-pools list --cluster <CLUSTER_NAME> --location <REGION> --filter='config.sandboxConfig.type=GVISOR' --format='value(name)'. |
SCOPED_SA_POOL_MAX_ACCOUNTS |
No copy. If the cap is too low for the pool, the plan stops before any change. |
Any other TF_VAR_ line |
These lines have no installer key, so only the lost file had them. The composition README’s drift section lists the drift ones, and its stockout section lists the stockout ones. For TF_VAR_drift_pubsub_source_exclude_projects, compare the state output drift_pubsub_source_projects with scope_projects. For the writer identity overrides, read each sink’s writer_identity in the state. If step 5 shows a change that no key in these tables explains, look for a lost TF_VAR_ line. |
Leave out CLUSTER_MODE, GITHUB_PEM_PATH, GEMINI_API_KEY_SECRET_NAME, MIGRATE_NODE_POOLS,
ENABLE_NETWORK_POLICY and ALLOW_UNENCRYPTED_SECRETS. They do not change what the upgrade renders
for an existing install.
A missing key takes its default, and some defaults remove or add things on a full upgrade. The
installer README lists these keys in its
install.env section,
in the paragraph that starts “That precedence has a sharp edge” and the paragraph after it. A
rebuilt file has more cases:
- Without the GitHub App keys, a full upgrade stops while the token minter runs, and prints the lines to set. See When an upgrade is refused.
- Without the GitLab keys, the
PlatformAgentloses its GitLab repository. - Without the GitHub Enterprise Server keys, the
PlatformAgentnames its repository on github.com, and the agent loses its repositories on the instance. - Without
MODEL_PROVIDER=vertex_ai, the upgrade deletes the LiteLLM service account and its Vertex AI grant. - Without a drift or stockout
TF_VAR_name that the install changed, the upgrade replaces that resource with one that has the default name.
Do not skip step 5.
Run the upgrade
Section titled “Run the upgrade”Substitute <RELEASE_VERSION> with the release tag you are moving to, from
GitHub Releases:
curl -fsSL https://raw.githubusercontent.com/gke-labs/kube-agents/<RELEASE_VERSION>/upgrade.sh | bash -s -- \ --non-interactive \ --gcp-project-id="my-gcp-project" \ --gke-cluster-name="platform-agent-host" \ --gcp-region="us-central1"The release-pinned script upgrades to its own version, so you pass no tag. It reuses the install
checkout in $HOME/kube-agents, moving it to the release you asked for, and reads the install.env
in it. A checkout with uncommitted changes is left alone and the run stops rather than upgrading
from sources that do not match the release. Only a release copy is flagless: a copy built from
main carries no version and asks for one, so name a release tag in the URL rather than main.
The release bundle is the other supported source, and the one to use on a machine with no install checkout:
curl -fsSL https://github.com/gke-labs/kube-agents/releases/download/<RELEASE_VERSION>/kube-agents-<RELEASE_VERSION>.tar.gz | tar -xzcd kube-agents-<RELEASE_VERSION>cp /path/to/your/install/install.env ../upgrade.sh --non-interactive --gcp-project-id="my-gcp-project"Moving across more than one release
Section titled “Moving across more than one release”upgrade.sh does not check which release the install runs now. A full run applies the target
release’s CRDs, chart and Terraform composition to the install as it is. An operator run applies
the CRDs and the chart, and a harness run applies only the chart.
- No step depends on the release that the install came from. The Secret backfills add only the keys that are missing. The checks that can refuse a run read the target chart and the live install.
- Every release serves one version of each CRD,
v1alpha1, so no CRD conversion is necessary. - The composition’s only
movedblock, in thegke-clustermodule, is in every release since 0.1.0. The composition has noremovedblocks. - Some retired inputs still work for a time, with a warning, for example
GITHUB_REPOandTF_VAR_agent_service_account_id. If a run prints such a warning, changeinstall.envbefore the next upgrade. A later release can remove them.
The release pipeline upgrades an install from the previous GA release to each candidate from
main in the operator and harness modes; that leg does not gate the release, and the full mode is
not run release to release. No automated path moves an install across several releases, and no
policy says whether such a move is supported.
Before a move across several releases:
- Read the release notes of each release in between, and the breaking changes below.
- Use
--upgrade-mode=full, so that the CRDs, the chart and the Terraform composition all move. - Run
--planwith the target release’supgrade.sh, and read the whole plan.--plancompares the target composition with the install’s Terraform state. It does not know which releases you skipped. - Run the upgrade.
Breaking changes in recent releases
Section titled “Breaking changes in recent releases”The release notes list pull request titles only. A ! before the colon marks a breaking change.
0.10.0 and 0.11.0 have no ! changes. The table also lists changes with no ! that turn on something new for an existing install.
A row labelled pending is for a change that had not shipped in a release when the row was written; the row is relabelled with the release number after the release ships. Rows run newest first, with pending rows on top, so the top of the table is what the newest release changed.
After an upgrade whose row says the A2A bus rolls or restarts, check that every server rejoined it (After an upgrade that rolls the bus).
| Release | Change | What an existing install meets |
|---|---|---|
| pending | a bus migration checks its streams after a retried restore | Only installs that run a bus migration. When a stream’s restore fails partway, the retry now waits 7 seconds for the server to clean up the failed attempt, whose cleanup could otherwise remove the retried stream. Before the restore ends, it checks every restored stream is still on the bus. A stream that vanished turns the run back, or on the way back stops it as Failed, with its snapshot kept, instead of the run finishing without it. |
| pending | A Microsoft Teams message action in a chat the bot is not in gets a notice | An install whose Microsoft Teams is served by the A2A gateway, with integration.teams.allowAllUsers on and integration.teams.tenantId set. A person who uses the “Ask Kage about this message” action in a chat the bot is not in is told so in their personal chat with the bot, with the picked message quoted. Before, nothing followed the dialog. On every install with the action, the dialog now says the click was received and where a reply can appear; it said the click was sent. |
| pending | a profile task’s fleet collector run that names no project refuses | Only installs with an AgentProfile. The operator sets KUBEAGENTS_SCOPE_DECLARED=profile-task on profile workers, so the warm worker pools roll once. A fleet-audit collector run in a profile task that names no project (neither --scope-projects nor its own --project or --project-id) now refuses and lists nothing, where it used to fall back to the worker’s gcloud configuration. A run that names the task’s project runs as before. No chart profile or built-in schedule runs a collector without its project. |
| pending | a route change back to platform removes the warm session pod |
Only installs that ran defaultRoute: session with warm pods and then moved to platform, set warmSessions: 0, or lost room for any (a cap below 2, or no spare TASKS consumers). The gateway’s sweep now deletes the unclaimed warm pods nothing was sent to, about a minute after the new gateway takes over, instead of leaving each to exit on its own after up to 30 minutes. Claimed warm pods still last until their conversation is reaped. |
| pending | Microsoft Teams refuses a sender from another organization on the Planning Agent’s adapter too | An install whose Microsoft Teams is served by the Planning Agent’s adapter, with allowAllUsers on and tenantId set. In a channel or a group chat it reads each sender’s member record through the credential broker. A sender whose record names another tenant gets no answer and is told once. One whose record cannot be read, or names no tenant, gets no answer. A sender whose Entra object id is in allowedUsers is served without the read. Both the credential broker and the Planning Agent must run this release: with an older broker, every sender outside allowedUsers in a channel or a group chat gets no answer. An install with allowAllUsers off sees no change. |
| pending | only the operator or an admin may run a user AgentSchedule now | Only installs with user AgentSchedules, or tooling that sets kubeagents.x-k8s.io/run-now on them. With admissionPolicy.enabled on Kubernetes 1.30+, the creator admission policy gains a rule: on a schedule that names a creator, only the operator or a system:masters member may add or change run-now, and anyone may remove it. A built-in or creatorless schedule’s run-now is unchanged. A user schedule that isn’t admitted runs no run-now; the operator marks the token handled and leaves a RunNowIgnored Warning. While an upgrade is in progress, an operator that meets the older policy reads CreatorPolicyMissing until the chart’s policy lands. That costs nothing, since no user schedule fires yet. Rollback removes the rule. |
| pending | session pods and AgentProfile workers run on a Debian 13 image with no Node |
Every install with the A2A stack. The gateway starts session pods from the worker image, and AgentProfile workers use the same image. The image no longer has node, npm, npx, corepack or yarn, and its shell has Python 3.13 (was 3.11), jq 1.7 (was 1.6) and git 2.47 (was 2.39). The stock personas use none of the removed programs. A persona script of your own that runs one of them, or that needs the old versions, fails in a session pod or a worker until you change it. |
| pending | spec.harness.tuning.runClaims turns on the gateway’s run claims |
No behaviour change unless an install sets spec.harness.tuning.runClaims: true. Then the A2A gateway mints run claims and session turn credentials, and restarts whenever the field or the operator’s verdict changes, an image change included. The operator allows it only while the gateway and broker images are the ones it derives from its own image (OPERATOR_IMAGE, which must match the image it runs; mirrors included). An override (A2A_GATEWAY_IMAGE, CREDENTIAL_PROXY_IMAGE, PLATFORM_AGENT_IMAGE, spec.deployment.image) refuses it only when it renders another image. The RunClaims condition names the fixes: remove the override, or list both refs in the annotation kubeagents.x-k8s.io/run-claims-images-verified. Set it after the upgrade finishes rolling out, on pinned tags: :latest can resolve to an older image on a node. |
| pending | the A2A bus moves to NATS server 2.11 | Every install. The bus’s NATS server moves from 2.10.29, which is out of upstream support, to 2.11.17, the first of the steps to 2.14. The bus StatefulSet rolls once, one server at a time, and the provisioning Job runs again; nothing new is turned on, so stream data and grants are unchanged. After the roll, check the bus as After an upgrade that rolls the bus says. Rolling back to 2.10.29 is supported for this step: 2.10 rebuilds its stream state files on start, without data loss. |
| pending | the A2A bus never moves to an older NATS server | Every install with a bus. The operator records the newest NATS server version it has rendered for the bus in the kubeagents.x-k8s.io/a2a-bus-server-version annotation, before the roll that starts it. An operator from this release or later, rolled back to an older bus image, keeps the newer server running and says so in the A2ABusImageHeld condition and a Warning event. A rollback to an earlier release doesn’t read the record. A bus image whose tag doesn’t start with a server version, such as latest or a digest alone, is refused too, unless the digest is one of the NATS images the operator has pinned. To keep a digest pin, put the version tag in front of it (<repository>:2.11.17-alpine@sha256:...). Nothing rolls. |
| pending | the agent images drop ffmpeg, the compilers, the Docker CLI and the headless Chromium |
Every install. The platform-agent image, and each image built on the same Hermes base, no longer holds ffmpeg, the C and C++ compilers, the Docker CLI or a Chromium. The Debian packages from the Hermes base move to a pinned day of the Debian archive. Voice transcription and text-to-speech stop working. A profile that enables the browser toolset gets no browser tools, and spec.deployment.browserArgs has no effect. A Python package without a prebuilt wheel no longer installs into the image. No stock profile used any of these. An install that needs one builds its own image with it. |
| pending | the compliance-audit canary runs daily where the fleet-audit profile is enabled | Only installs that set profiles.fleetAudit.enabled (off by default) with the schedule reconciler on (A2A_AGENT_SCHEDULES). The operator renders the built-in AgentSchedule compliance-audit-canary, which runs the compliance audit on the fleet-audit profile at 06:20 UTC daily, beside the Platform Agent’s unchanged compliance-audit job. It is a shadow run: it posts nothing, files no issue and opens no pull request, and keeps its report only in its own report-store stream (start and finish --store-only). Its per-cluster children need the cluster profile to list unattended. The fleet-audit profile gains delegates: true. Pause it with an override on compliance-audit-canary; turning the profile off deletes it. |
| pending | the credential broker’s kubectl is one fixed 1.36 client |
Every install. The credential-proxy image had the kubectl package from Google’s apt repository, a dispatcher that holds a client for each minor from 1.31 to 1.37 and runs the one that fits the cluster. The image now holds one kubectl 1.36 binary, the same version as the agent’s shell, so every kubectl the credential broker runs is 1.36. That client supports clusters on Kubernetes 1.35, 1.36 and 1.37; a cluster on 1.34 or older is outside its supported version skew. The credential-proxy and gateway pods roll once. |
| pending | the gateway keeps each scheduled report it posts as its thread’s incident | Every install with the A2A stack. The gateway now asks the Hermes bridge, over the new chat.incident request, to keep each scheduled report it posts against the thread it landed in, so a reply there carries the report even after the gateway restarts. That changes nats.conf, where the bridge’s grants are: the A2A bus rolls once, one server at a time, and again on rollback. The callout’s identity map gains the gateway’s grants on the subject, served without a restart. Where Slack or Google Chat is set up, the agent pod restarts once, and again on rollback, for the bridge’s new home-channel settings. Session-kv’s incidents table gains a source column, which a rollback leaves in place. |
| pending | the hermes-bridge cli executor is retired |
Only installs that set A2A_BRIDGE_EXECUTOR=cli on the operator, or that declare a bridge sidecar with BRIDGE_EXECUTOR=cli or with no API_SERVER_KEY. The bridge runs the api executor only: the Planning Agent answers, where cli ran the Platform Agent directly. The operator ignores A2A_BRIDGE_EXECUTOR=cli, writes a BridgeExecutorRetired Warning Event on the PlatformAgent, and renders the api bridge at the default size. Remove the setting before the upgrade, or upgrade the operator before the agent image: an earlier operator passes it to the new bridge, which exits at start. A declared sidecar exits at start on the new image: give it the key and remove the variable first. The quota preflight no longer raises its count for A2A_BRIDGE_EXECUTOR. |
| pending | the hermes-bridge image holds the bridge alone |
Every install. The hermes-bridge image is the bridge program on a minimal base, without the agent’s files, a shell or the agent’s entrypoint script, and the agent pod rolls once for it. The bridge now asks the agent container for the kanban cards that a console, MCP or A2A-door turn waits on. Keep the bridge and the agent image on one release; by default they move together. A bridge that is newer than its agent container ends such a turn with the turn’s own text and does not wait for the cards. If the agent container restarts for more than 16 minutes during such a wait, the turn also ends with its own text. Chat turns do not change. |
| pending | the hermes-bridge sidecar’s card wait needs the agent’s release and its session key |
Only installs where the bridge and the agent image can differ. One kind pins the bridge with hermesBridge.image or an A2A_BRIDGE_IMAGE entry in operator.extraEnv. Another has a custom or digest-pinned agent image, so its bridge follows the operator. The third declares its own bridge sidecar. There, move the agent image first, then the bridge. A declared bridge sidecar also needs SESSION_KV_API_KEY in its environment: without it the bridge logs “the card wait is off” once, and console, MCP and A2A-door turns no longer wait for their cards. A declared sidecar whose command runs a shell or the agent’s entrypoint script does not start on the new image; the bridge program is still at /usr/local/bin/hermes-bridge. |
| pending | the operator may restart one A2A bus server on its own | Every install with a bus of more than one server. When one server has been outside the JetStream meta group for 5 minutes, the operator now restarts it once by deleting its pod, under guards that keep the bus’s quorum (the A2ABusServersCurrent condition’s entry lists them). At most once per server per StatefulSet revision and per 24 hours; after that it’s left for a person. To see it happened, look for a Warning A2ABusServerRestarted Event on the PlatformAgent. No new RBAC. On rollback, an older operator restarts nothing. |
| pending | the scope publisher runs for every scope | Installs with the chart’s kube-agents-a2a-gateway-pod admission policy, the default. An explicit-projects or no-scope install gains the <agent>-scope-publisher ServiceAccount, Role, RoleBinding, NetworkPolicy, a Job every 15 minutes and the ScopeResolved condition. The credential broker rolls once. The delegate tool then lists its clusters. Admission and Ready don’t change. A namespace ResourceQuota needs room for one more pod: 50m CPU and 192Mi memory requested, 500m and 512Mi in limits. A stock install totals 34 pods, 6136m and 18768Mi requested, 44250m and 55072Mi in limits. Without that room helm upgrade stops and names the pod: raise the quota (preferred), or set quotaPreflight.enabled=false. Rollback removes the objects and the condition, and rolls the broker; then delete the resolved-scope.json key from <agent>-resolved-scope. |
| pending | the task credential readers take a repository-read claim | Every install. The task credential readers, the credential broker and the kube-proxy gate accept a new repo_read claim on a task credential that names no cluster. The broker admits such a credential to seven version-control read verbs alone and refuses it on every other route; the kube-proxy gate refuses it. Nothing issues the claim yet, so nothing changes. A rollback is safe while nothing issues it. |
| 0.50.0 | a provisioned A2A bus reports a server outside its meta group | Every install with a bus of more than one server. The operator now checks every five minutes that each bus server is in the JetStream meta group, and writes the new condition A2ABusServersCurrent. A server outside for 5 minutes or more turns it False and sets Degraded to A2ABusServerOutsideMetaGroup, naming the server and the kubectl delete pod that usually brings it back; Ready doesn’t change. After an upgrade that rolls the bus, check kubectl get platformagent -o yaml for that reason. Alerts that page on any Degraded will now page on it too. |
| 0.50.0 | core-agent applies the turn budget again | Profile workers and session pods running core-agent. In the release before this one, core-agent didn’t apply an AgentProfile’s spec.harness.maxTurns, or the default of 20, so a task was bounded only by its deadline. This release caps each task’s turn at that budget again: the model call past it is refused, and the task fails with error_max_turns (“the agent used up its turns before it answered”). A profile whose tasks need more raises spec.harness.maxTurns. |
| 0.50.0 | core-agent is the harness for profile workers and session pods | Profile workers and session pods run core-agent, now the meaning of an unset spec.harness.type or spec.harness.sessionWorker.type. Warm pools roll once; live conversations move over on their next turn. The worker image drops Claude Code; claude-code stays in both enums so existing objects validate. A profile naming it reads IdentityReady=False (HarnessNotSupported) and runs no worker; a PlatformAgent naming it reads SessionHarness=False and runs core-agent. First set any pinned spec.harness.image to this release’s worker image: older ones keep Claude Code or, before 0.43.0, never start. Rolling back restores Claude Code once each profile’s image is reverted too. The older operator refuses a profile set to core-agent; the older gateway may reuse a core-agent session pod until it expires. |
| 0.50.0 | fleet-tier session pods default to a 6Gi memory limit | Only installs that set KUBEAGENTS_KUBECTL_COST_TIER=fleet and no sessionResources.limits.memory. Each A2A session pod’s memory limit defaults to 6Gi, not 2Gi; the request stays 320Mi. Its cluster-wide kubectl lists then fit the kubectl admission, except full-object Pod lists (What each pod needs). The gateway rolls once; running session pods keep 2Gi until they respawn. The quota preflight counts 6Gi of limits per session pod, so a ResourceQuota on limits.memory sized for 2Gi refuses helm upgrade. A LimitRange whose memory maxLimitRequestRatio is below 19.2 refuses new session pods. On Autopilot without Pod bursting the pods keep their shape, but the preflight still counts 6Gi; with bursting the 6Gi limit applies. Set sessionResources.limits.memory: 2Gi to keep the old limit. |
| 0.50.0 | the agent’s kubectl moves from 1.35 to 1.36 |
Every install. The kubectl in the agent’s shell and in session and profile workers is now 1.36, which supports clusters on Kubernetes 1.35, 1.36 and 1.37; a cluster on 1.34 is outside its supported version skew. kubectl describe of more than one object still prints Events, which 1.36 leaves out by default: the shell and the workers set a kubectl preferences file that keeps them, and the credential broker adds --show-events=true to a describe it runs. In the shell, and on a worker whose kubectl goes through <agent>-kube-proxy, an explicit --show-events=false still turns them off. A profile worker whose kubectl goes through the credential broker always gets Events, because the broker refuses --show-events on its command line. |
| 0.50.0 | the credential broker and the report store take a run’s declared-intent record | Every install. The task credential readers accept a new report_run claim, and the credential broker and the report store listener accept one more record name on the audit-report run routes, runs/declared-<run id>, written only by a task whose credential’s report_run names that run. Nothing issues the claim yet, so nothing writes the record and nothing changes. A rollback is safe while nothing issues it. |
| 0.50.0 | the credential broker refuses a session credential once its turn ends | Every install with the A2A stack. The gateway may now publish credential.session.turnend, which changes nats.conf: the A2A bus rolls once, one server at a time, and again on rollback. The callout’s identity map gains a subscribe-only entry for the broker’s ServiceAccount, served without a restart, and the bus’s NetworkPolicy admits the broker’s pods on port 4222. Where the broker verifies session credentials, it restarts once, and again on rollback, to run a2a session-revocations. It then refuses a session credential once its turn ends, and after a restart or bus disconnect refuses those issued before it resubscribed. Nothing mints these credentials unless A2A_MINT_RUN_CLAIMS is on. |
| 0.50.0 | user AgentSchedules need a creator written under an admission policy | Only installs with user AgentSchedules, or tooling that writes their annotations. With admissionPolicy.enabled on Kubernetes 1.30+, the chart adds the kube-agents-agentschedule-creator ValidatingAdmissionPolicy: anyone but the operator who sets or changes kubeagents.x-k8s.io/created-by-backend, created-by-subject or created-under-policy is refused, and so is a spec change (except spec.suspend) that keeps them. A user schedule that read UserSchedulesDeferred now reads NeedsAdoption (no creator, or one not written under the policy) or CreatorPolicyMissing (the policy isn’t in place: Kubernetes 1.29, admissionPolicy.enabled=false, or a manual install whose operator lacks A2A_AGENTSCHEDULE_CREATOR_POLICY=true). The operator gets get on the policy and its binding by name. No schedule fires that didn’t before. Rollback removes the policy. |
| 0.49.0 | AgentProfile workers’ kubectl goes through <agent>-kube-proxy |
An install with an AgentProfile bound. Once the proxy admits profile workers and has finished restarting, the operator points worker pods at it and opens the profile namespace’s NetworkPolicy to its port. The warm worker pools roll once more when that happens; while the proxy restarts, a KubeProxyProfileRouteWaiting event says so. A worker’s kubectl then reaches its task’s cluster through the proxy’s read-only-dry-run policy, not the broker. kubectl auth can-i is refused. The broker’s profile-role limits and output redaction no longer cover kubectl. kubectl runs under the wrapper’s memory admission. Any A2A_PROFILE_KUBE_PROXY value but true on the operator (operator.extraEnv) keeps workers’ kubectl on the broker. The NetworkPolicy stays open to the proxy, whose credential check remains the control. |
| 0.49.0 | an excluded cluster’s nodes’ own log entries are left out | Only installs that set spec.scope.exclude.clusters. gcloud logging read and the broker’s Logging relay also leave out the entries of an excluded cluster’s nodes that carry no cluster name, such as their serial console logs and the audit entries about them, matched by the node’s instance name. The nodes of a cluster whose name starts with the excluded name and a hyphen, or with its first 16 characters when it is longer, lose those entries too. gcloud compute instances get-serial-port-output is refused for such a node (scope.excluded-cluster). |
| 0.49.0 | an hourly Job compacts the session-state bucket | Every install with the A2A bus. Once the bus is provisioned, the operator starts a short Job every hour, <agent>-a2a-kv-compact-<hour>, that purges the delete markers the gateway leaves in the session-state bucket, which otherwise fill it until every session write fails. It runs the operator’s own image (OPERATOR_IMAGE), as a new bus principal, kv-compact, under a new ServiceAccount <agent>-a2a-kv-compact, and requests 50m CPU and 128Mi memory with a 768Mi memory limit. A namespace ResourceQuota needs room for one more pod and those figures; the chart’s quota check counts them, and the operator’s session quota grows by one pod. The first run after the upgrade can fail once, before the auth callouts load the new principal; the next hour’s runs normally. |
| 0.49.0 | Microsoft Teams messages have an “Ask Kage about this message” action | An install whose Microsoft Teams is served by the A2A gateway. The action asks the agent about the picked message, as Slack’s shortcut does, and Teams opens a small dialog on the click saying it was sent. It appears only after an admin brings the Teams app’s manifest up to docs/samples/teams-manifest.json, with its composeExtensions block, raises its version, and uploads the package again: the edits, and what Teams refuses. Until then nothing changes. Do not add the block where the Planning Agent serves Teams: a click there is confirmed and never answered. The Teams receiver and the A2A gateway must both run this release: an older receiver leaves the click showing “Unable to reach app”. |
| 0.49.0 | Microsoft Teams refuses a sender from another organization where every user is allowed | An install whose Microsoft Teams is served by the A2A gateway, with allowAllUsers on and tenantId set. In a channel or a group chat the gateway reads each sender’s member record through the credential broker, which relays one more Teams call. A sender whose record names another tenant gets no answer and is told once. One whose record cannot be read, or names no tenant, gets no answer. A sender whose Entra object id is in allowedUsers is served without the read. Both the credential broker and the gateway must run this release: with an older broker, every sender outside allowedUsers in a channel or a group chat gets no answer. An install with allowAllUsers off sees no change. |
| 0.49.0 | new installs leave Secret reads off the agent’s minimal ClusterRole | New installs only. The agent’s minimal ClusterRole (kubeagents:minimal:<ns>:<name>) no longer grants get, list or watch on Secrets by default, so the agent’s kubectl get secret and kubectl describe secret on the install’s cluster are refused, and the stall report skips its dangling Secret reference check. Existing installs keep their setting, read from the ClusterRole they hold; one whose minimal ClusterRole was deleted or renamed is treated as new. Set spec.security.disallowSecretsRead: false (platformAgent.security.disallowSecretsRead: false in the chart) to keep Secret reads. |
| 0.49.0 | the A2A bus rolls once for the gateway’s scheduled-report grants | Every install. The A2A gateway’s bus identity gains the KV_SCHEDULED_REPORTS bucket, where a schedule trigger records its finished runs, and the KV_SCHEDULE_THREADS bucket, which keeps each schedule’s thread for the UTC day. The grant is part of the rendered nats.conf, so a three-server bus rolls once on the upgrade, one server at a time while R3 streams keep serving, and a one-server bus restarts briefly. A session turn whose bus server restarts under it can fail; ask again. Rolling the operator back rolls the bus once more, and leaves both buckets in place. |
| 0.49.0 | the A2A bus’s nats-box image is pinned by version and digest | Every install. The provision Job runs natsio/nats-box:0.14.5 pinned by digest, the image that tag already names, so the nats CLI does not change. The operator upgrade re-runs the provision Job once under a new name; the bus does not roll. An install that sets a2aBus.images.natsBox.repository and keeps the chart’s tag now pulls <repository>:0.14.5@sha256:…, so that mirror must hold the upstream multi-arch index, which make mirror-images copies with crane or skopeo. Under global.thirdPartyImageRegistry the digest is dropped, as for the other three bus images. An install that sets A2A_PROVISION_IMAGE keeps its own image. |
| 0.49.0 | the A2A console requires NetworkPolicy enforcement | Only installs whose PlatformAgent carries kubeagents.x-k8s.io/network-policy-enforcement: absent-accepted, which the Terraform composition stamps when such an install proceeded onto a cluster enforcing no NetworkPolicy. The operator removes <agent>-a2a-console and runs none, and the PlatformAgent reports A2AConsole False (NetworkPolicyNotEnforced). To get it back, enforce NetworkPolicy on the cluster (Dataplane V2 or Calico) and run the installer again, which removes the annotation. A direct Helm install on a cluster without enforcement should set the annotation itself (installing without NetworkPolicy enforcement). Rollback runs the console again; the A2AConsole condition stays on the status, since an older operator doesn’t know it, until it is removed by hand. |
| 0.49.0 | the GitHub token minter uses the outbound proxy and trusts its CA bundle | An install with platformAgent.proxy set. The token minter gets the proxy variables, its NetworkPolicy gains the rules in platformAgent.proxy.egress, and with caBundleRef it mounts the bundle, so its pods roll once. Its calls move from a direct connection to the proxy, which must admit api.github.com, cloudkms.googleapis.com, accounts.google.com and www.googleapis.com. List a GitHub Enterprise Server host in noProxy if the proxy should not carry it. The chart now checks platformAgent.proxy.egress as the PlatformAgent does: a rule with no address, a bad port or an unknown key stops the install. An entry Kubernetes refuses, such as a malformed address or an except outside its range, fails when the minter’s policy is applied. |
| 0.48.0 | a profile task’s log read leaves out the profile and agent namespaces | Only installs with an AgentProfile. A profile task’s gcloud logging read runs with a filter clause that drops the container logs of the profile namespace and of the agent’s namespace, and a read whose filter cannot take the clause is refused. A task’s kubectl logs in either namespace, or with --all-namespaces, is refused with the rule caller.profile-log-read. The rule goes by the namespace’s name, on each cluster that a task reads. A check that needs those logs belongs to the platform agent (the profile namespace). |
| 0.48.0 | kube-proxy uses the outbound proxy and trusts its CA bundle |
An install with spec.proxy set (platformAgent.proxy). <agent>-kube-proxy gets the proxy variables and, with caBundleRef, the bundle, and rolls once. Its requests to the GKE API and to each cluster’s control plane, the install’s own included, move to the proxy. So do its token requests under Workload Identity Federation or scoped service accounts. The proxy must admit those hosts. Its traces can go to the proxy too, when the install sets a collector endpoint that matches nothing on NO_PROXY. List in noProxy a control plane reached by an IP address the proxy cannot reach, such as a private one. Behind a proxy that re-signs HTTPS, list every control plane reached by IP address: it is checked against the cluster’s own CA. |
| 0.48.0 | Microsoft Teams adds who was in the conversation to each message’s record | An install with Microsoft Teams enabled. The credential broker relays one more Teams call: reading the members of one conversation. It hands back member ids and whether there are more, never names or emails. Where the A2A gateway serves Teams, it reuses a conversation’s successful read for five minutes and records who was in the conversation with each message, as on Slack and Google Chat. Nothing to do on upgrade. |
| 0.48.0 | the credential broker’s Google Chat API client uses the proxy variables | An install with Google Chat enabled whose credential broker has proxy variables, from spec.proxy or from literal entries in spec.deployment.env. The broker’s Chat API calls, and the token requests they make, now go through that proxy; before, they connected directly whatever the variables said. The proxy must admit chat.googleapis.com and the Google token endpoints the install’s credentials use, and must accept a plain CONNECT: the client sends one whatever the scheme of the proxy URL. Name the proxy’s port in the URL: with none, this client dials 443. For this client a NO_PROXY entry matches by exact name or leading-dot suffix only. |
| 0.48.0 | the operator owns Secret <agent>-a2a-session-signing-key |
Every install with the A2A stack. The operator generates a session-signing keypair, separate from the task-signing key, and the A2A gateway mounts its seed, so the gateway restarts once. On an install where session pods get the cluster view, the credential broker and its exec tier also take the public half and restart once. The gateway also gets the credential lifetime ceiling, and signs with the key only once A2A_MINT_RUN_CLAIMS is on, which nothing sets by default. The name is reserved for the operator: a Secret of that name it does not own stops the reconcile. Delete the Secret to rotate the key. A rollback restarts those pods once more and leaves the Secret, which a later upgrade reuses. |
| 0.47.0 | default gvisor RuntimeClass moves from <agent>-gateway to model-executing workloads |
Every install keeping default gVisor settings. <agent>-shell, AgentProfile workers, and new A2A session pods roll onto runtimeClassName: gvisor (platformAgent.harness.experimental.shellSandbox.runtimeClassName), while <agent>-gateway moves back to the standard runtime (availability.runtimeClassName: ""). Direct helm upgrade on clusters without a gvisor RuntimeClass must pass platformAgent.harness.experimental.shellSandbox.runtimeClassName="", or the agent reports Degraded (RuntimeClassNotFound). Manual Method 2 and shared-cluster installs must re-apply a2a-gateway-pod-policy.yaml before rolling the operator so the policy admits gVisor session pods. |
| 0.47.0 | GCP resource names in spec.harness and spec.integration.googleChat are validated |
The PlatformAgent CRD, webhook and chart values schema refuse a malformed name. harness.location and clusterName take lowercase letters, digits and hyphens, a letter or digit first, at most 63 characters, never empty. The two projectId fields take the same, optionally after a domain or partition prefix (example.com:my-project), at most 128. googleChat.topicName and subscriptionName take a Pub/Sub name. An update that leaves a stored value unchanged still passes the webhook, and the CRD on Kubernetes 1.30+; on 1.29 it is refused until the name is fixed. helm upgrade checks the values file in full. The broker won’t start, and the admin console’s Chat status skips its Cloud checks, on such a name. Rollback restores the earlier CRD. |
| 0.47.0 | Microsoft Teams can open a personal chat with a person | An install with Microsoft Teams enabled. The credential broker relays one more Bot Framework call: creating a one-to-one chat between the bot and one person, held to the install’s tenant. It writes that request itself from the person’s id, and refuses it when integration.teams.tenantId is unset. No feature opens such a chat yet, so nothing changes in what people see. |
| 0.47.0 | Microsoft Teams is served by the A2A gateway by default | An install with Microsoft Teams enabled. On upgrade Teams moves from the Planning Agent’s adapter to the A2A gateway. Answers arrive as cards with 👍 and 👎, and the status line has a Stop button. Alerts and the built-in scheduled reports start posting to the Teams home channel. A hand-made scheduled job that delivers to Teams no longer delivers. To stay as before, apply the new CRDs and set platformAgent.integration.teams.backend: hermes in the chart values (spec.integration.teams.backend on the PlatformAgent). Or set A2A_TEAMS_BACKEND to exactly false on the operator (operator.extraEnv), which needs no new CRD and covers agents that name no backend. An install that ran with A2A_TEAMS_BACKEND=true sees no change. spec.integration.teams.answerFeedback: false turns the rating buttons off on every chat platform the install has. |
| 0.47.0 | Microsoft Teams’s cron reports arrive as cards, and the stuck-task report has Retry and Drop | An install whose Microsoft Teams is served by the A2A gateway, with adaptiveCards on. The stuck-task report and the fleet-audit report arrive in the Teams home channel as cards, as on Slack and Google Chat, where they were text. The stuck-task report shows Retry and Drop under each task, and anyone the agent answers may press them. |
| 0.47.0 | the fleet-audit scripts keep their reports in the broker store | Every install. The operator adds FLEET_AUDIT_REPORT_STORE=broker to the sandbox’s shell container and to profile workers, so the sandbox and warm worker pools roll once. The scripts’ first store touch copies each stream’s envelopes from the sandbox’s /opt/data/fleet-audit/reports into the broker store and leaves .seeded-to-broker beside them. A stream on a repository no longer registered is skipped, and logged. Nothing local is deleted. A rollback returns the scripts to the local copy as of that first touch, without the broker runs since. Upgrading again copies nothing new: delete a stream’s .seeded-to-broker first to copy its rollback-window runs. |
| 0.46.0 | Microsoft Teams marks your message with a reaction | An install with the gateway’s Teams backend armed (A2A_TEAMS_BACKEND=true on the operator). Your message on Teams gets the bot’s reaction for its kind of ask, with the emoji Slack uses, until the turn ends, and ❌ if the turn failed. The credential broker relays two more calls for it: adding and removing the bot’s own reaction on one message. A call Teams refuses is logged and not retried, so a reaction can be missing or left on. To turn the reactions off, set A2A_TEAMS_MESSAGE_MARKS=false on the operator (operator.extraEnv). |
| 0.43.0 | Microsoft Teams’s alerts and reports end with 👍 and 👎 | An install with the gateway’s Teams backend armed (A2A_TEAMS_BACKEND=true on the operator) and adaptiveCards on. An alert or a report the agent posts in the Teams home channel on its own ends with 👍 and 👎, as on Slack and Google Chat, and a report that carries a layout arrives as a card. A rating keeps the post in the install’s feedback bucket for 30 days and counts apart from answer ratings. The switches that turn answer feedback off turn this off too. |
| 0.43.0 | proxy variables from spec.deployment.env carry over to the A2A gateway |
Installs that set literal HTTP_PROXY, HTTPS_PROXY, NO_PROXY, http_proxy, https_proxy, or no_proxy entries in spec.deployment.env (platformAgent.deployment.env). The operator now forwards those literal entries to <name>-a2a-gateway, rolling the gateway once on upgrade. The gateway’s in-cluster Kubernetes API clients and its Google Chat and Teams relay clients bypass proxy variables. Admit the proxy destination with a NetworkPolicy selecting app: <name>-a2a-gateway where the CNI enforces egress policies. |
| 0.43.0 | SlackConnected and Degraded (SlackConnectionFailed) report Slack failures |
Every install with Slack enabled on the A2A gateway. On the five-minute usage poll cadence (first poll 30 seconds after leader election), the operator reads kubeagents_a2a_gateway_slack_connected into SlackConnected. It reports True/SocketModeConnected on the first 1, False/ConnectionFailed after two consecutive 0 polls, and clears when Slack is disabled or the gauge is absent for two polls. While SlackConnected is False, Degraded reports SlackConnectionFailed without changing Ready or phase. Rolling back leaves any already-written SlackConnected condition in place while Degraded reconciles on the next pass. |
| 0.43.0 | the drift detector lists an upgrade’s own changes in summary messages | The upgrade to this release still gets a drift alert for each object it changes, up to the daily limit (ALERT_DAILY_LIMIT_DRIFT, 20 by default), because the drift detector of the release you upgrade from reads it. From the next upgrade on, on an install that Helm made, those changes go to “Drift backlog” messages and spend no alert; a delete still gets its alert. See Daily alert ceiling. |
| 0.43.0 | the shipped cluster profile runs up to four tasks at once |
Only installs that enable profiles.cluster change; it is off by default. Its concurrency goes from 2 to 4. On defaultRoute: session, where the warm pool is sized to the profile’s concurrency, it runs four worker pods instead of two (each requests 250m CPU and 512Mi memory), so a question’s four or five cluster reads run at once. On the platform route its read-tier pool stays at one warm pod, and up to four permit-carrying tasks may run as Jobs instead of two, within the profile ceiling. No pod restarts. To keep two, set profiles.cluster.concurrency: 2. |
| 0.42.0 | Microsoft Teams draws the agent’s answers, questions, plans and reports as cards with buttons | An install with the gateway’s Teams backend armed (A2A_TEAMS_BACKEND=true on the operator) and adaptiveCards on. An answer, question, plan or report the agent sends as a laid-out message arrives as one card on Teams. Each choice is a button, and a press answers as a typed reply would. The card then shows who answered and with which choice. With adaptiveCards: false the text is posted as before. Nothing to configure. |
| 0.42.0 | Microsoft Teams shows a typing indicator while handed-off work is open | An install with the gateway’s Teams backend armed (A2A_TEAMS_BACKEND=true on the operator). While work handed to a card is still open in a Teams conversation, the bot shows Teams’s typing indicator there. It stays off while the first agent’s own line shows the work and while the agent is waiting on the person. It stops ten minutes after the hand-off or the person’s next message at the latest. Teams draws it in a one-to-one chat with the bot and not in a channel thread. The gateway posts the indicator through the broker every three seconds per such conversation, counted as other in kubeagents_a2a_gateway_teams_api_request_duration_seconds. Nothing to configure. |
| 0.42.0 | Microsoft Teams’s answers end with 👍 and 👎 | An install with the gateway’s Teams backend armed (A2A_TEAMS_BACKEND=true on the operator). The final answer to each ask on Teams ends with 👍 and 👎 on its card, as on Slack and Google Chat; a 👎 unfolds a form for an optional note. A rating keeps the question and the answer in the install’s feedback bucket for 30 days, and the first one adds the line “Feedback recorded. Thank you.” to the card. To turn it off, set A2A_TEAMS_ANSWER_FEEDBACK=false on the operator (operator.extraEnv), or answerFeedback: false on Slack or Google Chat where the install has one; any of the three turns feedback off on every chat platform the install has. |
| 0.42.0 | profile warm pools sized to concurrency, for defaultRoute: session |
No behaviour change unless an install sets spec.harness.tuning.defaultRoute: session and leaves profiles.warmReplicas unset. There, each profile’s warm pools run the profile’s concurrency pods between them instead of 1 each (AgentProfile), so session pods’ delegated reads stop waiting on one worker. The shipped cluster and tse profiles, when enabled, gain one pod each (250m CPU, 512Mi memory requested), and the profile namespace’s pod quota grows to match. Only the replica count changes, so no running pod restarts. A rollback returns each pool to 1 pod. The quota shrinks first, so a pool rollout in that moment waits for the extra pods to terminate. Set warmReplicas: 1 to keep one now. |
| 0.42.0 | sizingProfile: auto scales bidirectionally and rolls credential-proxy on standby |
Unset and fixed profiles (small, medium, fleet) keep Recreate for credential-proxy and unchanged preflight totals. Under sizingProfile: auto, the operator adds status.sizing, <agent>-credential-proxy-control Secret, <agent>-credential-proxy Lease, and in-cluster active-standby RollingUpdate (maxSurge: 1, maxUnavailable: 0). Upgrading from pre-standby pods does one Recreate hop first so the old ReplicaSet scales to zero. Preflight still counts small, while live auto transitions check quota for a full replacement proxy pod plus one pod slot. Existing auto installs can now step down after 25 minutes at <= 55% of tier - 1 capacity (cooldown elapsed on upgrade), restarting <agent>-gateway each step (and <agent>-shell on fleet steps). Rollback reverts credential-proxy to Recreate and leaves the control Secret and Lease unmanaged. |
| 0.41.0 | a one-message DM’s session pod is deleted after 5 idle minutes | A DM conversation with one message so far now loses its session pod 5 minutes after the last message instead of 30, freeing its slot of maxSessions; its next message starts a new pod with the conversation so far. A second message puts the conversation back on 30 minutes. Set platformAgent.harness.tuning.dmSessionIdleMinutes (and sessionIdleMinutes for the 30) to change either; apply charts/kube-agents/crds/ first, as upgrade.sh does. Rolling back restores 30 minutes for every conversation. |
| 0.41.0 | a warm session pod, for defaultRoute: session |
No behaviour change unless an install sets spec.harness.tuning.defaultRoute: session. There the gateway keeps one warm session pod ready (spec.harness.tuning.warmSessions, default 1; status.effectiveWarmSessions), so a new conversation’s first turn skips the pod start. It costs one session pod’s requests (150m CPU and 320Mi; on Autopilot without Pod bursting, 250m and 512Mi); warmSessions: 0 turns it off. Warm pods use only spare TASKS consumers, so the cap is unchanged; a TASKS with none spare runs none until widened. Under a PlatformAgent CRD without status.effectiveWarmSessions none runs. After a rollback an unclaimed warm pod exits within 30 minutes; a claimed one lasts until its conversation is reaped. |
| 0.41.0 | callers send their inference gateway keys | Once InferenceKeysServed reads True, the agent pod, the curator and each AgentProfile tier’s warm pools restart once and send their class’s key to the inference gateway; Jobs pick it up when they start (which key each caller sends). Until then they send the placeholder, as before. A2A session pods, the shell sandbox, Hindsight and the web console stay keyless. A CR volume that mounts a <agent>-inference-key-* or litellm-caller-keys Secret is refused by the webhook. Rolling back restarts the same callers once more, back on the placeholder; the gateway admits it. |
| 0.41.0 | Microsoft Teams’s status line has a Stop button, and a typed stop answers on it |
An install with the gateway’s Teams backend armed (A2A_TEAMS_BACKEND=true on the operator). The status line each ask posts on Teams carries a Stop button on its card while the task runs. Only someone who asked for work in the thread can press it; anyone else’s press changes nothing, and the line says so until the task’s next update. A typed stop on Teams is now answered on the line too, as a press is: 🛑 cancel sent — the task ends when the executor confirms with the button gone, then 🛑 canceled, and no separate cancel sent message. A line sent as plain text (adaptiveCards: false) has no button. |
| 0.41.0 | persona skill frontmatter is strictly validated | Only installs with custom AgentProfile personas. A persona’s SKILL.md frontmatter must be exactly one YAML document between lines that are exactly three hyphens. A skill with another line holding three hyphens, a line starting with ... or %, a byte-order mark, or a line break other than LF or CRLF is refused, and its profile doesn’t start. The refusal names the file and the rule broken. The shipped personas are unaffected. Rollback restores the earlier check. |
| 0.41.0 | session pods get the cluster view by default, for defaultRoute: session |
No behaviour change unless an install sets spec.harness.tuning.defaultRoute: session. There, session pods now get the read-only cluster view (The session pods’ cluster view) with the operator’s A2A_SESSION_CLUSTER_VIEW unset. To keep it off, set A2A_SESSION_CLUSTER_VIEW=false on the operator (Operator settings). On a fleet-tier install, cluster-wide kubectl lists from a session pod need more than the default session memory limit (What each pod needs). For such an install the credential broker, <name>-kube-proxy and the A2A gateway roll once on upgrade, and once more on rollback, which returns to the flag alone, so a session pod without it loses the view. |
| 0.41.0 | the chart refuses the retired scopedServiceAccounts value |
An install whose last install or --upgrade-mode=full run was at 0.4.0 to 0.8.0, and that has moved since only by --upgrade-mode=operator or harness. Its release record still carries platformAgent.security.scopedServiceAccounts, and the next operator or harness upgrade stops and names the key. Run upgrade.sh --upgrade-mode=full once. No other install sees a change. |
| 0.41.0 | the gateway and the MCP server stop reading the old profile terminal form | Once ProfileSupervisorForm is True, the A2A gateway and MCP server restart once to take A2A_PROFILE_SUPERVISOR_CUTOFF (the condition’s lastTransitionTime plus ten minutes) and the <agent>-a2a-profile-names list. After that time, a five-token terminal on a listed profile’s task no longer ends it. On an install latched earlier, that time is already past. The dispatcher no longer falls back to the five-token form. After fifteen minutes of permission refusals (outages don’t count), it settles the task without a terminal, logging terminal-unpublished on an ALERT dispatcher_terminal_unpublished line naming the profile (alert filter: resource.type="k8s_container" resource.labels.container_name="dispatcher" jsonPayload.msg:"ALERT dispatcher_terminal_unpublished") and counting supervisorGiveUps. Such a task shows no end until stopped, or ends as never started without events. A held install (ReaderNotOnReleaseImage) sees no change. Rollback undoes both restarts. |
| 0.40.0 | exclude.clusters covers metadata reads and logs |
Only installs that set spec.scope.exclude.clusters. gcloud container clusters describe, gcloud container node-pools list and describe, and the gke MCP server’s get_cluster, get_node_pool and list_node_pools are refused for an excluded cluster (scope.excluded-cluster). gcloud logging read and the broker’s Logging relay leave out its entries, and while any cluster is excluded they refuse a filter with an open string, a single quote, a -- comment or unbalanced parentheses. A session’s or profile task’s gcloud container clusters list and operations list leave excluded clusters out by name, a same-named cluster elsewhere too. A --filter the broker can’t add its clause to safely is refused. So is the listing while the scope file can’t be read. Every other caller’s listings don’t change. spec.hold is unchanged. Rollback restores the earlier behaviour. |
| 0.40.0 | the operator owns Secrets <agent>-inference-key-*, litellm-caller-keys |
The operator creates Secrets named <agent>-inference-key-<class> and litellm-caller-keys in the install namespace, and <agent>-inference-key-tier-<tier> in the profile namespace, and records each one’s UID in the PlatformAgent’s status.inferenceKeys. These names are reserved for the operator: a Secret found under one of them that it didn’t create is deleted and replaced, with an InferenceKeySecretReplaced Warning event. Nothing sends the keys yet. Keys aren’t created until the current PlatformAgent CRD is applied; until then InferenceKeysServed reads CRDOutdated and the operator writes none of these Secrets. After a rollback to an earlier release and back, every key is replaced once. |
| 0.39.0 | install.sh and upgrade.sh default sizingProfile to auto |
Installs without PLATFORM_AGENT_SIZING_PROFILE move to spec.deployment.sizingProfile: auto on upgrade.sh --upgrade-mode=full (and on harness when unset in release values and supported by the CRD). Fleets at 10 or 25+ clusters promote runtime pods to medium or fleet on upgrade, restarting changed workloads. On GKE Standard at 25+ clusters, fleet requires nodes with 8+ vCPU (TF_VAR_sizing_profile=fleet). Set PLATFORM_AGENT_SIZING_PROFILE=small in install.env to keep small instead. |
| 0.39.0 | session-route cap fitted to TASKS, for defaultRoute: session |
No behaviour change unless an install sets spec.harness.tuning.defaultRoute: session; unset still means platform. On an install that opts in, the session cap is fitted to the live TASKS stream, which cannot grow in place (status.effectiveSessionCap, SessionCapFitted): 4 sessions where TASKS holds 110, none where it holds the older 64, which stays on platform. On a one-server bus, busReplicas: 3 widens it, keeping history; on any bus, a new value on the kubeagents.x-k8s.io/bus-reshape annotation does. Until the bus’s width is read once, the provision Job waits. A rollback leaves a SessionCapFitted it can’t clear. |
| 0.39.0 | the A2A gateway’s egress is limited to what it calls | Every install. The operator adds the <name>-a2a-gateway-egress NetworkPolicy on the A2A gateway’s pods: cluster DNS, the bus, the credential broker and the Kubernetes API server on their ports, and TCP 443 except to private, link-local and shared addresses. Everything else the gateway sends is dropped where the CNI enforces NetworkPolicy. No pod restarts. A gateway that reaches a chat platform through a proxy, or on a port other than 443, loses it; admit that destination with a NetworkPolicy of your own selecting app: <name>-a2a-gateway. Rolling the operator back leaves the policy in place, with no operator keeping its addresses current: delete <name>-a2a-gateway-egress after a rollback. spec.networkPolicy.enabled: false does not withhold it. |
| 0.39.0 | the inference gateway checks the key each caller sends | The LiteLLM gateway restarts once. It now runs with a master key, generated into the litellm-master-key Secret and read by the gateway alone, and checks the key each caller sends. Callers are unaffected: none sends a key yet, and a call with no key, or with the placeholder key the install’s own clients send, is still admitted, on the inference routes. A client of your own that sends some other key to the gateway gets 401: drop the key. /metrics stays open to the scrape. Rolling back is safe: the older gateway ignores both. |
| 0.38.0 | the dispatcher no longer cleans up Jobs under their pre-0.35.0 names | When a task ends, the dispatcher deletes only its Job under the current name. A Job an earlier dispatcher than 0.35.0 launched under the old name ends with its pod or its TTL. Upgrading from 0.35.0 or later, there are none. |
| 0.37.0 | only the operator may make an AgentSchedule built-in | With admissionPolicy.enabled on Kubernetes 1.30+, a new ValidatingAdmissionPolicy refuses anyone but the operator’s ServiceAccount who sets, changes or removes an AgentSchedule’s kubeagents.x-k8s.io/origin: builtin label or its controller reference, or changes a built-in schedule’s spec (except spec.suspend). Annotations such as run-now, and suspending a built-in schedule (spec.suspend), still pass. A schedule someone else labelled builtin before this now reads Accepted=False (BuiltinNotFromOperator) and doesn’t run. Its next write still passes, because the label and reference are unchanged, but it doesn’t run as built-in either: the operator renders no built-in schedules yet. Rollback removes the policy with the release. |
| 0.37.0 | the MCP server runs by default | The operator renders the MCP server (<name>-a2a-mcp Deployment, Service and ServiceAccount, <name>-a2a-mcp-netpol, and <name>-a2a-mcp-token) beside every PlatformAgent unless operator.mcpServer.enabled is false (A2A_MCP_DOOR=false). The credential broker rolls once to add CREDENTIAL_PROXY_MCP_AUDIENCE and CREDENTIAL_PROXY_MCP_CALLERS, and already-enabled installs roll <name>-a2a-mcp once for its 64Mi ephemeral-storage request and limit. Session quota counts one more pod while enabled; quotaPreflight counts one unconditionally (100m / 128Mi requested, 500m / 256Mi limits, 64Mi ephemeral; Footprint). upgrade.sh picks up the default automatically; hand-run helm upgrade needs --reset-then-reuse-values (or --set operator.mcpServer.enabled=true). Set operator.mcpServer.enabled: false to keep it off. |
| 0.36.0 | a profile task writes only on the branches and proposals it made | A permitted profile write reaches only a branch the same task pushed while the name was free, or a proposal it opened, which the broker records in memory. A task can’t continue another task’s branch or proposal. A task in flight across the upgrade, or across a later broker restart, can’t publish to, open a proposal from, or update what it made before it. |
| 0.36.0 | a TASKS reshape can be asked for | Nothing changes on its own. A person can now annotate the PlatformAgent kubeagents.x-k8s.io/bus-reshape=<value> to recreate TASKS at the width it renders, keeping its messages, behind a write freeze of a few minutes (Recreating TASKS wider). Roll back only to 0.35.0 or later, which hold a migration of a leg they do not run (A2ABusMigrationLegUnknown): an older operator misreads a reshape under way. A reshape that has finished is inert to any release. |
| 0.36.0 | Google Chat learns its home channel from the first mention | With GOOGLE_CHAT_HOME_CHANNEL empty, the first top-level mention of the agent in a named space makes that space the home channel, and alerts and scheduled reports start to post there. Set the key, or set GOOGLE_CHAT_HOME_CHANNEL_POLICY=manual, to keep the earlier behaviour. A configured home channel on the other platform still takes a single-destination alert before a learned one. On an install with Google Chat and no Slack, the agent pod and the gateway pod each restart once. On an install with both, only the gateway pod does. A Slack-only install restarts neither. |
| 0.36.0 | kanban.admission rejects memoryBudgetMiB below workerRssCapMiB |
Where the validating webhook is enabled, new PlatformAgent creates and updates are refused when effective memoryBudgetMiB is below workerRssCapMiB, and Helm renders setting platformAgent.harness.tuning.admission fail the same invariant against defaults. An existing CR with a sub-cap spec.deployment.resources or admission override still passes unrelated updates with a warning. On reconcile it reports Degraded (InvalidKanbanAdmission) and a Warning Event, and upgrade.sh warns before planning or dispatch. Raise memoryBudgetMiB (or spec.deployment.resources memory when memoryBudgetMiB is unset) to at least workerRssCapMiB, or lower workerRssCapMiB. |
| 0.35.0 | --reuse-values upgrades render the A2A bus images from the chart’s pins |
A helm upgrade --reuse-values run by hand from a release before a2aBus.images now renders the four bus image env vars from the chart’s own pins. Unmirrored, the pins are the operator’s compiled defaults written in full (docker.io/library/nats:… where the operator’s default reads nats:…), so the bus pulls the same image and rolls once on the reference change. Under global.thirdPartyImageRegistry the bus pulls from the mirror and rolls once. An install that sets a2aBus.images.nats or A2A_NATS_IMAGE itself keeps its own image. |
| 0.35.0 | a busReplicas change completes again, after 0.34.0 | Known issue on 0.34.0: changing spec.harness.tuning.busReplicas on an existing bus doesn’t complete. One to three restarts the auth callout repeatedly, and three to one stops partway and can leave streams with a single replica. Don’t change busReplicas on 0.34.0: upgrade to this release first, then change it. An install that doesn’t change busReplicas is not affected. |
| 0.35.0 | a confirmed profile change runs in its own Job | A profile task whose request was confirmed for a change runs in its own one-pod Job, never on a warm pool pod. Where its tier has no Job runner, as on installs without the chart’s dispatch Job admission policy, it is refused with change-needs-job and changes nothing. Upgrade the dispatcher before, or with, a gateway that sends confirms, and don’t roll the dispatcher back past this release while one does. |
| 0.35.0 | a profile durable that existed is re-created a pass later | The operator re-creates a missing profile durable on PROFILE_SUBMITS only if it is still missing 30s after the first miss, and records in the AgentProfile’s new status.durableTiers which durables a successful sync made. On the first pass after the upgrade no profile has that record, so a missing durable is made at once, as before. That pass’s sync finds the durables already there and writes the record, so the 30s check applies from the second pass. A rollback leaves the field, which the older operator ignores. |
| 0.35.0 | an upgrade that cannot read the live Secret stops | When install.env leaves out a credential and the live platform-agent-secrets Secret cannot be read, upgrade.sh and install.sh now stop before Terraform and name what they could not recover. They used to go on and write those values empty. Re-run once the cluster answers, export the values, or name the ones to leave empty in ALLOW_EMPTY_SECRET_KEYS. uninstall.sh warns and goes on. |
| 0.35.0 | every profile gets a Job template per tier | Under Job mode the operator renders a DispatchJobTemplate for each live tier of every profile, named kube-agents-dispatch-job-tier-<profile>.<tier> beside the unattended tier’s. A confirmed change then runs in its own one-pod Job at the read tier, where it was refused with change-needs-job. Once any profile is bound under Job mode, the pods quota’s Job term doubles; the warm workers’ share is unchanged, so read Jobs take none of their slots. A read-only profile outside Autopilot’s cpu-to-memory ratio now shows JobResourcesFit False. Upgrade the dispatcher with the operator. When a task ends, the dispatcher also deletes the old-named Job an older dispatcher launched for it, if that Job’s annotations name the same task. |
| 0.35.0 | rolling back per-tier Job templates | An older dispatcher leaves Jobs under the new names until their pods exit or their TTL removes them, and may launch a second, old-named Job for a task not yet confirmed. An older operator leaves the per-tier params in place, unused, until Job mode is turned off and its teardown removes them. |
| 0.35.0 | the A2A gateway gets a token for reading audit reports | Every install. The operator projects a kubeagents-credential-proxy-a2a-reports token into the A2A gateway pod at /var/run/secrets/a2a-reports/token and names it and the broker in A2A_REPORT_STORE_TOKEN_FILE and A2A_REPORT_STORE_URL, so the gateway pod rolls once. The broker gains the audience and binds it to the gateway’s ServiceAccount, and that account joins the broker’s callers and its NetworkPolicy on installs without Google Chat; the broker pod rolls once too. A rollback drops all of it. An install whose own NetworkPolicies cover the broker should admit TCP 8765 from the A2A gateway’s pods. |
| 0.35.0 | the AgentProfile worker pod sets no ANTHROPIC_API_KEY |
The operator does not put the placeholder model key in the AgentProfile worker pod spec now: the worker image adds it to the harness env when the task starts. Thus an AgentProfile’s spec.harness.image must be at this release or later. The chart sets that image from profiles.<name>.harness.image.tag, else from platformAgent.deployment.image.tag, else from the chart version. With an older worker image, the profile tasks fail at model authentication. The session worker (A2A_WORKER_IMAGE) is not affected. |
| 0.35.0 | the auth callout rolls once more for the held-profile list | The dispatcher’s identity-map entry gains held, the profiles held until every bus server has loaded their config, so a bucketed dispatcher connection gets none of their grants early. The schema moves to 9, which also carries the bus migration’s expiry field and the gateway entry’s deny fields, so the upgrade restarts the callout pods once. New bus connections retry for those seconds; established ones are not touched. Rolling back restarts them once more. |
| 0.35.0 | the callout, gateway and Platform Agent pod roll once for defaultRoute |
The PlatformAgent gains spec.harness.tuning.defaultRoute. Routing is unchanged: unset means platform, as before. The upgrade rolls the auth callout once, as its reserved addressee list becomes platform,session, and the A2A gateway and the Platform Agent pod once each, for their new A2A_DEFAULT_ADDRESSEE=platform env. Creating an AgentProfile named session is now refused; one that already exists keeps working. A rollback rolls the three once more. |
| 0.35.0 | the quota check counts the session pods | The chart’s quota preflight counts the session pods at the cap: platformAgent.harness.tuning.maxSessions (10) times one pod, 150m CPU and 320Mi requested, 2 CPU and 2Gi limits, 1088Mi ephemeral storage, or sessionResources where set. At the defaults that adds 10 pods, 1.5 CPU and 3200Mi of requests, 20 CPU and 20Gi of limits. On GKE Autopilot each pod counts at Autopilot’s minimums, 250m and 512Mi. A namespace ResourceQuota sized without them refuses helm upgrade and prints a patch; the gateway would otherwise be refused session pods at run time. Raise the quota, lower maxSessions, or set quotaPreflight.enabled=false. See Prerequisites. |
| 0.34.0 | a profile change reloads the A2A bus instead of rolling it | A three-server bus rolls once on the upgrade, one server at a time while R3 streams keep serving, as its pod template drops the profile list; a one-server bus doesn’t restart. After that, binding or removing an AgentProfile reloads every server in place, usually within a minute, with no roll. A newly bound profile stays BusConfigPending until every server is confirmed on the new config. Rolling the operator back rolls a three-server bus once more, and a reload still pending then is confirmed again, or the bus restarted, by the older operator. On a one-server bus, a profile change still pending when the upgrade lands is confirmed by restarting the server at its original bound, with a BusConfigReloadFailed Warning. |
| 0.34.0 | the operator’s profile-namespace Role renders in every mode | A Helm release whose platformAgent.mode is not next gains <release>-operator-namespaced-role and its RoleBinding in <namespace>-profiles, with the same rules the operator’s Role already has in the install namespace. If you created that Role or RoleBinding by hand, delete it before you upgrade: Helm doesn’t adopt an object it didn’t create, and the upgrade fails on it. |
| 0.34.0 | session pods request less, and the requests are configurable | Each A2A session pod requests 150m CPU and 320Mi of memory, down from 250m and 512Mi. At the default cap of 10 that reserves 1.5 CPU and about 3.1Gi, not 2.5 and 5Gi. An install whose sessions need more sets spec.harness.tuning.sessionResources (chart: platformAgent.harness.tuning.sessionResources); each key it sets replaces its default, and a request set alone above its default limit raises the limit to match. On Autopilot without Pod bursting, its per-pod minimums of 250m and 512Mi still apply, so nothing changes there. A LimitRange whose maxLimitRequestRatio is below 40/3 (13.33…) for CPU or 6.4 for memory, or whose min is above 150m or 320Mi, refuses new session pods; set requests that fit it. |
| 0.34.0 | a PlatformAgent must be in the operator’s namespace |
Where the validating webhook is enabled, a PlatformAgent created in any namespace but the operator’s own is refused; both install paths place the CR there, so a stock install meets no change. A CR that already exists elsewhere is updated with a warning that names the namespaces that need the operator’s Role, and keeps reporting RBACIncomplete until they hold it. |
| 0.34.0 | system-metadata and sandbox sshd claims request 4Gi on new installs |
New system-metadata and sshd-<agent>-shell-0 claims request 4Gi instead of 1Gi so C3-only clusters using hyperdisk-balanced meet its 4 GB minimum. Existing claims keep 1Gi; the operator orphan-recreates <agent>-shell once for its volumeClaimTemplates update while leaving the running sandbox pod in place. The chart’s quotaPreflight counts 6Gi more requests.storage (228Gi default, 148Gi at one NATS server, 236Gi with Hindsight): raise a tight namespace storage ResourceQuota by 6Gi before helm upgrade. |
| 0.34.0 | the A2A bus’s NATS image is pinned by version and digest | The bus runs nats:2.10.29-alpine pinned by digest, the image the floating 2.10-alpine tag has pointed at since 2026-01-28, so no server version changes. The upgrade rolls every bus once because the image reference changes: a three-server bus one server at a time while R3 streams keep serving, and a one-server bus with a brief restart. An install that sets a2aBus.images.nats or A2A_NATS_IMAGE keeps its own image. |
| 0.34.0 | the audit-report store listener renders with the A2A stack | Every install. The operator adds the <name>-report-store Service and, with spec.networkPolicy.enabled on, a rule in <name>-gateway-netpol that admits only the credential broker’s pods to port 8700 on the gateway pod. A rollback to an earlier operator drops the rule and leaves the Service, which is inert: nothing listens on 8700 there. The gateway pod and the broker pod each roll once, for the new port and env on agent-api-auth and the broker’s new projected token and its store env. An install whose own NetworkPolicies cover the gateway pod should admit TCP 8700 from the broker’s pods. |
| 0.34.0 | changing busReplicas migrates the A2A bus, keeping its data |
The auth callout rolls once on the upgrade: its identity map gains the expiry field the migration’s per-run identities carry. Changing busReplicas between 1 and 3 on an existing bus now migrates it, where it was refused. One to three freezes the bus’s writes for a few minutes. See Changing the bus’s server count. |
| 0.34.0 | the auth callout rolls once for deny lists in the identity map | The identity map gains deny lists in its grants and an entry for the A2A gateway’s ServiceAccount, which nothing uses yet: the gateway still connects with its password (A2A_GATEWAY_BUS_AUTH=password, the default). The upgrade restarts the callout pods once. New bus connections retry for those seconds; established ones are not touched. Upgrade the callout image with the operator: an older callout refuses the new map, so its rollout stalls with the reason on the pod while the old pods keep serving the previous map. Rolling back the operator restarts the callout once more. |
| 0.33.0 | Slack joins Google Chat on the A2A gateway | Google Chat and Slack both enabled. An operator upgrade alone moves Slack to the gateway: the broker drops the Slack tokens and the Hermes Slack platform turns off. Slash commands return Slack’s timeout error. A /sethome home channel does not carry over. See After the switch: the Slack app. A full upgrade refuses an email in the Slack allowlist, a home channel that is no channel id, and several bot tokens, and warns on an empty home channel; operator and harness runs do neither. The gateway serves one Slack workspace: install one bot token from one workspace, or turn Slack off. An alert goes to one platform with a home channel, Chat first; with none, Google Chat’s digest keeps it. |
| 0.32.0 | a newly bound AgentProfile waits until the bus has loaded it | On a three-server bus the upgrade rolls the servers once, one at a time, as the profile list joins their pod template; R3 streams keep serving through it. After that, a newly bound profile’s card and dispatch wait until every bus server has loaded its config: about a minute on one server, one roll on three. On one server, two profile changes inside one kubelet sync end in a restart of the bus pod about four minutes later (a Normal BusConfigReloadFolded Event), which drops bus connections as any bus restart does. CardPublished reports the wait as False with reason BusConfigPending. Rolling back the operator rolls a three-server bus once more. |
| 0.32.0 | every install runs the A2A stack | spec.mode is deprecated and ignored. An install that ran today, or no mode, gets the A2A stack: the NATS bus, the A2A gateway, callout, verifier, console, hermes-bridge container and the <release namespace>-profiles Namespace. Three NATS servers need three nodes: a Standard cluster that cannot reach three sets platformAgent.harness.tuning.busReplicas: 1 before this upgrade, since an existing bus keeps its count. Google Chat moves to the gateway; for Slack, see the row “Slack joins Google Chat on the A2A gateway”. Before upgrading, check that SLACK_ALLOWED_USERS holds member IDs, not emails, that SLACK_BOT_TOKEN is one workspace’s, and that a /sethome home channel is in GOOGLE_CHAT_HOME_CHANNEL. The footprint grows (Footprint); an existing bus restarts once. No switch back exists. |
| 0.31.0 | the A2A bus caps TASKS and TOPICS-JOURNAL lower |
spec.mode: next only. A new bus creates TASKS at 8 GiB and TOPICS-JOURNAL at 1 GiB. An existing bus keeps 20 and 5 GiB, since provisioning does not edit a stream: the operator records a Warning Event, reason A2ABusStreamCapAboveRender, with the nats stream edit that lowers each and whether applying it now is safe. Run it with your own NATS credentials. |
| 0.31.0 | the gemini and vertex_ai default model is gemini-3.8-flash |
An install that names no model (MODEL_DEFAULT_NAME unset, Terraform model_default_name or Helm litellm.modelDefaultName empty) moves from gemini-3.5-flash to gemini-3.8-flash at its next upgrade; its key or Vertex project must serve that model. An install.sh install keeps the name it recorded in install.env. Set the name to keep the old model. |
| 0.31.0 | the auth callout rolls once for a new identity-map shape | The identity map gains a field for the dispatcher’s bucketed grants (A2A_DISPATCHER_BUCKETED_GRANTS, on by default), so the upgrade restarts the callout pods once. New bus connections retry for those seconds; established ones are not touched. The AgentProfile dispatcher runs by default (operator.profileDispatcher.enabled; off only at A2A_PROFILE_DISPATCHER=false), and its image must be upgraded with the operator: an older dispatcher binds no profile’s durables under the new map and stays not Ready until it is. A2A_DISPATCHER_BUCKETED_GRANTS=false on the operator keeps the old shape. |
| 0.29.0 | a refused Stop press on Google Chat tells the presser, privately | spec.mode: next only. In a space or a group chat, a press of the Stop button by someone who did not ask for the work now posts one line that the presser alone sees: Only the person who asked can press Stop here. If it must stop, type stop. Nobody else in the thread is notified. Nothing changes in a direct message, or on Slack. There is no switch; the way back is the previous release’s gateway image. See Follow-ups while a task runs. |
| 0.29.0 | Google Chat’s status line no longer reads completed |
spec.mode: next only. When a task completes, the status line each ask posts on Google Chat ends as a bare ✅ after the answer posts. When the work goes to a card, the line becomes the one-line acknowledgement instead, and the card’s plan and report follow. Nothing reads ✅ completed. A task that fails, is cancelled or is rejected keeps its line and its notice as before. The change has no switch; the way back is the previous release’s gateway image. See What a task looks like. |
| 0.29.0 | the A2A bus runs three NATS servers by default | spec.mode: next only. An existing bus keeps its one server and restarts once on the upgrade. The chart’s quota check counts three servers unless platformAgent.harness.tuning.busReplicas is 1: under a namespace quota sized for one server, set that value before the upgrade, or helm upgrade is refused. A today install’s first switch to next creates three servers, each on its own node. The A2A bus has the details. |
| 0.28.0 | Google Chat’s Stop button takes a press from the thread’s requesters alone | spec.mode: next only. The Stop button on a Google Chat status line now takes a press from someone who asked for work in the thread, the person who asked or anyone who sent a follow-up while the task ran, as Slack’s does. Anyone else’s press cancels nothing and gets no reply. A typed stop is unchanged. See Follow-ups while a task runs. |
| 0.28.0 | session pods may not set scheduling fields | spec.mode: next only, with admissionPolicy.enabled. The A2A gateway’s pod policy refuses a session pod with a node selector or a positive priority. A default GKE ComputeClass, cluster-wide or set by a label on the release namespace, adds a node selector to every pod. A PriorityClass with globalDefault: true and a positive value gives every pod that priority. On such a cluster every delegation fails with “session pod could not be created”, and only the gateway’s log names the cause. Check kubectl get computeclass, the release namespace’s labels and kubectl get priorityclass first. If either applies, leave the release namespace out of both, or set admissionPolicy.enabled: false. |
| 0.26.0 | Google Chat’s status line has a Stop button under spec.mode: next |
spec.mode: next only. The status line each ask posts on Google Chat carries a Stop button while the task runs. Anyone the allowed-users list admits can press it, and the line itself answers: 🛑 cancel sent — the task ends when the executor confirms with the button gone, then 🛑 canceled. A typed stop on Google Chat answers on the line the same way and posts no cancel sent or canceled message. The button has no switch; the way back is the previous release’s gateway image. See Follow-ups while a task runs. |
| 0.26.0 | requests rise for the Autopilot clamp | The operator requests 100m CPU and 256Mi (from 50m and 128Mi). A next agent pod’s hermes-bridge container requests 250m and 512Mi, limits 1 CPU and 1Gi; the web console and the next console 100m and 128Mi, limits 500m and 256Mi; hindsight-api 500m and 2Gi (from 250m and 1Gi). Autopilot without bursting sets limits equal to requests, so each now fits the request it runs under. Autopilot bills the requests; the chart’s quota check counts the operator, the web console and hindsight-api, and under platformAgent.mode: next the bridge and the next console as well. The bridge and both consoles set their Go soft memory limit from the admitted limit, and a cli bridge refuses an answer over 8 MiB. |
| 0.26.0 | a workload’s repeat events fold into one incident by default | INCIDENT_WORKLOAD_DEDUP_SECONDS is on at 3600 on every install: within an hour of an alert, a later Warning event for the same workload, or a later Critical after a Critical, posts nothing and starts no triage turn (one incident per workload). The chart renders the entry into the CR’s spec.deployment.env, so the agent pod and the credential-proxy pod restart once, and entries added to that list by hand are replaced on the first apply; move them to platformAgent.deployment.env first. platformAgent.deployment.incidentWorkloadDedupSeconds: 0 turns it off. |
| 0.26.0 | Google Chat answers can be rated under spec.mode: next |
spec.mode: next only. The final answer to each ask on Google Chat ends with 👍 and 👎. A 👎 opens a card only the rater sees for an optional note, and each rating keeps the question and answer in the install’s feedback bucket for its max age. To turn it off, set spec.integration.googleChat.answerFeedback: false (the chart’s platformAgent.integration.googleChat.answerFeedback). See Answer feedback. |
| 0.25.0 | the A2A bus separates control-plane, console and worker accounts | spec.mode: next only. The bus places control-plane services in the TRUSTED account, the web console and its MCP server (console-mcp) in CONSOLE, and agent and session workers in APP. On first start the bus moves its existing JetStream file store from /data/jetstream/APP to /data/jetstream/TRUSTED before nats-server opens it, so existing streams and key-value buckets stay in place. A rollback goes through today and moves /data/jetstream/TRUSTED back to /data/jetstream/APP before returning to next: the earlier bus cannot resolve the TRUSTED folder and never becomes Ready. upgrade.sh refuses a direct rollback without --allow-breaking-downgrade; the rollback page has the steps. |
| 0.24.0 | the identity map is sharded and minter policies name one repository | spec.mode: next: the callout’s identity map moves from ConfigMap <agent>-a2a-authmap to <agent>-a2a-authmap-0 (and -1, -2, … where it would not fit one), the old object is deleted, and the callout rolls once. Anything you read by hand reads -0. Under GitHub, every managed repository’s <repo>.yaml in github-token-minter-config is rewritten to list that repository alone, and a run that writes to two managed repositories mints a token for each. |
| 0.24.0 | the profile ceiling follows maxInProgress |
spec.mode: next only. With spec.harness.tuning.profiles.ceiling unset, the install-wide AgentProfile ceiling now defaults to maxInProgress instead of 8. The ceiling and the profile namespace’s pod quota move by maxInProgress minus 8. That is down 2 at the default of 6, and down 5 where the stockout investigator sets maxInProgress: 3. Above 8 they go up, to the ceiling’s maximum of 1000. To keep 8, set spec.harness.tuning.profiles.ceiling: 8 (the chart’s platformAgent.harness.tuning.profiles.ceiling). See spec.harness.tuning. |
| 0.24.0 | the credential proxy probes readiness on port 8768 | The operator moves the /healthz readiness probe on <name>-credential-proxy from port 8765 to port 8768. Because the broker Deployment uses Recreate with one replica, Kubernetes stops the old pod first. During a two-step upgrade from before 0.24.0, the older broker image does not serve port 8768, so the broker stays unready and unavailable between --upgrade-mode=operator and --upgrade-mode=harness. Run --upgrade-mode=harness next, or use --upgrade-mode=full, and move any pinned credentialProxy.image to 0.24.0 or later (spec.deployment). |
| 0.24.0 | the credential proxy may use 2 CPU | The proxy’s CPU limit rises from 1 to 2 CPU, so it no longer waits on a full core from about six clusters. A namespace ResourceQuota on limits.cpu needs 1 CPU more. On GKE Autopilot its requests rise to 2 CPU and 2Gi: without bursting, Autopilot sets limits equal to requests, and with bursting, a pod only bursts into capacity that other pods leave unused. Autopilot bills the requests, so this adds about 1.5 vCPU and 1 GiB per install, and a ResourceQuota needs room for them. The chart’s quota check counts them. On Standard the requests stay 500m and 1Gi. A credentialProxy.resources that set a lower limits.cpu or limits.memory alone keeps working: the request follows the limit down. |
| 0.24.0 | the credential proxy requests 8Gi ephemeral storage | The proxy container’s ephemeral-storage limit rises from 2Gi to 8Gi, and the request follows the limit. Where a namespace ResourceQuota constrains requests.ephemeral-storage or limits.ephemeral-storage, it needs 6Gi more of each; the chart’s preflight reports the shortfall with a patch. On Autopilot the pod is billed for the 8Gi. The upgrade recreates the proxy once. A credentialProxy.resources override that set limits.ephemeral-storage at or under 8Gi keeps the limit it set, and the proxy’s state and /tmp volumes return to their 5Gi and 2Gi caps; above 8Gi, the excess goes to the state volume. See spec.deployment and Prerequisites. |
| 0.24.0 | Google Chat is laid out under spec.mode: next |
spec.mode: next only. The gateway lays out the agent’s answers on Google Chat: headings, lists and tables as Chat text, and buttons where a message offers choices. A click runs as a turn. KAGE_SLACK_UX=false turns off the cards’ work on Google Chat as on Slack, but the layout of the agent’s answers has no switch; the way back to plain text there is the previous release’s gateway image. See Google Chat. |
| 0.24.0 | Google Chat DM asks get their own threads under spec.mode: next |
spec.mode: next only. Each top-level DM message starts its own conversation in the thread Chat attaches to it; a reply in that thread continues it. An install that upgrades with a task in flight from before cannot stop that task from the DM: its conversation key changed, so it ends on its own or is stopped on the board. A choice card posted before the upgrade opens a new conversation in the card’s thread when clicked, and a new top-level ask has no context from earlier asks. See Google Chat. |
| 0.23.0 | the operator’s memory limit has a floor | The chart refuses an operator.resources.limits.memory under 512Mi, its default. A hand-run helm upgrade --reuse-values from a release up to 0.16.0 carries that release’s 128Mi and fails; upgrade.sh does not. The way out, and the Autopilot case, are in the chart README. The operator also sets its Go soft memory limit from the rendered limit, and requests 50m CPU. |
| 0.17.0 | the agent’s data volume is 50Gi | The operator grows the agent’s <name>-data claim and the shell sandbox’s data claim to 50Gi, online, where the StorageClass has allowVolumeExpansion: true (GKE’s standard-rwo does). Where the class cannot expand a claim, the claims keep their size and the CR carries the DataVolumeNotExpanded condition (reason StorageClassCannotExpand); see status. spec.storage.size raises the size above 50Gi. The upgrade adds 80 GiB of disk: a namespace ResourceQuota on requests.storage and the project’s regional SSD quota both need room for it. A quota failure after the operator’s patch leaves the claim Bound at its old status.capacity; the operator log says the resize has not landed, and the claim’s events say why; see Prerequisites. |
| 0.17.0 | the A2A bus requires TLS | spec.mode: next only. The upgrade restarts the bus once with TLS required, and every client the operator renders rolls onto tls:// and the bus CA in the same pass. A session task running at that moment fails, as on any bus restart. Anything you run by hand against the bus, such as a nats CLI session, needs tls:// and the CA from the <name>-a2a-nats-ca-bundle ConfigMap afterwards. If you roll back to an earlier release, delete the session pods (kubectl delete pod -l app.kubernetes.io/component=a2a-session): the earlier gateway would otherwise reuse them against a plaintext bus. |
| 0.12.0 | the credential proxy requests 1Gi of memory | The operator refuses a credentialProxy.resources that sets limits.memory under 1Gi without requests.memory (until 0.24.0, which lowers the request to the limit instead). Set the request with the limit, or raise the limit. See spec.deployment. |
| 0.12.0 | the drift export covers the scope’s other projects | The drift export also creates sinks in other projects of the scope. See Multi-project for which projects, the permission the apply needs, and how to leave a project out. |
| 0.9.0 | the drift detector is on by default | If install.env does not set ENABLE_DRIFT_DETECTOR, a full upgrade creates a Log Router sink, a Pub/Sub topic and a subscription, and starts the detector. The sink exports the GKE admin-activity audit records of every cluster in the project. The subscription keeps unacknowledged records for up to 31 days. To keep it off, write ENABLE_DRIFT_DETECTOR=false. In a project where another install has the drift resources, the upgrade stops until you write that line or set the TF_VAR_drift_pubsub_* names. |
| 0.9.0 | the scoped service account pool is keyed per project | The upgrade turns off a pool armed under the old per-cluster field. See the scoped service account pool. |
| 0.9.0 | the Slack UX is on by default | Slack users see new reactions, buttons and cards. See Reactions and Buttons. The buttons use the Slack app’s Interactivity setting. An app made from hermes slack manifest has it on. On an app made by hand, turn on Interactivity: Socket Mode needs no request URL. If a button does not work, a typed reply still works. To keep the old behaviour, see below. Under spec.mode: next, 0.9.0 also moves Slack to the A2A gateway, and KAGE_SLACK_UX does not turn off the gateway’s reactions and buttons. See Slack app setup. |
| 0.8.0 | the litellm Service is renamed inference-gateway |
Model calls can fail for a short time during the upgrade. See the chart README’s upgrade note. |
| 0.8.0 | forges and repositories in spec.integration |
The operator refuses some repository spellings that worked before. See the upgrade notes under spec.integration. |
| 0.8.0 | the A2A bus reserves more consumers | spec.mode: next only. If 0.7.0 or earlier created the TASKS stream, the provision Job can stop the upgrade. Do what its message says. |
| 0.8.0 | the upgrade follows the release-pinned contract | The upgrade refuses an install with only k8s-operator/scripts/vars.sh. See When an upgrade is refused. |
To keep the Slack UX off across upgrades, add KAGE_SLACK_UX=false to the chart’s
platformAgent.deployment.env list. install.env has no key for it. On an install made with
install.sh, put the list in a TF_VAR_extra_helm_values line in install.env. A full-mode
install.sh or upgrade.sh run applies the line:
TF_VAR_extra_helm_values='{platformAgent={deployment={env=[{name="KAGE_SLACK_UX",value="false"}]}}}'install.env holds one such line, so put every extra value in it. If the line already has a
platformAgent key, put deployment={env=[...]} inside that key. A second platformAgent key
replaces the first one, with no error. If the line already has a platformAgent.deployment.env
list, add the entry to that list, because Helm replaces a list as a whole. See
Operator settings for how the line works.
Upgrade modes
Section titled “Upgrade modes”-
--upgrade-mode=harnessre-tags the Platform Agent image, the sandbox image it reaches over ssh, and every plugin image the release records, all built from the same revision. It does so through onehelm upgradethat re-applies the values the release recorded over the chart’s defaults.Before any of the new release is applied it names and stops on any recorded key the chart’s values schema refuses as undeclared, since Helm would refuse the whole upgrade over it. On an upgrade the usual cause is a setting the new chart renamed or removed: take that upgrade through
--upgrade-mode=full. On a rollback to a release that predates the key, pass--drop-undeclared-valuesto drop and name each one instead. A later release that declares the key renders it from that chart’s default until a full-mode run there rendersinstall.envonto the chart again. -
--upgrade-mode=operatorapplies the chart’s CRDs withkubectlfirst — Helm never touchescrds/on an upgrade — then re-tags the operator image the same way. -
--upgrade-mode=full, the default, applies the CRDs and then runs a fullterraform applythrough the install engine: every image tag moves, and every setting ininstall.envis re-rendered.
The operator moves before the harness because the operator owns the resources the harness runs as.
Every mode needs the kube-agents Helm release to exist in the target namespace; an install
without one predates the Terraform and Helm engine, and has to be re-installed to adopt it.
A helm upgrade run by hand, for example with the
fleet example values file, applies no CRDs
either: apply crds/ with kubectl first, as the operator mode does.
Choosing what the run targets
Section titled “Choosing what the run targets”A release copy of the script carries the version it upgrades to, which is what makes the one-liner above flagless. That baked version is the run’s target from the moment it starts, before any flag is read, so two of the flags below behave differently depending on which copy you are holding.
One copy is the exception: upgrade.sh in a checkout of a release line (release/<X.Y>) that has
moved past its latest release still carries that release’s version but is not that release. Run
from there, with the release’s tag and full history fetched, it drops the baked default, says which
line and commit it is on, and asks for --image-tag the way a copy with no baked version does. A
clone that lacks the tag, or whose shallow history stops short of the release, is refused and told
which fetch to run.
--image-tagnames a revision to move to instead: a release tag or a full commit SHA. It overrides the baked version, and it exists for development and CI/CD testing — a candidate commit, or a release the script does not itself carry. It is not part of upgrading to a published release. Mutable refs such aslatest,mainandHEADare rejected, so the scripts and the container images always name the same revision. A commit onmaincarries the chart’s unstamped placeholder version,0.1.0, sohelm historyand the plan show the chart moving from your release tokube-agents-0.1.0. That is the placeholder, not a downgrade: only the release pipeline stamps the version.--keep-image-tagupgrades everything except the images, leaving them on the tag the install already serves. It refuses--image-tag, because the two ask for opposite things — and since a release copy already carries a version, it refuses this flag as well. Run it from a checkout, which is where the scheduled reconciles that need it run.--planchanges nothing and reports what an upgrade would do. From a release copy it plans at that release: the question it answers is whether moving to that version would change anything. From a copy with no baked version and no--image-tag, it plans at the tag the install’s Terraform state records, so the report is composition drift rather than image lag. Either way it exits 0 when the install is in sync, 2 when there are changes, and 1 when the plan itself failed.
Given no tag and no flag, a copy of the script built from main has no version to default to, and
asks for one.
Previewing
Section titled “Previewing”--dry-run and --plan are both previews and are deliberately not the same one. --dry-run
answers offline, from configuration alone, and never contacts the install. --plan answers from
the install’s real Terraform state, so it needs credentials, and it is the only one of the two that
can report drift. The two are refused together.
Neither moves the install checkout in $HOME/kube-agents or edits install.env. A preview that
needs sources the checkout does not have reads them from a temporary copy instead, so the checkout
is still on the release the install runs when the preview is over. When a run is configured from
$(pwd)/install.env or KUBE_AGENTS_INSTALL_ENV outside $HOME/kube-agents, it fetches a
temporary copy as well rather than touching $HOME/kube-agents. When --plan reuses the
install’s own checkout because it is already on the target release (or runs from inside it),
--plan refreshes the generated terraform/examples/full-install/terraform.tfvars and
.terraform/ working directory there so Terraform can plan against the live backend. --dry-run
exits before Terraform runs and writes nothing.
Neither is refused by an edited checkout either. A preview of what an uncommitted change would
apply is the one report that answers “what have I edited here”, so both previews warn and continue
where a real upgrade stops. When the configuration the run loaded records a different install than
the flags name, only --dry-run warns and continues — --plan refuses alongside a real upgrade
because planning writes terraform.tfvars and reconfigures .terraform/ in the working sources
(see Naming the install).
What a preview will not do is report on a run that could not happen: with no install.env anywhere
it stops with the same refusal a real upgrade gives, rather than printing a plan you could not
execute.
Naming the install
Section titled “Naming the install”The lookup order above is what keeps the configuration and the target install in step, because
standing in an install’s directory upgrades that install. The piped one-liner has nowhere to stand,
so on a machine with two installs it loads $HOME/kube-agents/install.env whichever cluster the
flags name. A full upgrade re-renders the PlatformAgent resource from that file, so the mismatch
writes one install’s chat space, allowed users, model provider and namespace into the
other.
So the run compares them. When --gcp-project-id, --gke-cluster-name or --gcp-region names
something the loaded install.env records differently, both a real upgrade and --plan refuse,
while --dry-run reports the mismatch and goes on. Point KUBE_AGENTS_INSTALL_ENV at the
install.env of the install you are upgrading, run from its checkout, or drop the flag that
disagrees.
Checking the result
Section titled “Checking the result”kubectl get deployment platform-agent-gateway -n kubeagents-system \ -o jsonpath='{.spec.template.spec.containers[?(@.name=="platform-agent")].image}{"\n"}'kubectl get deployment kube-agents-controller-manager -n kubeagents-system \ -o jsonpath='{.spec.template.spec.containers[*].image}{"\n"}'kubectl get platformagent platform-agent -n kubeagents-system \ -o jsonpath='{.status.conditions[?(@.type=="Ready")].status}{"\n"}'kubectl get pods -n kubeagents-systemhelm history kube-agents -n kubeagents-systemBoth images end in :<RELEASE_VERSION>, the Ready condition reads True, the gateway pod is
Running, and the newest Helm revision is deployed. kubeagents-system is the default
namespace; an install that set NAMESPACE in install.env uses that one. platform-agent is the
chart’s default platformAgent.name value.
The run also writes a machine-readable report to /tmp/kube-agents-upgrade-report.json.
After an upgrade that rolls the bus
Section titled “After an upgrade that rolls the bus”An upgrade that changes the A2A bus’s pod template, such as its image, restarts a three-server bus
one server at a time. Each server rejoins the JetStream meta group as it comes back. Rarely, a
server stays outside the group after its restart. A server’s pod reports Ready before it rejoins,
so check the bus whenever an upgrade restarted its pods: an upgrade row says the bus rolls or
restarts, or the pods’ age shows it.
The operator checks every server every five minutes on a provisioned bus of more than one server. Wait for the roll to finish and for the next check, then read its condition:
kubectl rollout status statefulset/platform-agent-a2a-nats -n kubeagents-systemkubectl get platformagent -n kubeagents-system \ -o jsonpath='{range .items[*].status.conditions[?(@.type=="A2ABusServersCurrent")]}{.status} {.reason}: {.message}{"\n"}{end}'True (AllCurrent): every server rejoined, and the bus is whole. False
(ServerOutsideMetaGroup): a server has been outside the group for at least 5 minutes. Degraded
then reads A2ABusServerOutsideMetaGroup, and the message names the server and the command to
restart it (status). Ready doesn’t change.
With no A2ABusServersCurrent condition, such as from an operator older than this check, or before
its first poll after the roll, read each server’s own view instead:
for i in 0 1 2; do echo "nats-$i: $(kubectl exec platform-agent-a2a-nats-$i -n kubeagents-system -c nats -- \ wget -qO- http://127.0.0.1:8222/jsz | jq -c '{leader: .meta_cluster.leader, current: [.meta_cluster.replicas[]? | {(.name): (.current and (.offline | not))}]}')"doneAll three servers name the same leader, and the leader’s line lists the other two as true: the
bus is whole. A server is out when it names no leader or another leader, when the leader lists it
as false or doesn’t list it, or when its line printed nothing. The A2ABusMetaGroup condition
reports the same only on a pass that creates the bus’s provisioning Job, so its absence doesn’t show
that every server rejoined.
On a provisioned bus the operator restarts a single stray once on its own, under guards that keep the bus’s quorum. A Warning A2ABusServerRestarted Event on the PlatformAgent says it did; if a guard held it back, the condition’s message says which. So delete a pod by hand only with an
operator older than that repair, or when the message says a guard held it back and the reason has
passed. Act only when exactly one server is out and the other two agree on the leader. If that
server is still out 10 minutes after the roll finished, delete its pod, with N its number:
kubectl delete pod platform-agent-a2a-nats-N -n kubeagents-systemThe StatefulSet recreates it on the same volume. Its Ready alone doesn’t mean it rejoined, so check
again a minute or two after the pod is Ready. Delete it once only, and not after the operator’s own restart of it. If it is still out, or more
than one server is out, or the servers don’t agree on a leader, leave the pods as they are: deleting
more servers takes the streams’ other copies away. Open an issue with each server’s /jsz output. A
one-server bus has no meta group and needs no check.
On an install with Slack enabled, check that Slack still answers. The A2A gateway holds the connection, with or without Google Chat:
kubectl logs deploy/platform-agent-a2a-gateway -c gateway -n kubeagents-system \ | grep -E 'slack connected|chat backend stopped'The last line contains "msg":"slack connected" and names the bot user and the workspace
(team). The gateway logs it once it has joined the bus and Slack has accepted the bot token,
and then opens the Socket Mode connection. A chat backend stopped line after it means that
connection failed. One with no slack connected before it means the gateway’s first call to
Slack failed: its err reads invalid_auth when Slack refused the bot token, and anything else
(a DNS error or a timeout, say) is the gateway not reaching Slack. The gateway retries either
way.
After two consecutive five-minute usage polls reading kubeagents_a2a_gateway_slack_connected as
0 (first poll 30 seconds after operator leader election), a failing Slack connection also sets
SlackConnected=False and Degraded=True (Reason: SlackConnectionFailed) on the
PlatformAgent without changing Ready or phase (What Degraded reports).
No output means the gateway has not tried Slack yet: it first joins the bus and binds its event
relay, and until the provisioning Job has created the TASKS stream it waits, logging waiting for the stream to be created, with the pod reading 0/1 ready. Wait a minute and run the
command again. If the pod’s restart count is climbing instead, kubectl logs ... --previous
shows why the last run exited.
Then DM the app a question such as what clusters can you see? and wait for the answer (an
AI agent asks a person to do this): the log line does not prove that messages reach the agent. If
nothing comes back, Slack app setup → Verify has the next
checks.
Moving to the A2A stack
Section titled “Moving to the A2A stack”Every install runs the A2A stack: the NATS bus, the A2A gateway, the auth callout, the capability
verifier, the A2A console and the hermes-bridge container in the agent pod. The chart also creates the <release namespace>-profiles Namespace for
profile pods, with its ResourceQuota and NetworkPolicy. Earlier releases rendered it only for spec.mode: next, and an install made
before next became the default ran without it, as spec.mode: today. The upgrade moves such an
install with no action of yours.
spec.mode is deprecated and ignored. The CRD defaults an absent field to next, and the admission
webhook rewrites today to next on the next write. The operator patches a stored today to
next on its first pass, and records an Event with reason ModeMigrated on the PlatformAgent.
PLATFORM_AGENT_MODE in install.env is read and ignored, with one notice; delete the line. There
is no switch back: the way back is the previous release
(Rolling back a release).
docs/designs/spec-mode-switch.md
is the design of record for the stack. This section covers what the move does to an install that
ran without the stack: the bus first, then Google Chat, then Slack. An install already on next
meets none of it.
The A2A bus
Section titled “The A2A bus”An install that ran without the stack has no A2A bus, so the upgrade creates one, and a new bus
runs three NATS servers on separate nodes, each with a 40Gi JetStream claim
(Cluster requirements). On a Standard
cluster that cannot grow to three nodes, set the chart value
platformAgent.harness.tuning.busReplicas: 1 (through extra_helm_values) before the upgrade. Once the
bus exists, changing the count migrates it, keeping its data
(Changing the bus’s server count).
The chart’s quota check counts the whole stack
(Footprint); under a namespace quota sized for the
previous stack, helm upgrade is refused until the quota has room.
With Google Chat or Slack on, a full run prints the chat setup checklist after “Upgrade Complete!”, so the app steps the gateway needs are on the screen after the move.
Google Chat
Section titled “Google Chat”With Google Chat enabled, the A2A gateway takes Google Chat. Each top-level
message you send the app in a DM is then its own conversation, answered in its own thread, as on
Slack (ChatOps → Google Chat). The thing to set for
it is the home channel, where alerts and scheduled reports land. The gateway posts them
to GOOGLE_CHAT_HOME_CHANNEL in install.env (the PlatformAgent’s
spec.integration.googleChat.homeChannel), which must be a space name, spaces/<id>, or, with
the key unset, to the space it learns from the first mention (below). A home
channel set from chat with /sethome, or by the install’s first chat message, before the move is
kept in the Planning Agent’s profile and does not count.
With the key not a space name, the agent posts nothing to Google Chat unprompted. With it unset, the gateway makes the space of the first top-level mention of the agent in a named space the home channel, and the agent posts nothing unprompted until then.
Before the upgrade, set GOOGLE_CHAT_HOME_CHANNEL in install.env, so the full run applies it
(ChatOps → Home channel). After it, check that
a scheduled report or an alert reaches that space.
With Slack enabled too, the same gateway takes Slack. The Slack steps below apply as they do with Google Chat off.
Before the upgrade
Section titled “Before the upgrade”-
Check that Slack answers now, as in Checking the result.
-
Check the Slack settings the gateway depends on. A full upgrade refuses a run that would hand the gateway a setting it cannot use, and names it (When an upgrade is refused);
--planwarns of the same ones. Checking first saves a refused run:-
The bot token is one
xoxb-token, not a comma-separated list: the A2A gateway takes a single workspace’s token (Get the tokens). This counts thexoxb-tokens in the installer’s Secret without printing them, and should print1:Terminal window kubectl get secret platform-agent-secrets -n kubeagents-system \-o jsonpath='{.data.SLACK_BOT_TOKEN}' | base64 -d | tr ',' '\n' | grep -c '^xoxb-'0means nothing was read: check that thePlatformAgent’sspec.integration.slack.botTokenSecretRef, if set, names this Secret and key. -
SLACK_ALLOWED_USERSininstall.envholds member IDs such asU0123ABCD, not emails (Allowed users). -
SLACK_HOME_CHANNELininstall.envis the ID of the channel for alerts and scheduled reports:C…, orG…for some private channels. The gateway posts the agent’s proactive messages to this channel, or, with it empty andhomeChannelPolicyauto (the default), to the channel of the first top-level mention of the agent. A/sethomehome channel does not carry over. A DM ID (D…) or a channel name turns off the gateway’s notify route, and with it the reports of board cards (Slack app setup → Home channel). With no home channel those posts go to Google Chat’s home channel, or are refused when Chat has none either, while conversations keep working. The run warns, and thePlatformAgentcarriesHomeChannelUnset. -
Keep the agent image at the operator’s release, on Slack and on Google Chat. A learned home channel reaches the agent through a file the operator mounts; an older agent image reads env only and never sees it, while the CR shows no condition. An older agent image on an install with no home channel on the CR also sends no proactive posts.
-
An allowed member moves the home channel later from the app’s Home tab (the Home channel panel); the record keeps who moved it and when. On a rollback to a gateway without the panel, a published Home view keeps the picker until the member reopens the tab; the old gateway drops a pick and writes nothing.
-
-
Check the board for cards in flight:
Terminal window kubectl exec deploy/platform-agent-gateway -c platform-agent -n kubeagents-system -- \hermes kanban ls --status runningkubectl exec deploy/platform-agent-gateway -c platform-agent -n kubeagents-system -- \hermes kanban ls --status blockedWait until neither command lists a card: answer each blocked card in its Slack thread, and let running ones finish (What carries over says why). If scheduled jobs keep filing cards, upgrade between their runs.
-
Upgrade when nobody is using the agent, and tell its users that Slack will not answer for a while.
Then run the upgrade in the default full mode: pass no --upgrade-mode. An
operator run moves the install too, since the operator renders the stack whatever the chart says,
but only a full run re-renders install.env’s Slack and Google Chat settings onto the resource.
During the upgrade
Section titled “During the upgrade”The operator moves Slack in three steps:
- It restarts the credential broker without the Slack tokens, stopping the old broker pod before
it starts the new one, and restarts the agent’s pod without its Slack listener. From here, no
process holds the app’s Socket Mode connection.
- Messages the broker had taken from Slack but not yet handed to the agent are lost: the broker acknowledges each event to Slack when it arrives and holds it in memory.
- A question the agent was answering stops with its pod and gets no answer.
- A board card that was running is put back in the queue once the board reclaims its stale
claim, which can take up to 30 minutes (
kanban.dispatch_stale_timeout_seconds), and runs again from the start.
- It creates the NATS bus and the auth callout. It creates the A2A gateway once a callout replica is ready, which needs the bus to be running. The provisioning Job, started at the same point, creates the bus’s streams.
- The gateway joins the bus and waits for the provisioning Job to create the
TASKSstream; until then the pod is running but not ready, and thePlatformAgentreadsProvisioningnaming it. It then checks the bot token with Slack, logsslack connected, and opens the Socket Mode connection.
The broker’s connection stops when the move starts, and the gateway exists only once the bus is up, so in practice the two never take the same message. How long Slack goes unanswered depends on how fast the cluster schedules and pulls the new pods. Slack has no connection to deliver a message sent in that gap to, and nothing in kube-agents fetches it later: treat it as lost, and ask its sender to send it again. Wait for the gateway, for up to 15 minutes:
for i in $(seq 90); do kubectl logs deploy/platform-agent-a2a-gateway -c gateway -n kubeagents-system 2>/dev/null \ | grep -q 'slack connected' && { echo connected; break; } sleep 10doneIt prints connected once the gateway has logged slack connected. The operator then restarts
the agent’s pod once more, to add the bridge that runs the gateway’s tasks, and that can take a few
minutes if the cluster has to add a node for it. Wait for the PlatformAgent to report Ready,
then check Slack as in Checking the result:
kubectl wait platformagent/platform-agent -n kubeagents-system --for=condition=Ready --timeout=15mIf the loop prints nothing, the Ready condition’s message names what the
operator is waiting on, and
Troubleshooting
has the checks for the bus and the gateway. Slack stays unanswered until the gateway connects or
you roll back to the previous release.
kubectl get platformagent platform-agent -n kubeagents-system \ -o jsonpath='{.status.conditions[?(@.type=="Ready")].message}{"\n"}'What carries over
Section titled “What carries over”- The same app, tokens and allowlist. The gateway reads the tokens from the same Secret.
- Corporate proxy settings. Literal proxy entries in
spec.deployment.env(platformAgent.deployment.env) carry over to<name>-a2a-gateway(Guarantee and limitation);valueFromreferences are ignored. The gateway’s in-cluster Kubernetes API clients and its Google Chat and Teams relay clients bypass proxy variables. Admit the proxy host and port with a NetworkPolicy selectingapp: <name>-a2a-gatewaywhere the CNI enforces egress policies. - The board and the agent’s data volume. The new pod mounts the same volume.
- Not the conversations. The agent starts every Slack conversation with no history from before the move. In a channel, a reply without a mention in a thread started before the upgrade gets no answer: mention the app.
- Not the cards in flight, outside the home channel. A card filed before the upgrade from a
DM or from any channel other than the home channel posts nothing after it: the gateway refuses
the post and, with a home channel set, logs
thread "<channel>/<ts>" is not a thread of the home channel. A card filed in a home-channel thread still posts its progress and report there. Either way its buttons stop working: the gateway answers only the buttons it drew itself. - The home channel only from
install.env, as in step 2 above.
Slash commands, buttons, cards and the other Slack features that do not carry over are listed in ChatOps → What the gateway changes on Slack.
After the upgrade: the Slack app
Section titled “After the upgrade: the Slack app”Once a DM gets an answer as in Checking the result, edit the app as Slack app setup → Moving an app made for the Hermes listener describes. Delete the slash commands from its manifest and leave interactivity on, since the gateway answers the buttons it draws. Edit the app rather than pasting the gateway’s manifest over it: a manifest replaces the app’s whole configuration, including its name. Do it after the upgrade rather than before, because the Hermes listener answers slash commands until then. Until you do, a slash command gets Slack’s timeout error.
A rollback to a release before the stack was unconditional keeps the stack: that release’s
operator reads spec.mode: next on the migrated object (Rolling back a release).
Slack returns to the credential broker and the Hermes listener only after that release’s own
switch back. A full run with PLATFORM_AGENT_MODE=today alone renders no field and changes
nothing, so patch spec.mode to today first (the rollback page has the command). They answer
the slash commands again then, so put the commands block back in the app’s manifest. Conversations and cards started on the gateway do not carry back,
for the same reasons as above. The bus volume and its credentials Secret stay;
Uninstall says how to remove
them.
The gateway’s own ServiceAccount
Section titled “The gateway’s own ServiceAccount”From the release in which the gateway Pod runs as its own ServiceAccount, an upgrade moves the
gateway from the agent ServiceAccount (spec.security.serviceAccountName, kubeagents-platform-agent
by default) to <name>-gateway-agent, which the operator creates with no annotation. The agent
ServiceAccount, its Workload Identity annotation and its IAM binding stay where they are, with the
credential broker, so neither Terraform nor IAM changes. The new ServiceAccount is bound to the same
read-only kubeagents:minimal ClusterRole and the kubeagents:local and kubeagents:leader Roles
the gateway already used.
Two things an install may have added by hand do not follow the gateway:
- RBAC bound to your own ServiceAccount. If you set
serviceAccountNameand bound extra roles to it expecting the gateway to use them, the gateway no longer runs as it. Bind them to<name>-gateway-agentif the gateway needs them; the broker keeps whatever is bound to yours. - IAM granted to the gateway’s Kubernetes identity directly. A
principal://…/subject/ns/<ns>/sa/<sa>or namespace-wideprincipalSet://grant reaches whichever Pod runs as that ServiceAccount, and the gateway’s metadata path is closed, so such a grant no longer reaches the gateway. Anything in the gateway that needs Google goes through the broker.
To check: kubectl get deployment platform-agent-gateway -n kubeagents-system -o jsonpath='{.spec.template.spec.serviceAccountName}' prints platform-agent-gateway-agent for the
chart’s default name.
When an upgrade is refused
Section titled “When an upgrade is refused”Every one of these stops the run before any of the new release is applied. The first four are
settled before the run touches the cluster at all. The last six need the cluster: they are settled
after kubectl has been pointed at it, and except for the breaking-change check, after a real run’s
pre-flight Secret backfills (a plan skips those). They still run before any CRD, chart or Terraform
change of the new release. One is the exception: the gVisor node-pool refusal comes from the
Terraform apply itself, so a full upgrade it stops has already applied the new release’s CRDs.
-
The sources do not match the release. The checkout’s
HEADis not the release’s commit, the tree has uncommitted changes, or an unpacked tree names a release other than the one asked for — either in its.release-bundlemarker or in the version stamped into its root scripts. A release script carries its version with it, so standing in an older unpacked tree and running a newer one is refused rather than silently applying the older tree. The stamp is read frominstall.shanduninstall.shbeforeupgrade.sh, because saving a newerupgrade.shinto an older tree overwrites the one file that would otherwise be asked. Start again from a clean checkout or from the bundle of the release you want. -
KUBE_AGENTS_INSTALL_ENVnames a file that is not there. An explicit pointer is taken literally, not fallen back from, so a stale or mistyped value is reported with the path you gave rather than searched past. Fix the path or unset the variable. -
No install configuration. Neither
KUBE_AGENTS_INSTALL_ENVnor aninstall.envwas found in any of the configuration locations described at the top of this page. An install predating 0.4.0, which kept its settings in the retiredk8s-operator/scripts/vars.shand never gained aninstall.env, is refused here: copy those settings into aninstall.envfirst. If the machine that held the file is gone, see Recoveringinstall.env. -
GITHUB_APP_IDis not a number. The token minter needs the GitHub App’s numeric ID, the “App ID” on the App’s General settings page, not its name or slug.--dry-runrefuses it too. -
The move leaves behind a commit marked as a breaking change. When the target does not contain the installed commit — a rollback to an older release, or a commit build moved to a release that lacks some of its commits — the run reads the commits the target lacks. It stops before the Secret backfills if any has a
type!:subject or aBREAKING CHANGE:footer, and names each one. Read them, then re-run with--allow-breaking-downgrade, in any mode.--planwarns instead. A move between two release tags to the newer one is not checked, and neither is a run whose tag is read off the install. See Rolling back a release. -
The apply would destroy the gVisor node pool. A full upgrade whose
ENABLE_GVISORresolves tofalseon a Standard install that runs the gVisor pool stops beforeterraform apply, after the CRDs (see above). With noENABLE_GVISORininstall.env, the upgrade reads the live install instead: the Terraform state, then the cluster’s node pools. On Autopilot with no state to read, it keeps the sandbox. To keep the pool, setENABLE_GVISOR="true". To turn the sandbox off on purpose, re-run with--allow-node-pool-destroy(full mode only). -
No Helm release. The target namespace has no
kube-agentsrelease to upgrade. -
The memory store cannot be checked and nothing named one. When the configuration records no
MEMORY, the upgrade asks the cluster whether it runs the Hindsight memory store, so that a store that is there is kept rather than planned away. If the cluster cannot be asked —kubectlis pointed elsewhere, the credentials have expired, the API server times out — the run stops instead of guessing. RecordMEMORY=hindsight|file|offininstall.env, or restore access to the cluster and re-run. -
The chart does not declare a value the release recorded. The operator and harness modes re-apply the values the release recorded, and name each one the new chart’s values schema refuses as undeclared. On an upgrade that is usually a setting the new chart renamed or removed: run
--upgrade-mode=full, which rendersinstall.envonto the chart instead. On a rollback to a release that predates the value, re-run with--drop-undeclared-values. A full upgrade refuses that flag, since it has no recorded values to drop. -
A Slack setting the A2A gateway cannot use. With Slack on, the A2A gateway takes Slack, with or without Google Chat. The run refuses three settings it cannot use, naming each one:
- a
SLACK_ALLOWED_USERSentry with an@: the list matches Slack member IDs exactly, so an email matches nobody. Replace it with the person’s member ID (in Slack, their profile, then ⋮ (More), then Copy member ID). - a
SLACK_HOME_CHANNELthat is not a channel ID (C...orG...): the gateway’s notify route does not arm, so proactive posts and board-card reports stop. The ID is at the bottom of the channel details’ About tab. - a
SLACK_BOT_TOKENthat holds several tokens, or one with a comma or space left in it: the gateway takes one workspace’s token, whole. The run gives the count, never the token. Install one bot token from one workspace, or turn Slack off (SLACK_ENABLED=false).
--planwarns of the same three without refusing. - a
-
A
SLACK_HOME_CHANNEL_POLICYorGOOGLE_CHAT_HOME_CHANNEL_POLICYthat is notautoormanual. Each key renders its platform’shomeChannelPolicyunderspec.integration, and the CRD accepts only those two values (empty meansauto). The run stops before it writesterraform.tfvars, in every mode and with the platform on or off, and names the key.--planstops the same way. -
The apply would remove GitOps. The PlatformAgent opens pull requests through the GitHub token minter, but
install.envdoes not carry that repository inGITOPS_ORG,GITOPS_REPOandGITHUB_APP_ID. The run would therefore render GitOps off and destroy the minter’s Cloud KMS key, key ring and service account. This is what an install whose GitOps came frominstall.sh’s flags looks like when it was set up by a release that did not record them ininstall.env. The run prints the lines to set, with the live values filled in where it can read them; set them and re-run the same command. To remove GitOps on purpose, re-run withKUBE_AGENTS_REMOVE_GITOPS=truein the environment.--planwarns instead.A minter that this install did not make (one made by hand, by
make deploy-github, or by another Helm release) is not removed by the apply, so the run does not ask forGITHUB_APP_ID. It refuses whenGITOPS_ORG,GITOPS_REPOandGITOPS_HOSTdo not name the PlatformAgent’s GitOps repository, or when it cannot read the PlatformAgent or the repository it names.The run decides that the minter is not this install’s only when three things hold. The
kube-agentsrelease record hasgithubMinter.enabledfalse, the minter’s Deployment carries no Helm annotations for that release, and the install’s Terraform state holds no minter module (its service account and Cloud KMS key). With no release (a first install), or a state it cannot read, it applies the check above. -
The chart’s minter would land on another minter. This run renders the chart’s own token minter, but a minter that this install did not make runs under the same names, and Helm does not take over objects it does not own. Remove all of the other minter’s objects first: run
make -C k8s-operator undeploy-githubwith the sameGITHUB_MINTER_KSA_NAMEfor the kustomize path, or turn the minter off in the Helm release that made it, and delete agithub-app-credentialsSecret that you made by hand. Or keep the other minter: setGITHUB_APP_IDempty ininstall.env(and, withinstall.sh, give no--github-app-id).--planwarns instead.
What stops during an upgrade
Section titled “What stops during an upgrade”At the default of one replica, the agent gateway runs one pod with the Recreate strategy, and credential-proxy also keeps Recreate for default and fixed sizingProfile installs. Under sizingProfile: auto (in-cluster), the credential broker uses RollingUpdate (maxSurge: 1, maxUnavailable: 0) under operator-coordinated active-standby handoff (<agent>-credential-proxy-control Secret and <agent>-credential-proxy Lease). It warms the replacement in standby before draining the active pod (30s drain window), cutting over without a gap after one initial Recreate hop from pre-handoff pods. The operator and LiteLLM keep serving. The operator starts its new pod first, and LiteLLM runs two replicas and keeps one serving.
| Mode | What restarts |
|---|---|
operator |
The operator, and the A2A gateway, callout, verifier and console, whose images derive from the operator’s; chat through the A2A gateway pauses until its new pod is ready. The agent gateway also restarts if the run added keys to platform-agent-secrets. The agent gateway, the credential broker and the shell sandbox restart if the new operator renders them differently. |
harness |
The agent gateway, the credential broker, whose image tag follows the agent’s unless credentialProxy.image pins it, and the shell sandbox. The run’s image read-back leaves a container on a credentialProxy.image or hermesBridge.image pin out of its verdict. |
full |
The workloads of both other modes, and each object that a changed setting touches. |
In each mode, a chart workload such as LiteLLM also restarts if the target release’s chart changed it. In CI runs, a harness upgrade made the agent unavailable for 41 seconds to about 3 minutes. A full upgrade on staging took about 8 minutes. These are examples, not limits.
In the harness and full modes, and in an operator run that added Secret keys, the script waits up to 25 minutes for the agent gateway. That allows for a cold image pull. An operator run does not wait for a re-rendered agent gateway, the shell sandbox, or the credential broker, because their images stay on the previous revision until the harness step runs. The script can therefore end before those workloads finish rolling out.
During the restart:
- Google Chat. Google Chat retries a message the gateway did not acknowledge, so a message sent while the gateway pod restarts arrives once the new pod answers. A turn the gateway’s session pod was running ends without an answer.
- Slack. The gateway confirms each Slack event when it arrives, and nothing retries one it could not confirm. While the gateway pod restarts, Slack has no connection to deliver to: a message sent in that gap is lost, so ask its sender to send it again. A turn the gateway’s session pod was running ends without an answer.
- Board cards. The board is on the agent’s volume, so the cards stay. A card that was running
usually goes back to
readysoon after the new pod starts, and runs again from the start. This does not count against the card’s retries. If the old worker’s process ID is in use in the new pod, the card waits until its claim times out.
Where to go next
Section titled “Where to go next”- Rolling back a release — the reverse move, and what each mode leaves behind when it goes backwards.
- Release versioning and promotion — what a release tag guarantees about the artifacts it names.
- Uninstall — removing the install instead of moving it.