Skip to content

Create Multicloud Deployment from Image

After added a worker cluster into a multicloud instance, you can create multicloud workloads or convert existing workloads into multicloud workloads.

  • Supports distributing a workload across different regions and availability zones, as well as across different clusters, including hybrid cloud clusters.
  • Supports creating multicloud deployments, multicloud tasks, and multicloud cron jobs.
  • Supports quick creation via images or YAML files.

Prerequisites

Steps

Follow the steps below to create a multicloud deployment from image.

  1. Click the name of the multicloud instance, then navigate to Multicloud Workloads in the left navigation bar, and click Create from Image in the top right corner.

    Create from Image

  2. Follow the wizard prompts to configure each parameter and then click OK.

    Deployment Cluster: If no cluster is specified, the deployment will default to all clusters.

    Operation Description Default Value
    Specify Clusters Check specific clusters to directly designate the deployment clusters for the multicloud workload Select appropriate clusters
    Specify Regions Filter deployment clusters based on providers/regions/zones. You can check up to three filter conditions simultaneously Select appropriate providers, regions, zones
    Providers: Standard Kubernetes Cluster, Red Hat OpenShift
    Specify Labels Select clusters to deploy the workload using labels Operator — In: Nodes must include the selected label, and the label's value must belong to a specified set of values. Separate multiple values with a ;
    Operator — Exists: Nodes only need to include the label, regardless of its specific value

    Select a cluster

    Parameter Options/Sub-Parameters Description
    Scheduling Policy Duplicated Deploy the number of replicas specified in the Instance Count field in each selected cluster. Total Replicas = Instance Count ✖️ Number of Deployment Clusters
    Aggregated Distribute the number of replicas specified in the Instance Count field across as few clusters as possible. Total Replicas = Instance Count
    DynamicWeight Dynamically schedule the workload to different deployment clusters based on the maximum real-time schedulable instances of all target clusters. Total Replicas = Instance Count
    Advanced Propogation Strategy Auto Propagation This is a switch. When enabled, it automatically detects resources like ConfigMap and Secret that the multicloud workload configuration depends on and distributes these resources to each selected deployment cluster.
    Clusters Excluded Exclude a specific cluster from the filter results. The workload will not be deployed to the excluded cluster. If no target cluster is specified, the deployment will default to all clusters.
    Cluster Taint Tolerance After adding taints to the cluster on the Worker Cluster Management page, resources with these taints cannot be scheduled to the cluster. Enable taint toleration here to allow resources with the corresponding taints to be scheduled to the selected clusters.
    Spread Constraints This is a switch. When enabled, it allows control over how many regions/availability zones the workload is distributed across. For example, if both the maximum and minimum values are set to 1, all workloads will be deployed to clusters within the same region/availability zone. Supports configuring both region+cluster or just the cluster values.
    Deletion Protected This is a switch. When enabled, it provides a deletion protection mechanism to prevent catastrophic impacts caused by users accidentally deleting resources (such as Namespace or Cluster resources) on the Karmada control plane.

    Refer to Container Configuration to fill in the container configuration information.

    Refer to Advanced Configuration to fill in the advanced configuration.

    Refer to the following instructions to fill in the override polices, and finally, click OK.

    Override Policy

    • Default: The general configuration filled in during the previous steps, which cannot be modified here.
    • To modify the default configuration, click Previous at the bottom of the page to return to the respective configuration environment and re-enter the information.
    • Click the sign below the default configuration and select a cluster to set override polices for the selected cluster.
    • Clusters without override polices will use the default configuration.
    • Currently, you can configure different container images, environment variables, labels, and annotations for different clusters.

    Note

    • If no override policy is needed, simply click OK in the bottom right corner to complete the creation of the multicloud workload.
    • If override policy is needed, click Next and continue to refer to the documentation below to fill in the configuration information.
  3. You will be automatically redirected to the list of multicloud deployments. By clicking the button on the right side, you can edit YAML, update/pause/restart/delete the workload.

    More Opetations

Next step:create multicloud services

Comments