Using Move2Kube UI

Similar to the command line tool, the Move2Kube Web-UI can also perform the transformation with all the capabilities that are in the command line tool. This document explains the steps to bring up the UI and backend using Docker and use it for transformation.


  1. Install Docker.

  2. Use the language-platforms sample. The language-platforms file has a combination of multiple applications in different languages (Java, Go, Python, Ruby, etc.) which need to be containerized and then put into Kubernetes.

Using the UI to perform a transformation

  1. Download the language platforms sample as a zip.

    $ curl | bash -s -- -d samples/language-platforms -r move2kube-demos -z
    $ ls
  2. Run docker run --rm -it -p 8080:8080

    $ docker run --rm -it -p 8080:8080
    INFO[0000] Starting Move2Kube API server at port: 8080

This starts a container using the Move2Kube UI image on port 8080.

# Optionally if you need persistence then mount the current directory:
$ docker run --rm -it -p 8080:8080 -v "${PWD}/move2kube-api-data:/move2kube-api/data"
# And if you also need more advanced features of Move2Kube then mount the docker socket. This will allow Move2Kube to run container based transformers:
$ docker run --rm -it -p 8080:8080 -v "${PWD}/move2kube-api-data:/move2kube-api/data" -v //var/run/docker.sock:/var/run/docker.sock
  1. Open http://localhost:8080 in a browser.

  2. Click the New Workspace button to create a new workspace named Workspace 1.

  3. Scroll down and click the New Project button to create a new project named Project 1.

  4. Scroll down to the Project inputs section and upload the file downloaded earlier in this tutorial and wait for it to finish uploading.

  5. Scroll down to the Plan section and click on the Start Planning button.

Note: Generating the plan takes about three to five minutes to generate the plan in YAML format.

  1. Scroll to view the different services.

Important: Click Save after all edits.

  1. Scroll down to Outputs section and click on the Start Transformation button.

  2. Move2Kube will ask some questions to aid in the transfomation process.

    For the container registry question, specify the container registry where you want to push the images.

    Same for the container registry namespace question.

    If your container registry requires authentication for pulling images, specify that in the container registry login question.

    For the ingress host question, specify the hostname of the Kubernetes cluster. If you are deploying to Minikube then specify localhost as the hostname and leave the TLS secret blank.

    For all other questions, click the Next button to accept the default answers.

  3. Click on the output to download the generated artifacts as a zip file (here, extract it, and browse them. The applications can now be deployed to Kubernetes using these generated artifacts.

  4. Build and push the container images and deploy to Kubernetes using the downloaded output. The steps for doing that are same as the CLI tutorial.


This tutorial shows how easy it is to performa a transformation using the UI. The UI can be hosted on a common server and used by different teams using different workspaces and also has authentication and authorization capabilities to restrict access to particular workspaces.