> For the complete documentation index, see [llms.txt](https://docs.portainer.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.portainer.io/portainer-migrate/using-portainer-migrate/running-a-migration/translate.md).

# Translate

The **Translate to Kubernetes** step shows exactly what will be deployed. Each workload you selected is converted to Kubernetes manifests, and every volume is classified so you can see how its data will be handled. Nothing has been changed yet.

The translation is deterministic: the same workloads always produce the same manifests. For the full rules, see [What gets translated](https://docs.portainer.io/portainer-migrate/reference/what-gets-translated.md).

## Storage

If any of the selected workloads have volumes or bind mounts, the **Storage** panel lists each one as `component · source → mount path`, with a badge showing how it will be migrated and an explanation underneath.

A summary at the top tells you whether you can go ahead:

| Summary                                 | Meaning                                                                                                                 |
| --------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
| **All volumes are handled**             | NFS volumes will mount in place, and everything else will be cold-copied on the Migrate step. No manual step is needed. |
| **N volume(s) need a manual data step** | The volumes will be created, but their data won't be moved. Copy it yourself before switching users over.               |
| **N volume(s) can't be migrated**       | Migrate will stop before deploying anything. Each blocked volume explains why and what to change.                       |

The badges are:

| Badge                                          | What happens                                                                                                  |
| ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
| **NFS — mounts in place**                      | The pod mounts the same NFS export. No data is copied.                                                        |
| **Local volume — cold copy**                   | The volume's data is copied into a new PersistentVolumeClaim.                                                 |
| **Bind mount — cold copy**                     | The host directory or file is copied into a new PersistentVolumeClaim. The target doesn't need the host path. |
| **Database — cold copy**                       | As for a local volume. The target must run the same major version of the database.                            |
| **External driver — cold copy**                | A volume from a non-local driver is copied into a new PersistentVolumeClaim.                                  |
| **Starts empty**                               | You chose not to copy this mount. The pod gets an empty directory.                                            |
| **NFS — not mounted in place**                 | Blocked. Turn on **Migrate NFS volumes in place** on Pre-flight.                                              |
| **Not migrated — Swarm data copy unsupported** | Blocked. Data can't be copied out of Swarm services. Use NFS in place, or migrate from standalone Docker.     |

See [Migrating data](https://docs.portainer.io/portainer-migrate/using-portainer-migrate/migrating-data.md) for how each path works.

### Start empty

Directory mounts at runtime paths that would be copied (other than database volumes) have a **Start empty** checkbox. A volume mounted at several paths starts empty only when every mount is ticked. Tick it to skip copying that mount: the pod gets an empty directory (`emptyDir`) instead of a volume, and anything written there is lost when the pod is recreated.

Use it only for runtime state that the application recreates on start, such as sockets, PID files and caches. A mount containing named pipes or device files can't be copied, so **Start empty** is the way to migrate it.

{% hint style="danger" %}
Don't tick **Start empty** on a database volume or any mount that holds data you need. Its contents are not migrated.
{% endhint %}

## Manifests

Below the storage panel, a summary line shows how many components and manifests were generated and the namespace they go into, followed by the full YAML. Each app's manifests are committed as their own file, `<namespace>/<app>.yaml`.

A one-shot service (one that exited with code 0 and has no restart policy) is left out, and a note says so. Settings that don't carry over, such as privileged mode, host networking, healthchecks and limits, are listed as notes. Environment variable names Kubernetes rejects are dropped with a note, and variables the image already sets with the same value aren't copied. Variables whose names look like credentials (password, secret, token or key) are listed per component, because they're written to your repository in plain text.

For the official WordPress image, a **Site URL** field sets `WP_HOME` and `WP_SITEURL` so the site stops redirecting to its old address. It defaults to the Ingress URL and doesn't change the database. If you don't use an Ingress, set it to an address in front of the app (DNS, a proxy or a load balancer), or change it in WordPress under **Settings → General** after migrating.

## Errors

| Message                                | What to do                                                                                                                                                                                                                 |
| -------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Nothing selected**                   | Go back to Discover and choose at least one workload.                                                                                                                                                                      |
| **Couldn't read the source workloads** | The reason follows. It's usually a mount that can't be migrated, such as a Docker socket or a Swarm bind mount. See [Troubleshooting](https://docs.portainer.io/portainer-migrate/reference/troubleshooting.md#translate). |
