Update the AI Runtime Security container image deployed to Kubernetes when a new version is released.
The container image is hosted on images.hiddenlayer.ai and referenced in the deployment manifest:
image: images.hiddenlayer.ai/proxy/aidr-genai/ghcr.io/hiddenlayer-engineering/distro-enterprise-aidr-genai:<tag>Do not use the :latest tag in production. Kubernetes will not detect a change if the tag stays the same, so new images won't be pulled automatically. Use explicit version tags (e.g., 26.1.0) to ensure updates are applied reliably.
kubectlconfigured with access to your cluster- Access to
images.hiddenlayer.aiwith valid registry credentials andimagePullSecretconfigured in your cluster - Your deployment name and namespace (referenced as
$NAMESPACEandaidr-genaiin the commands below)
HiddenLayer publishes release notes for each new version. When you receive a release notification, use the tag from the release notes in the steps below.
New releases are published to images.hiddenlayer.ai. Find the version you want to deploy:
images.hiddenlayer.ai/proxy/aidr-genai/ghcr.io/hiddenlayer-engineering/distro-enterprise-aidr-genai:$TAGYou do not need to pull the image locally, as Kubernetes pulls it directly from the registry during the rolling update.
You can update the image using either the manifest file or a direct kubectl patch.
Edit the image tag in your deployment manifest:
image: images.hiddenlayer.ai/proxy/aidr-genai/ghcr.io/hiddenlayer-engineering/distro-enterprise-aidr-genai:$TAGApply the updated manifest:
kubectl apply -f $MANIFEST_FILE.yamlKubernetes detects the tag change and triggers a rolling update automatically.
Monitor the rolling update until it completes:
kubectl rollout status deployment/aidr-genai -n $NAMESPACEWhen the rollout is complete, you will see:
deployment "aidr-genai" successfully rolled outIf the new image causes issues, roll back to the previous version:
kubectl rollout undo deployment/aidr-genai -n $NAMESPACETo roll back to a specific revision:
kubectl rollout history deployment/aidr-genai -n $NAMESPACE
kubectl rollout undo deployment/aidr-genai --to-revision=$REVISION -n $NAMESPACEAfter rolling back, update the image tag in your deployment manifest to match the version now running in the cluster. If the manifest still references the newer tag, the next kubectl apply will re-deploy the broken version.
Versioned tag (:26.1.0) | :latest | |
|---|---|---|
| Kubernetes detects change | ✅ Yes | ❌ No |
| Reliable rolling updates | ✅ Yes | ❌ No |
| Easy rollback | ✅ Yes | ❌ No |
| Recommended for production | ✅ Yes | ❌ No |