All Products
Search
Document Center

Resource Orchestration Service:ALIYUN::ACS::ApplicationPod

Last Updated:Apr 09, 2026

The ALIYUN::ACS::ApplicationPod resource is used to create an ApplicationPod.

Syntax

{
  "Type": "ALIYUN::ACS::ApplicationPod",
  "Properties": {
    "CpuCoreNumber": String,
    "ComputeClass": String,
    "ComputeQos": String,
    "Image": String,
    "Kind": String,
    "Memory": Number,
    "DiskConfig": Map,
    "GpuModelSeries": String,
    "GpuCoreNumber": Number,
    "GpuType": String,
    "Replicas": Number,
    "ZoneId": String
  }
}

Properties

Parameter

Type

Required

Update allowed

Description

Constraints

ComputeClass

String

Yes

No

The compute class of the ApplicationPod.

Valid values:

  • general-purpose: The general-purpose compute class.

  • performance: The performance compute class.

ComputeQos

String

Yes

No

The compute QoS (Quality of Service) for the ApplicationPod.

Valid values:

  • default (Default)

  • best-effort

CpuCoreNumber

String

Yes

No

The number of CPU cores required by the container.

None

Image

String

Yes

No

The container image for the ApplicationPod.

None

Kind

String

Yes

No

The kind of the ApplicationPod, such as Job, CronJob, Deployment, or StatefulSet.

Valid values:

  • Job

  • CronJob

  • Deployment

  • StatefulSet

Memory

Number

Yes

No

The amount of memory required by the container.

Measured in GB.

DiskConfig

Map

No

No

The disk configuration for the ApplicationPod.

For more information, see DiskConfig properties.

GpuCoreNumber

Number

No

No

The number of GPU cores to use.

None

GpuModelSeries

String

No

No

The model series of the GPU to use.

None

GpuType

String

No

No

The type of GPU to use.

Default value: nvidia.com/gpu.

Replicas

Number

No

No

The number of replicas for a Deployment or StatefulSet.

None

ZoneId

String

No

No

The zone ID for the ApplicationPod.

None

DiskConfig syntax

"DiskConfig": {
  "PerformanceLevel": String,
  "Size": Number,
  "DiskCategory": String
}

DiskConfig properties

Parameter

Type

Required

Update allowed

Description

Constraints

DiskCategory

String

Yes

No

The disk category.

Example: cloud_essd.

Size

Number

Yes

No

The disk size.

Measured in MB.

PerformanceLevel

String

No

No

The performance level of an ESSD disk.

Example: PL2.

Return values

Fn::GetAtt

None

Examples

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  CpuCoreNumber:
    Type: String
    Description: The number of CPU cores required by the container.
    Required: true
  Memory:
    Type: Number
    Description: The amount of memory (in GB) required by the container.
    Required: true
  Kind:
    Type: String
    Description: The kind of the ApplicationPod (Job, CronJob, Deployment, or StatefulSet).
    AllowedValues:
      - Job
      - CronJob
      - Deployment
      - StatefulSet
    Required: true
  ComputeClass:
    Type: String
    Description: The compute class of the ApplicationPod.
    AllowedValues:
      - general-purpose
      - performance
      - gpu
    Required: true
  ComputeQos:
    Type: String
    Description: The compute QoS of the ApplicationPod.
    AllowedValues:
      - default
      - best-effort
    Required: true
  Image:
    Type: String
    Description: The container image for the ApplicationPod.
    Required: true
Resources:
  ApplicationPod:
    Type: ALIYUN::ACS::ApplicationPod
    Properties:
      CpuCoreNumber:
        Ref: CpuCoreNumber
      Memory:
        Ref: Memory
      Kind:
        Ref: Kind
      ComputeClass:
        Ref: ComputeClass
      ComputeQos:
        Ref: ComputeQos
      Image:
        Ref: Image
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "CpuCoreNumber": {
      "Type": "String",
      "Description": "The number of CPU cores required by the container.",
      "Required": true
    },
    "Memory": {
      "Type": "Number",
      "Description": "The amount of memory (in GB) required by the container.",
      "Required": true
    },
    "Kind": {
      "Type": "String",
      "Description": "The kind of the ApplicationPod (Job, CronJob, Deployment, or StatefulSet).",
      "AllowedValues": [
        "Job",
        "CronJob",
        "Deployment",
        "StatefulSet"
      ],
      "Required": true
    },
    "ComputeClass": {
      "Type": "String",
      "Description": "The compute class of the ApplicationPod.",
      "AllowedValues": [
        "general-purpose",
        "performance",
        "gpu"
      ],
      "Required": true
    },
    "ComputeQos": {
      "Type": "String",
      "Description": "The compute QoS of the ApplicationPod.",
      "AllowedValues": [
        "default",
        "best-effort"
      ],
      "Required": true
    },
    "Image": {
      "Type": "String",
      "Description": "The container image for the ApplicationPod.",
      "Required": true
    }
  },
  "Resources": {
    "ApplicationPod": {
      "Type": "ALIYUN::ACS::ApplicationPod",
      "Properties": {
        "CpuCoreNumber": {
          "Ref": "CpuCoreNumber"
        },
        "Memory": {
          "Ref": "Memory"
        },
        "Kind": {
          "Ref": "Kind"
        },
        "ComputeClass": {
          "Ref": "ComputeClass"
        },
        "ComputeQos": {
          "Ref": "ComputeQos"
        },
        "Image": {
          "Ref": "Image"
        }
      }
    }
  }
}