Skip to content

Update a Tentacle

Update a deployed tentacle with code changes, config changes, or contract changes.

  • A tentacle already deployed via tntc deploy
  • Updated source files locally

Edit any of:

  • nodes/*.ts — node logic
  • workflow.yaml — config, triggers, DAG structure, contract
  • .secrets.yaml — secrets
Terminal window
tntc validate
tntc test

Fast iteration (code-only changes):

Terminal window
tntc deploy

This updates the ConfigMap with new code and triggers a rollout restart. ~5-10 seconds.

With image rebuild:

Terminal window
tntc build --push
tntc deploy
Terminal window
tntc status my-tentacle --detail
tntc run my-tentacle
tntc logs my-tentacle --tail 20
  • tntc status shows the updated deployment rolling out
  • tntc run produces expected output with new logic
  • tntc audit still shows clean security audit (especially after contract changes)
FailureCauseResolution
Rollout stuckNew code crashes on startupCheck tntc logs for errors, fix and redeploy
NetworkPolicy blocksNew dependency not in contractAdd to contract.dependencies and redeploy
Secret errorsNew node uses undeclared secretUpdate .secrets.yaml and redeploy
Config key missingNode reads config not in workflow.yamlAdd key to config: block