Installation
v5.12.0
Search this version
Installation
Installation
Containerized Deployment
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Upgrade Strategy on K8S
Copy Markdown
Open in ChatGPT
Open in Claude
For upgrading MetaDefender ICAP Server the container of the application contains the automation to upgrade the database schema and migrate the configuration data. The strategy recommended to use is
- Rolling Update ( Easy deployment where functionality test with new version is based on Kubernetes Probes )
As indicated in , the Kubernetes probes like Readiness and Liveness probes help the application to control the expected behavior, not to have a downtime, when doing an upgrade.
Rolling Update Strategy
When using the Rolling Update strategy provided by Kubernetes technology, these are the main points to consider
- Traffic wont be sent to new pods until readiness probe is successful
- Old version pods won’t be terminated until new version pods are ready to serve traffic
- Rolling Update is the default strategy for deployment
Step by step using kubectl
- Set new image version on the MetaDefender ICAP Server deployment
Bash
kubectl set image -n <namespace> deployments/md_icapsrv icap_components.md_icapsrv.image=opswat/metadefendericapsrv-debian:<NEW_IMAGE_TAG>Step by step using helm
- Set new image version in values.yaml helm file
values.yaml
core_components: md-core: image: opswat/metadefendercore-debian:<NEW_IMAGE_TAG>- Run helm upgrade command with the environment variables desired if not indicated in values.yaml file when first deployment
Bash
helm upgrade md-icapsrv <chart> -n <namespace>Rollout Failed Update
MetaDefender ICAP run the upgrade over the same database. So to rollout it is needed to change the database using the backup created before upgrading. Once the database contains the previous version the deployment can be rollout
Bash
kubectl rollout undo deployments/md-core -n <namespace>Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Next to read:
Connect the ICAP Client outside K8s to ICAP on K8sDiscard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message
