共用方式為


ContainerResources interface

容器應用程式容器資源需求。

屬性

cpu

核心中所需的CPU,例如0.5

ephemeralStorage

暫時記憶體,例如 「1Gi」 注意:此屬性將不會串行化。 它只能由伺服器填入。

memory

所需的記憶體,例如 “250Mb”

屬性詳細資料

cpu

核心中所需的CPU,例如0.5

cpu?: number

屬性值

number

ephemeralStorage

暫時記憶體,例如 「1Gi」 注意:此屬性將不會串行化。 它只能由伺服器填入。

ephemeralStorage?: string

屬性值

string

memory

所需的記憶體,例如 “250Mb”

memory?: string

屬性值

string