Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agent image section in deployment.md no longer needed #159

Merged
merged 1 commit into from
Feb 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
```
```