From d4a344b7b9e7b7062082596448c20fe93206594d Mon Sep 17 00:00:00 2001 From: Aviel Segev Date: Tue, 11 Feb 2025 15:08:16 +0200 Subject: [PATCH] Agent image section in deployment.md no longer needed Signed-off-by: Aviel Segev --- doc/deployment.md | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/doc/deployment.md b/doc/deployment.md index 5d3a385e..e5cc044d 100644 --- a/doc/deployment.md +++ b/doc/deployment.md @@ -1,6 +1,6 @@ # Deployment of the Assisted Migration service on OpenShift The project contains yaml files for deploying the Assisted Migration service on OpenShift. This document describes the deployment process. -By default images are deployed from the `quay.io/kubev2v` namespace. New images are built and pushed to quay after each PR is merged in this repo. +By default, images are deployed from the `quay.io/kubev2v` namespace. New images are built and pushed to quay after each PR is merged in this repo. ## Deploy on OpenShift In order to deploy the Assisted Migration service on top of OpenShift there is Makefile target called `deploy-on-openshift`. @@ -13,25 +13,17 @@ $ make deploy-on-openshift MIGRATION_PLANNER_NAMESPACE=assisted-migration The deployment process deploys all relevant parts of the project, including the UI and database. -To undeploy the project, which removes all the relevent parts, run: +To undeploy the project, which removes all the relevant parts, run: ``` make undeploy-on-openshift ``` -## Using custom images for the Assisted Migration Service API and UI -If you want to deploy the project with your own images you can specify custom enviroment variables: +## Using custom images for the Assisted Migration Service API, UI and agent +If you want to deploy the project with your own images you can specify custom environment variables: ``` export MIGRATION_PLANNER_API_IMAGE=quay.io/$USER/migration-planner-api export MIGRATION_PLANNER_UI_IMAGE=quay.io/$USER/migration-planner-ui +export MIGRATION_PLANNER_AGENT_IMAGE=quay.io/$USER/migration-planner-agent make deploy-on-openshift -``` - -## Using custom container images used in the Migration Asessment VM -Container images are defined in the ignition file. In order to modify the container images you need to pass the specific environment variables to the deployment of the Assisted Migration service. Modify `deploy/k8s/migration-planner.yaml` and add relevant environment variables to the deployment manifest. For example: - -``` -env: - - name: MIGRATION_PLANNER_AGENT_IMAGE - value: quay.io/$USER/migration-planner-agent -``` +``` \ No newline at end of file