Spawn MicroService

Step By Step Guide for Spawning a MicroService

Overview

Once you logged into the Zeblok Computational Application, you will get an option for Spawn MicroService as shown in the screenshot below.

Figure 1: Dashboard

Step 1

Click on "Spawn MicroService", you will be redirected to a page as shown below.

Figure 2: Spawn MicroService

Step 2

Select the MicroService which you want to use, as shown below.

Figure 3: MicroServices

Step 3

Select the datacenter where you want to deploy it.

Figure 4: Select DataCenter

Step 4

If you selected an Edge Datacenter in the previous step, you have an additional step where you are given an option to choose whether you want your deployment to be created on the HUB or any SATELLITE Node

Figure 5: Select HUB or SATELLITE NODE

Select a Plan for your deployment. This step is common for both kinds of datacenters (EDGE and ENTERPRISE).

Figure 6: Select Plan

Step 5

Select the namespace in which you would like to deploy your Ai-WorkStation.

Note: You have to be a member of a namespace to get the option to select a namespace.

Contact your OrgAdmin to add you in a namespace or, if you are an OrgAdmin, you can go to the namespace section and add the desired person as a member to a namespace.

Figure 7: Select a Namespace

Step 6

This is a step given to you for configuring your microservice as you like.

Ports: Specify the list of ports to be opened.

Environment Variables: Define the environment variables to be passed to the microservice container during startup.

Arguments: Provide the arguments to be used with the command parameter.

Command: Enter the command to be executed in the microservice container.

Number of Replicas: Indicate the number of replicas desired for the specific microservice.

Application is Stateful: Check this box if the microservice requires statefulness.

Spawn in Different Worker Nodes: Check this box if the replicas should be deployed across different worker nodes within the same availability zone.

Spawn in Different Availability Zones: Check this box if the replicas should be deployed across different worker nodes in different availability zones.

Click the NEXT button once the microservice configuration is complete.

configuring your microservice

Step 7

Enter the MicroService Name and finally spawn it as shown below. After successful creation, you will be redirected to the Ai-WorkSpace and with your Spawned MicroService.

Figure 9: Name your MicroService

To create you own micro-service and deploy it inside the AI-Microcloud please refer to the Onboarding Microservice tutorial.

Last updated

Was this helpful?