Skip to main content

DS Hosting Fleet

1. Overview

The file dshosting_fleet.yaml in exported package contains all configuration of Fleet moudle from exported title region. You can add, delete or update some items in the file and then re-import to the title region.

2. An Example of The File Content

# AUTO-GENERATED FILE.
#
# Export information
# @export_time: Tue, 21 Feb 2023 07:08:16 GMT
#
# This file was automatically generated by PGOS Portal.
# Copyright 2023 Proxima Beta, Inc. All Rights Reserved.

dshosting_fleet:
snapshot_tag: "20230727155101172"
title_id: 4basx
title_region_id: t_4basx_937
list:
- identification:
name: xxxxx
description: "the description of fleet, type: string"
build_config:
main_build: build_name
deployment_config:
zones:
- zone: China East
data_centers:
- idc: ap-shanghai
provider: tcloud
billing_mode: 2
machine_models:
- S5.MEDIUM8
max_server_processes: 10
priority: 1
scaling_strategy:
scaling_mode: 2
fixed_server_processes:
initial_server_processes: 0
auto_scaling_with_buffer:
initial_server_processes: 4
buffer_rule: 2
single_rule:
rule:
use_proportion: true
keep_available_servers: 6
keep_available_proportion: 20
segment_rule:
segments:
- min_placed_servers: 1
max_placed_servers: 5
rule:
use_proportion: false
keep_available_servers: 6
keep_available_proportion: 20
- min_placed_servers: 6
max_placed_servers: 4294967295
rule:
use_proportion: true
keep_available_servers: 6
keep_available_proportion: 20
cool_down_minutes: 6
ds_count_in_machines:
- provider: tcloud
machine_model: S5.MEDIUM8
ds_count: 6
process_config:
fork_mode: false
restart_idle_time_minutes: 60
launch_path: fakeds
launch_param: '-core'
firewall_config:
inbound_range:
- begin_port: 5000
end_port: 35000
ip_range: 0.0.0.0/0
protocol: UDP
- begin_port: 5000
end_port: 35000
ip_range: 0.0.0.0/0
protocol: TCP
misc_config:
delete_max_waiting_minutes: 0

3. Field Description

  • identification: The unique identifier for the current resource, it contains multiple fields.
    • name: The name of fleet. Type: string. Length: 1-255.
  • description: The description of fleet, Type: string. Length: 1-100.
  • build_config: The build configuration of fleet.
    • main_build: The name of main build. Type: string. Length: 1-255.
  • deployment_config: The deployment configuration of fleet.
    • zones:
      • zone: The zone of fleet. Type: string.
      • data_centers: The data centers of zone.
        • idc: The idc of data center. Type: string.
        • provider: The provider of data center. Type: string.
        • billing_mode: The billing mode of data center. Type: int. Range: 1-2.
        • machine_models: The machine models of data center.
          • machine_model: The machine model of machine. Type: string.
        • max_server_processes: The max server processes of data center. Type: int.
        • priority: The priority of data center. Type: int.
      • scaling_strategy: The scaling strategy of zone.
        • scaling_mode: The scaling mode of fleet deployment config, Type: string, optional data: \"Fixed Server Processes\" / \"Auto Scaling With Buffer\"".
        • fixed_server_processes: The fixed server processes of scaling strategy.
          • initial_server_processes: The initial server processes of fixed server processes. Type: int.
        • auto_scaling_with_buffer: The auto scaling with buffer of scaling strategy.
          • initial_server_processes: The initial server processes of auto scaling with buffer. Type: int.
          • buffer_rule: The buffer rule of auto scaling with buffer. Type: int. Range: 1-2.
          • single_rule: The single rule of auto scaling with buffer.
            • rule: The rule of single rule.
              • use_proportion: The use proportion of rule. Type: bool.
              • keep_available_servers: The keep available servers of rule. Type: int.
              • keep_available_proportion: The keep available proportion of rule. Type: int.
          • segment_rule: The segment rule of auto scaling with buffer.
            • segments: The segments of segment rule.
              • min_placed_servers: The min placed servers of segment. Type: int.
              • max_placed_servers: The max placed servers of segment. Type: int.
              • rule: The rule of segment.
                • use_proportion: The use proportion of rule. Type: bool.
                • keep_available_servers: The keep available servers of rule. Type: int.
                • keep_available_proportion: The keep available proportion of rule. Type: int.
        • cool_down_minutes: The cool down minutes of scaling strategy. Type: int.
      • ds_count_in_machines: The ds count in machines of zone.
        • provider: The provider of ds count in machine. Type: string.
        • machine_model: The machine model of ds count in machine. Type: string.
        • ds_count: The ds count of ds count in machine. Type: int.
  • process_config: The process configuration of fleet.
    • fork_mode: The fork mode of fleet. Type: bool.
    • restart_idle_time_minutes: The restart idle time minutes of fleet. Type: int. Range: 0-100.
    • launch_path: The launch path of fleet. Type: string. Length: 1-255.
    • launch_param: The launch parameter of fleet. Type: string. Length: 1-100.
  • firewall_config: The firewall configuration of fleet.
    • inbound_range: The inbound range of fleet.
      • begin_port: The begin port of inbound range. Type: int. Range: 5000-35000.
      • end_port: The end port of inbound range. Type: int. Range: 5000-35000.
      • ip_range: The IP range of inbound range. Type: string.
      • protocol: The protocol of inbound range. Type: string.
  • misc_config: The misc configuration of fleet.
    • delete_max_waiting_minutes: The delete max waiting minutes of fleet. Type: int.