Update AI/Run CodeMie
Overview
This guide describes the process of updating AI/Run CodeMie components to newer versions.
To ensure optimal performance and access to the latest features, it's recommended to regularly update your AI/Run CodeMie deployment with new releases.
Check the latest AI/Run CodeMie releases and release notes at: https://codemie.lab.epam.com/#/release-notes
Prerequisites
- Access to the codemie-helm-charts repository
kubectlaccess to your EKS cluster- Helm 3.16.0+ installed
- Backup of critical data (recommended)
codemie-helm-chartsrepo is up to date with values used during initial deployment
Before updating AI/Run CodeMie components, login to AI/Run CodeMie GCR:
export GOOGLE_APPLICATION_CREDENTIALS=key.json
gcloud auth application-default print-access-token | helm registry login -u oauth2accesstoken --password-stdin https://europe-west3-docker.pkg.dev
Update Methods
Scripted Update
Use the automated script for updates:
bash helm-charts.sh --cloud gcp --version x.y.z --mode update
The --mode update flag updates AI/Run CodeMie core components in the following order:
- CodeMie MCP Connect
- Mermaid Server
- CodeMie NATS Auth Callout
- CodeMie UI
- CodeMie API
Manual Component Update
-
Update
codemie-mcp-connect-servicehelm chart with the command. Replace--version "x.y.z"with your target version, for example--version "2.2.5":helm upgrade --install codemie-mcp-connect-service oci://europe-west3-docker.pkg.dev/or2-msq-epmd-edp-anthos-t1iylu/helm-charts/codemie-mcp-connect-service \
--version x.y.z \
--namespace "codemie" \
-f "./codemie-mcp-connect-service/values.yaml" \
--wait --timeout 600s -
Update
mermaid-servercomponent. Replace--version "x.y.z"with your target version, for example--version "2.2.5":helm upgrade --install mermaid-server oci://europe-west3-docker.pkg.dev/or2-msq-epmd-edp-anthos-t1iylu/helm-charts/mermaid-server \
--version x.y.z \
--namespace "codemie" \
-f "./mermaid-server/values.yaml" \
--wait --timeout 600s -
Update
codemie-nats-auth-calloutfirst. Replace--version "x.y.z"with your target version, for example--version "2.2.5":
helm upgrade --install codemie-nats-auth-callout \
"oci://europe-west3-docker.pkg.dev/or2-msq-epmd-edp-anthos-t1iylu/helm-charts/codemie-nats-auth-callout" \
--version "x.y.z" \
--namespace "codemie" \
-f "./codemie-nats-auth-callout/values-gcp.yaml" \
--wait --timeout 600s
- Update
codemie-uithen. Replace--version "x.y.z"with your target version, for example--version "2.2.5":
helm upgrade --install codemie-ui oci://europe-west3-docker.pkg.dev/or2-msq-epmd-edp-anthos-t1iylu/helm-charts/codemie-ui \
--version x.y.z \
--namespace "codemie" \
-f "./codemie-ui/values-gcp.yaml" \
--wait --timeout 180s
- Lastly update
codemie-apicomponent. Replace--version "x.y.z"with your target version, for example--version "2.2.5":
helm upgrade --install codemie-api oci://europe-west3-docker.pkg.dev/or2-msq-epmd-edp-anthos-t1iylu/helm-charts/codemie \
--version x.y.z \
--namespace "codemie" \
-f "./codemie-api/values-gcp.yaml" \
--wait --timeout 600s
- Verify all pods are up and running.
Next Steps
- Extensions - Explore optional extensions