There are no tags associated with this article.

How to launch and deploy environment in Kubernetes?

In this FAQ we will learn how to configure and deploy Kubernetes environment, and how to install example application based on mySQL (in this case Wordpress) to make it properly running in cluster.


In order to allocate Kubernetes clusters in our domain first we have to create new environment for running clusters.

It is possible through enrolling menu “App Catalog”, and then choosing “Browse”, “Browse Local”, “Next page”. When the cube “Kubernetes cluster” appears, select “Quick Deploy”.

In clusters configuration menu, on the first screen, user can determine name of the cluster, amount of created Kubernetes nodes and gateways, and have to confirm his choice by clicking Next.

Second window allows further setting up and connection with Google Container and Docker. It’s important to choose option “Use Flannel networking instead of Calico”.

Then, user can choose the flavor of instances which will be used and SSH key (NOTE: Without entering SSH keypair you won’t be allowed to connect with VMs). It is vital to select “App Catalog Kubernetes Trusty Image”. Please remember that Kubernetes will establish amount of vms determined in this menu. Here you can see pricing list of each flavour https://creodias.eu/price-list

After setting up SSH keypair, click create, and you will be redirected to “Environments” menu, in which freshly created cluster will be shown. The next step is choosing “Deploy this environment”.

After approximately five minutes of waiting allocation of a cluster will end by launching (four in this case) new instances in KubernetesCluster environment and then user have to choose “Logs”.

Focus on one line before last, which states “Dashboard UI is available at http://...”.

IP adress marked in blue is simultaneously adress of user dashboard (we recommend opening it in new card).


Now, here is Kubernetes user interface in which users are allowed to install applications by clicking “Create” button.

For this FAQ, we will install Wordpress.

Wordpress is a free and open-source content management system based on PHP and MySQL
Here you can see some best Wordpress-based webpages https://wordpress.org/showcase/

Let’s start with installing internal mysql database. After clicking “Create”, as a name of application and image of container enter just “mysql”.

Inserting environmental variables will also be neccesary. To do so, choose “Show advanced options” and then input in “Environment variables” variable MYSQL_DATABASE with value being name of the database (for example “test” and variable “MYSQL_ROOT_PASSWORD” with value which is password for accessing the database. After that run installation by clicking “Deploy”.

Next step would be installation of Wordpress packet.

Click on “Create” again, as a name and image input “wordpress” and then attribute application to unused port (in this case 8080 and output 80).

Next, accept setup with choosing deploy and wait for full installation. For further configuration insert dashboard IP address with port 8080. Setup screen will appear, select desired language and confirm it by pressing “Let’s go!”

Enter previously defined database name (test), user name (root), and password saved in MYSQL_ROOT_PASSWD variable.

As a “database host”, enter value, which we can be found in nodes, after clicking at “mysql” and copying IP adress on the right.

After clicking “Submit” and “Run the installation”, Wordpress will ask for configuration data for a new account and redirect user to Wordpress login site.