共用方式為


Container interface

容器實例。

屬性

command

要以 exec 形式在容器實例內執行的命令。

environmentVariables

要設定於容器實例中的環境變數。

image

用來建立容器實例的映像名稱。

instanceView

容器實例的實例檢視。 只有在回應中才有效。 注意:這個屬性不會串行化。 它只能由伺服器填入。

livenessProbe

活躍度探查。

name

容器實例的使用者提供名稱。

ports

容器實例上公開的埠。

readinessProbe

整備探查。

resources

容器實例的資源需求。

securityContext

容器安全性屬性。

volumeMounts

磁碟區會掛接給容器實例。

屬性詳細資料

command

要以 exec 形式在容器實例內執行的命令。

command?: string[]

屬性值

string[]

environmentVariables

要設定於容器實例中的環境變數。

environmentVariables?: EnvironmentVariable[]

屬性值

image

用來建立容器實例的映像名稱。

image: string

屬性值

string

instanceView

容器實例的實例檢視。 只有在回應中才有效。 注意:這個屬性不會串行化。 它只能由伺服器填入。

instanceView?: ContainerPropertiesInstanceView

屬性值

livenessProbe

活躍度探查。

livenessProbe?: ContainerProbe

屬性值

name

容器實例的使用者提供名稱。

name: string

屬性值

string

ports

容器實例上公開的埠。

ports?: ContainerPort[]

屬性值

readinessProbe

整備探查。

readinessProbe?: ContainerProbe

屬性值

resources

容器實例的資源需求。

resources: ResourceRequirements

屬性值

securityContext

容器安全性屬性。

securityContext?: SecurityContextDefinition

屬性值

volumeMounts

磁碟區會掛接給容器實例。

volumeMounts?: VolumeMount[]

屬性值