update_stack
Update an existing deployed stack on the cluster. The stack object uses the same shape as create_stack and stack.name selects the stack to update. By default the update is PARTIAL: members present in the spec are added or updated and omitted members are preserved. Set replace_missing=true to replace the whole stack, removing members missing from the spec. Dependency order is carried by each member's parents: a member added here with no parents deploys in PARALLEL with everything else, so give any member that needs a namespace, Secret, ConfigMap, CRD, operator, or database from this stack a parent for it ({"name": "", "kind": "addon" or "manifest"}, kind lowercase). On an existing member, OMITTING parents preserves its current edges and passing [] CLEARS them - restate the full parent list whenever you re-send a member that has dependencies. Use this tool to add the missing edges to a stack that was created without them. Deployment of the changed members starts immediately and the change is pushed to the cluster's GitOps repository when one is connected. NEVER pass raw secret values - use ${SECRET_SLOT:} sentinels; raw secret-looking values are refused. Manifests carrying cluster-scoped or cluster-critical kinds (CustomResourceDefinition, ClusterRole, webhook configurations, PersistentVolume, ...), documents in protected namespaces (kube-, ankra-), or bindings to cluster-admin are refused by policy unless semantically unchanged from the deployed stack - manage those through the UI.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stack | Yes | The stack specification: name selects the stack; addons and manifests carry the members to add or update, with the parents that order them. agents_md records durable operational learnings beside a member in GitOps (omit to preserve, empty string to clear). | |
| cluster_id | Yes | Ankra cluster id (UUID) the call targets. Discover ids with list_clusters. |