ApplicationPodProps
Properties for defining a ApplicationPod.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-acs-applicationpod
Initializer
import { ApplicationPodProps } from '@alicloud/ros-cdk-acs'
const applicationPodProps: ApplicationPodProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
computeClass | string | @alicloud/ros-cdk-core.IResolvable | Property computeClass: Compute class of the application pod. |
computeQos | string | @alicloud/ros-cdk-core.IResolvable | Property computeQos: Compute QoS of the application pod. |
cpuCoreNumber | string | @alicloud/ros-cdk-core.IResolvable | Property cpuCoreNumber: CPU core number required by the container. |
image | string | @alicloud/ros-cdk-core.IResolvable | Property image: Container image for the application pod. |
kind | string | @alicloud/ros-cdk-core.IResolvable | Property kind: Kind of the application pod (Job, CronJob, Deployment, StatefulSet). |
memory | number | @alicloud/ros-cdk-core.IResolvable | Property memory: Memory size (in GB) required by the container. |
diskConfig | @alicloud/ros-cdk-core.IResolvable | DiskConfigProperty | Property diskConfig: Disk configurations for the application pod. |
gpuCoreNumber | number | @alicloud/ros-cdk-core.IResolvable | Property gpuCoreNumber: GPU core number, if using GPU. |
gpuModelSeries | string | @alicloud/ros-cdk-core.IResolvable | Property gpuModelSeries: GPU model series, if using GPU. |
gpuType | string | @alicloud/ros-cdk-core.IResolvable | Property gpuType: GPU type, default is nvidia.com\/gpu. |
replicas | number | @alicloud/ros-cdk-core.IResolvable | Property replicas: Number of replicas for Deployment or StatefulSet. |
zoneId | string | @alicloud/ros-cdk-core.IResolvable | Property zoneId: Zone ID for the application pod. |
computeClassRequired
public readonly computeClass: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property computeClass: Compute class of the application pod.
computeQosRequired
public readonly computeQos: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property computeQos: Compute QoS of the application pod.
cpuCoreNumberRequired
public readonly cpuCoreNumber: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property cpuCoreNumber: CPU core number required by the container.
imageRequired
public readonly image: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property image: Container image for the application pod.
kindRequired
public readonly kind: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property kind: Kind of the application pod (Job, CronJob, Deployment, StatefulSet).
memoryRequired
public readonly memory: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property memory: Memory size (in GB) required by the container.
diskConfigOptional
public readonly diskConfig: IResolvable | DiskConfigProperty;
- Type: @alicloud/ros-cdk-core.IResolvable | DiskConfigProperty
Property diskConfig: Disk configurations for the application pod.
gpuCoreNumberOptional
public readonly gpuCoreNumber: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property gpuCoreNumber: GPU core number, if using GPU.
gpuModelSeriesOptional
public readonly gpuModelSeries: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property gpuModelSeries: GPU model series, if using GPU.
gpuTypeOptional
public readonly gpuType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property gpuType: GPU type, default is nvidia.com\/gpu.
replicasOptional
public readonly replicas: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property replicas: Number of replicas for Deployment or StatefulSet.
zoneIdOptional
public readonly zoneId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property zoneId: Zone ID for the application pod.