Skip to content

Commit

Permalink
Agent image section in deployment.md no longer needed
Browse files Browse the repository at this point in the history
Signed-off-by: Aviel Segev <[email protected]>
  • Loading branch information
AvielSegev authored and machacekondra committed Feb 13, 2025
1 parent 8dc1cad commit ca30aa1
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions doc/deployment.md
Original file line number Diff line number Diff line change
@@ -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`.
Expand All @@ -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
```
```

0 comments on commit ca30aa1

Please sign in to comment.