How to update helm deployments
You can either upgrade the entire helm chart or choose to update individual container images based on your preference.
Upgrading helm chart version
Update the helm repo
helm repo update
Check the latest version for your deployment.
helm show chart akto/akto-mini-runtime
Upgrade the helm chart to the latest version for your deployment in your namespace.
helm upgrade akto-mini-runtime akto/akto-mini-runtime -n <namespace> --version 0.1.6
Directly updating container images
Check the image pull policy for the deployment. To check the image pull policy run the following commands.
kubectl get deployments -n dev kubectl get deployment akto-mini-runtime-mini-runtime -n dev -o yaml
According to your image pull policy, follow ahead:
imagePullPolicy: Always : If image pull policy is set to always, first check if the tag for the image is set to
latest
, if not then set it. Then run the rollout command. This will restart the pods in the deployment and download the latest builds.kubectl set image deployment/akto-mini-runtime-mini-runtime akto-api-security-runtime=aktosecurity/mini-runtime:latest -n dev kubectl rollout restart deployment akto-mini-runtime-mini-runtime -n dev
imagePullPolicy: IfNotPresent : If image pull policy is set to IfNotPresent, we would need to use versioned images for the modules which would contain the newer builds.
kubectl set image deployment/akto-mini-runtime-mini-runtime akto-api-security-runtime=aktosecurity/mini-runtime:1.42.3_local -n dev
Get Support for your Akto setup
There are multiple ways to request support from Akto. We are 24X7 available on the following:
In-app
intercom
support. Message us with your query on intercom in Akto dashboard and someone will reply.Join our discord channel for community support.
Contact
[email protected]
for email support.Contact us here.
Last updated
Was this helpful?