Skip to content

ApplicationPodProps

Properties for defining a ApplicationPod.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkacs"
&alicloudroscdkacs.ApplicationPodProps {
    ComputeClass: interface{},
    ComputeQos: interface{},
    CpuCoreNumber: interface{},
    Image: interface{},
    Kind: interface{},
    Memory: interface{},
    DiskConfig: interface{},
    GpuCoreNumber: interface{},
    GpuModelSeries: interface{},
    GpuType: interface{},
    Replicas: interface{},
    ZoneId: interface{},
}

Properties

Name Type Description
ComputeClass interface{} Property computeClass: Compute class of the application pod.
ComputeQos interface{} Property computeQos: Compute QoS of the application pod.
CpuCoreNumber interface{} Property cpuCoreNumber: CPU core number required by the container.
Image interface{} Property image: Container image for the application pod.
Kind interface{} Property kind: Kind of the application pod (Job, CronJob, Deployment, StatefulSet).
Memory interface{} Property memory: Memory size (in GB) required by the container.
DiskConfig interface{} Property diskConfig: Disk configurations for the application pod.
GpuCoreNumber interface{} Property gpuCoreNumber: GPU core number, if using GPU.
GpuModelSeries interface{} Property gpuModelSeries: GPU model series, if using GPU.
GpuType interface{} Property gpuType: GPU type, default is nvidia.com\/gpu.
Replicas interface{} Property replicas: Number of replicas for Deployment or StatefulSet.
ZoneId interface{} Property zoneId: Zone ID for the application pod.

ComputeClassRequired

ComputeClass interface{}
  • Type: interface{}

Property computeClass: Compute class of the application pod.


ComputeQosRequired

ComputeQos interface{}
  • Type: interface{}

Property computeQos: Compute QoS of the application pod.


CpuCoreNumberRequired

CpuCoreNumber interface{}
  • Type: interface{}

Property cpuCoreNumber: CPU core number required by the container.


ImageRequired

Image interface{}
  • Type: interface{}

Property image: Container image for the application pod.


KindRequired

Kind interface{}
  • Type: interface{}

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


MemoryRequired

Memory interface{}
  • Type: interface{}

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


DiskConfigOptional

DiskConfig interface{}
  • Type: interface{}

Property diskConfig: Disk configurations for the application pod.


GpuCoreNumberOptional

GpuCoreNumber interface{}
  • Type: interface{}

Property gpuCoreNumber: GPU core number, if using GPU.


GpuModelSeriesOptional

GpuModelSeries interface{}
  • Type: interface{}

Property gpuModelSeries: GPU model series, if using GPU.


GpuTypeOptional

GpuType interface{}
  • Type: interface{}

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


ReplicasOptional

Replicas interface{}
  • Type: interface{}

Property replicas: Number of replicas for Deployment or StatefulSet.


ZoneIdOptional

ZoneId interface{}
  • Type: interface{}

Property zoneId: Zone ID for the application pod.