Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

It is a demonstrator in which the migration of a legacy application deployed in a traditional way, to the Cloud, over Kubernetes, is carried out, .

For it:

We create a project in the Center

In this step, the project is created and its configuration is assigned, including:

...

  • Kubernetes environments where the cloud solution will be deployed.

...

We carry out the Assessment of the legacy application

Once the project has been created, the next step is to identify the elements that make up the legacy application to migrate to the cloud. For this, an Assessment is carried out, that is, the identification of all the logical elements of the application and its deployment configuration in a typical environment.

...

Alternatively to the form and in a bidirectional way, this information is reflected in an editable Assessment Diagram, organized by layers:

...

We containerize the application

Once the Assessment is complete, the next step towards the cloud is to convert the logical elements identified in the application into deployable containers as Kubernetes workloads.

...

The result of the containerization is reflected in the corresponding Dockerfile descriptors on the GitLab of the project, as well as in the publication in a registry of the images of the different containers:

...

We template the application with Helm

With the containerization finished, and the relationships between logical components defined in the assessment, the Center already has an image to infer a deployment proposal on Kubernetes.

...

A Helm diagram represents a graphical abstraction of a Helm Chart, so that an architect without very deep Helm knowledge can build the Charts from it. But a Helm diagram ends up being materialized into a Helm Chart, with the YAML descriptors and configuration externalized in a values.yaml file. These charts can be downloaded or versioned in the project’s GitLab:

...

We deploy in Kubernetes

A Helm chart can also be installed in Kubernetes on top of one of the project environments. To do this, when selecting the diagram, we can choose “Display Chart Helm”.

...

with the application being deployed in the selected Kubernetes environment:

...

Video

The entire process can be seen in the following video, where you can also see how the application is deployed on the kubernetes environment managed by Rancher:

...