Containers and Services
Using containers and DuploCloud Services with Azure AKS
Services
You can deploy any native Docker container in a virtual machine (VM) with the DuploCloud platform. Adding a Service in the DuploCloud Platform is not the same as adding a Kubernetes service.
Deploying DuploCloud Services, by clicking the Add button in the Services page, implicitly converts services into either a deployment set or a StatefulSet. If there are no volume mappings, then the service is mapped to a deployment set. Otherwise, it is mapped to a StatefulSet. Most configuration values are self-explanatory, such as Images, Replicas, and Environmental Variables.
You can supply advanced configuration options in the Other K8s Config field. The content of this field maps one-to-one with the Kubernetes API. Configurations for deployment are StatefulSets and are supported by placing the appropriate JSON code in the Other K8s Config section. For example, to reference Kubernetes Secrets using a YAML config map, create the following JSON code:
Adding a DuploCloud Service
In the DuploCloud Portal, Navigate to Kubernetes -> Services from the navigation pane.
Click Add. The Add Service page displays.
Complete the fields on the page, including Service Name, Docker Image name, and number of Replicas. Use Allocation Tags to deploy the container in a specific set of Hosts.
Do not use spaces when creating Service or Docker image names.
The number of Replicas that you define must be less than or equal to the number of hosts in the fleet.
Displaying Services
Once the deployment commands run successfully, click the Services tile on the Tenants page. Your deployments are displayed and you can now attach load balancers for the services.
Kubernetes Containers
Using the Kubernetes -> Containers page in the DuploCloud Portal, you can display and manage the Containers you have defined.
Last updated