Skip to content

Policies ​

Feature Overview ​

ItemContent
Applicable RolesOperators
Navigation PathAI Infra(On-Cloud) > Scheduling Governance > Policies
Page Route/infrahub/op/schedule/policy
Managed ObjectsApplication scenarios, associated models, primary/backup routes, and health probes

Beginner Explanation ​

Policies defines traffic rules for model deployment. It connects a model to primary and backup targets and uses health probes to determine routing.

Terminology ​

TermDescription
Application ScenarioA scheduling objective such as cost priority, high availability, or low latency.
Primary/Backup RouteThe topology between primary and backup deployment targets.
Health ProbeA rule that determines whether a target can continue receiving requests.

Confirm the model and targets, create a policy, complete basic information, route topology, and health probes, then validate policy state and routing.

Beginner Checklist ​

ScenarioDo FirstDo Not Do Directly
First visitReview existing objects, states, and available actionsChange an unknown object
Before a changeVerify upstream dependencies, impact scope, and target objectSkip dependency and impact checks
After completionValidate the current and downstream pages with Result ValidationRely only on a success message
Page errorRecord the redacted object, time, and page messageSubmit repeatedly or record real credentials

Prerequisites ​

  1. The current account has the permission required for Policies.
  2. The associated model has at least one available deployment target, with confirmed framework version and resource flavor.
  3. Before changing a policy, assess live routing, capacity, cost, and failover impact.

Page Description ​

The page lists policies and provides a three-step creation flow.

Page screenshots:

Policies page

The image shows the Policies management page, displaying multi-cloud routing policy cards, scenario types, primary/backup topology, and runtime status, with an Add Policy button.

Main Operations ​

Create Policy ​

Step 1: Basic Information and Model Association ​

  1. Click "Add Policy" on the Policies page.
  2. Enter the policy name and select an application scenario (such as "Cost Priority", "High-Availability Production", or "Ultra-Fast Inference").
  3. Select the target model and version (such as Qwen3-8b / v1.0), which automatically populates the available routing node resources across cloud platforms below.
  4. Enter the description and click "Next".

Basic information and model association

The image shows "Add Policy - Step 1: Basic Information and Model Association", entering policy name, scenario, and associated model while displaying available cloud nodes.

Step 2: Define Primary and Backup Route Topology ​

  1. In the routing configuration, select primary and backup route nodes based on multi-cloud resource specifications and costs.
  2. Configure priority rankings (P1, P2, etc.) for backup route nodes to establish traffic dispatching and failover orders.
  3. Review cloud providers, specifications, estimated costs, and inference framework versions for each node, then click "Next".

Primary/backup route topology

The image shows "Add Policy - Step 2: Define Primary and Backup Route Topology", configuring primary and backup route nodes with priority ranks and failover paths.

Step 3: Define Health Probe Rules ​

  1. Configure health probe parameters for primary and backup nodes, including probe intervals, timeouts, and healthy/unhealthy threshold counts.
  2. Specify the probe endpoint path and expected response status codes to ensure unhealthy nodes are promptly evicted and traffic shifted.
  3. Confirm the probe rules and click "Submit" to complete policy creation, then verify the new policy in the list.

Health probe rules

The image shows "Add Policy - Step 3: Define Health Probe Rules", configuring probe intervals, timeouts, and failover threshold rules.

View Policies ​

  1. Locate the target policy in the list.
  2. Verify application scenario, associated model, state, and update time.
  3. Open details and verify that topology and health probes match deployment targets.

Parameter Reference ​

Field NameRequiredField TypeExampleDescription
NameYesTextpolicy-cost-priority-demoPolicy display name. Use sanitized examples or non-sensitive business-readable names.
Label IDNoTextlabel-demoList filter field used to search policies by label identifier.
ScenarioYesSegmented controlCost PrioritySelects the policy objective. The page supports cost priority, high availability production, and fast inference.
Associated ModelYesSelectSample Model / v1.0Selects the model and version bound to the policy.
Cloud PlatformNoTable fieldSample Cloud PlatformCloud platform to which the related route node resource belongs.
RegionNoTable fieldSample RegionRegion where the related route node resource is located.
Available specsNoTable fieldgpu.exampleResource specs available for the current model.
Available frameworksNoTable fieldSample FrameworkInference frameworks available for the current model.
DescriptionYesMultiline textSample policy descriptionDescribes the policy purpose. Do not write real customer, tenant, business, or internal test parameters.
Route NodeYesSelectionPrimary Route NodeNode selected in route configuration for the policy.
Primary RouteYesOperation statePrimaryRoute node used first by the policy.
Backup RouteNoOperation stateBackupBackup route node used when the primary route is unavailable.
PriorityNoOrdering controlP1Adjusts the priority order of backup routes or candidate nodes.
SpecNoDisplay fieldgpu.exampleResource spec used by the route node.
PriceNoDisplay fieldSample price/hourCost reference for the route node. Real amount details are not shown in documentation.
FrameworkNoDisplay fieldSample FrameworkInference framework used by the route node.
VersionNoTable fieldv1.0Image or runtime configuration version.
ImageNoTable field<BASE_URL>/namespace/image:tagImage address example. Use placeholders only and do not write real registry addresses.
Master node startup commandNoTable field--model-path /models/exampleMaster node startup command. Use placeholder examples only.
Worker node startup commandNoTable field--workerWorker node startup command. Do not write internal startup parameters.
PortNoNumber8000Service listening port.
Created atNoDate time2026-07-21 10:00:00Creation time of the route node or version configuration.
Probe TypeYesSegmented controlHTTP HeartbeatHealth probe type. The page supports HTTP heartbeat, GPU performance metrics, and service status.
Probe PathNoText/healthHTTP heartbeat probe path.
Check IntervalNoNumber10Frequency for running health probes.
Failure ThresholdNoNumber3Number of consecutive failures before the service is considered abnormal.
Recovery ThresholdNoNumber/Rule2Rule or threshold for determining service recovery.
Downtime TimeoutNoNumber30Timeout before the service is judged as down.
SearchNoButtonSearchQueries policy records with the current filters.
ResetNoButtonResetClears filters and restores the list display.
ExportNoButtonExportExports policy records and may contain sensitive operational configuration.
ImportNoButtonImportImports policy records in bulk and may change multiple policy configurations.
Batch DeleteNoButtonBatch DeleteDeletes policies in bulk. Confirm the impact scope before using it.
PreviousNoButtonPreviousReturns to the previous configuration step.
NextNoButtonNextValidates the current step and moves to the next step.
SubmitYesButtonSubmitFinal action that submits the policy configuration. Review carefully before clicking.

Pitfalls ​

  • Do not skip the upstream dependency check: The associated model has at least one available deployment target, with confirmed framework version and resource flavor.
  • Confirm impact before a configuration change: Before changing a policy, assess live routing, capacity, cost, and failover impact.
  • A success message does not prove downstream synchronization. Use Result Validation afterward.
  • Use only <API_KEY>, <PERSONAL_KEY>, <ACCESS_KEY_ID>, <ACCESS_KEY_SECRET>, <BASE_URL>, and <ENDPOINT_PATH> for credential and endpoint examples.

Result Validation ​

Check ItemSuccess SignalIf Abnormal
Page is accessibleTitle, navigation, and main content display correctlyCheck role permission and navigation path
Managed objects are visibleApplication scenarios, associated models, primary/backup routes, and health probes display as expectedClear filters and verify upstream dependencies
Operation result is savedThe expected state or new record appearsReview page messages, required fields, and dependencies
Downstream result is consistentAssociated pages show the changeWait for synchronization, refresh, and return to the responsible object

FAQ ​

Target Object Is Missing in Policies ​

Symptom:

The expected object is missing from the list or selector.

Possible Causes:

  • Active query criteria filter out the target object.
  • An upstream object is disabled, or the current role lacks visibility.

Resolution:

  1. Clear filters and refresh the page.
  2. Verify the prerequisite object: The associated model has at least one available deployment target, with confirmed framework version and resource flavor.
  3. Confirm the current role and data scope, then locate the object again.

Policies Action Is Unavailable ​

Symptom:

An expected button, menu, or state switch is unavailable.

Possible Causes:

  • The current account lacks the required action permission.
  • Object state, references, or prerequisites block the action.

Resolution:

  1. Verify the permission for the action and the current object state.
  2. Check references and prerequisites identified by the page message.
  3. Remove the blocker, refresh the page, and perform the action once.

Policies Change Does Not Reach Downstream ​

Symptom:

The page reports success, but a downstream page still shows the old state.

Possible Causes:

  • An associated page has stale cache or synchronization delay.
  • The current and downstream pages use different roles, tenants, or data scopes.

Resolution:

  1. Wait for synchronization and refresh both pages.
  2. Confirm that both pages use the same role, tenant, and object scope.
  3. If they still differ, return to the responsible object and verify the saved result.

Policies Data Differs from Another Page ​

Symptom:

Counts or states differ from an associated page.

Possible Causes:

  • The pages use different filters, aggregation rules, or update times.
  • The change is still synchronizing, or role-based data scopes differ.

Resolution:

  1. Align filters and aggregation rules on both pages.
  2. Check update times and wait for synchronization.
  3. Compare object details instead of summary counts only.

How to Troubleshoot a Policies Failure ​

Symptom:

Submission fails or the state does not change for an extended period.

Possible Causes:

  • Required fields, field combinations, or object state do not meet submission rules.
  • An upstream dependency is invalid, the request failed, or the same action is already processing.

Resolution:

  1. Record the redacted object, time, and complete page message.
  2. Verify required fields, object state, and upstream dependencies.
  3. Confirm that no identical job is processing before one retry.

Notes ​

  • Before changing a policy, assess live routing, capacity, cost, and failover impact.
  • Do not put real accounts, credentials, internal locations, or customer data in documentation, screenshots, tickets, or chat records.
  • Authorization, deployment, deletion, publication, state, or billing changes require an auditable record and recovery plan.

Next Steps ​

  1. Use a test deployment to validate policy hits, primary/backup routes, and failover behavior.
  2. Monitor model service status, latency, cost, and availability affected by the policy.
  3. Regularly review health probe thresholds, route priority, and associated model versions.