Adding Shared Hosts
Deploy Hosts in one Tenant that can be accessed by Kubernetes (K8s) Pods in a separate Tenant.
Last updated
Was this helpful?
Deploy Hosts in one Tenant that can be accessed by Kubernetes (K8s) Pods in a separate Tenant.
Last updated
Was this helpful?
Shared Hosts allow workloads to run on the same set of virtual machines (VMs), making better use of resources across multiple Tenants. DuploCloud now supports Services, Jobs, and CronJobs on shared Hosts, providing more flexibility for running long-running services, batch jobs, and scheduled tasks.
DuploCloud supports shared Hosts for:
Services
Jobs
CronJobs
To enable Host sharing, configure one Tenant to share its Hosts, and another Tenant to run K8s Pods on any Host.
In the DuploCloud Portal, navigate to Administrator -> Tenant.
From the Tenant list box, select the Tenant that will share its Host.
Click the Settings tab.
Click Add. The Add Tenant Feature pane displays.
From the Select Feature item list, select Allow hosts to run K8S pods from other tenants.
Select Enable.
Click Add. This Tenant's Hosts can now run Pods from other Tenants.
In the DuploCloud Portal, navigate to Administrator -> Tenant.
From the Tenant list, select the Tenant that will run Pods on the shared Host.
Select the Settings tab.
Click Add. The Add Tenant Feature pane displays.
From the Select Feature item list, select Enable option to run K8S pods on any host.
Select Enable.
Click Add. This Tenant can now run Pods on other Tenant's Hosts.
After configuring Tenant settings to allow Host sharing, create the resources you want to run on the shared Hosts.
From the Tenant list box, select the Tenant that will run Pods on the shared Host.
In the DuploCloud Portal, navigate to Kubernetes -> Services.
In the Services tab, click Add. The Add Service page displays.
Fill in the Service Name, Cloud, Platform, and Docker Image fields. Click Next.
Enable Run on Any Host.
Click Create. A Service running on the shared Host is created.
DuploCloud supports running Jobs and CronJobs on shared Hosts for AWS.
Follow the steps in the DuploCloud documentation to create a Kubernetes Job or Kubernetes CronJob.
On the Add Kubernetes Job or Add Kubernetes CronJob page, enable Run on Any Host.
Click Create to deploy the Job or CronJob on the shared Host.