Skip to content

ApplicationPodProps

Properties for defining a ApplicationPod.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-acs-applicationpod

Initializer

import ros_cdk_acs
ros_cdk_acs.ApplicationPodProps(
  compute_class: typing.Union[str, IResolvable],
  compute_qos: typing.Union[str, IResolvable],
  cpu_core_number: typing.Union[str, IResolvable],
  image: typing.Union[str, IResolvable],
  kind: typing.Union[str, IResolvable],
  memory: typing.Union[typing.Union[int, float], IResolvable],
  disk_config: typing.Union[IResolvable, DiskConfigProperty] = None,
  gpu_core_number: typing.Union[typing.Union[int, float], IResolvable] = None,
  gpu_model_series: typing.Union[str, IResolvable] = None,
  gpu_type: typing.Union[str, IResolvable] = None,
  replicas: typing.Union[typing.Union[int, float], IResolvable] = None,
  zone_id: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
compute_class typing.Union[str, ros_cdk_core.IResolvable] Property computeClass: Compute class of the application pod.
compute_qos typing.Union[str, ros_cdk_core.IResolvable] Property computeQos: Compute QoS of the application pod.
cpu_core_number typing.Union[str, ros_cdk_core.IResolvable] Property cpuCoreNumber: CPU core number required by the container.
image typing.Union[str, ros_cdk_core.IResolvable] Property image: Container image for the application pod.
kind typing.Union[str, ros_cdk_core.IResolvable] Property kind: Kind of the application pod (Job, CronJob, Deployment, StatefulSet).
memory typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property memory: Memory size (in GB) required by the container.
disk_config typing.Union[ros_cdk_core.IResolvable, DiskConfigProperty] Property diskConfig: Disk configurations for the application pod.
gpu_core_number typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property gpuCoreNumber: GPU core number, if using GPU.
gpu_model_series typing.Union[str, ros_cdk_core.IResolvable] Property gpuModelSeries: GPU model series, if using GPU.
gpu_type typing.Union[str, ros_cdk_core.IResolvable] Property gpuType: GPU type, default is nvidia.com\/gpu.
replicas typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property replicas: Number of replicas for Deployment or StatefulSet.
zone_id typing.Union[str, ros_cdk_core.IResolvable] Property zoneId: Zone ID for the application pod.

compute_classRequired

compute_class: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property computeClass: Compute class of the application pod.


compute_qosRequired

compute_qos: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property computeQos: Compute QoS of the application pod.


cpu_core_numberRequired

cpu_core_number: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property cpuCoreNumber: CPU core number required by the container.


imageRequired

image: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property image: Container image for the application pod.


kindRequired

kind: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property kind: Kind of the application pod (Job, CronJob, Deployment, StatefulSet).


memoryRequired

memory: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property memory: Memory size (in GB) required by the container.


disk_configOptional

disk_config: typing.Union[IResolvable, DiskConfigProperty]

Property diskConfig: Disk configurations for the application pod.


gpu_core_numberOptional

gpu_core_number: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property gpuCoreNumber: GPU core number, if using GPU.


gpu_model_seriesOptional

gpu_model_series: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property gpuModelSeries: GPU model series, if using GPU.


gpu_typeOptional

gpu_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property gpuType: GPU type, default is nvidia.com\/gpu.


replicasOptional

replicas: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property replicas: Number of replicas for Deployment or StatefulSet.


zone_idOptional

zone_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property zoneId: Zone ID for the application pod.