ContainerProperties interface

容器實例屬性。

屬性

command

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

configMap

組態對應。

environmentVariables

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

image

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

instanceView

容器實例的實例檢視。 只有在回應中才有效。

livenessProbe

活躍度探查。

ports

容器實例上公開的埠。

readinessProbe

整備探查。

resources

容器實例的資源需求。

securityContext

容器安全性屬性。

volumeMounts

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

屬性詳細資料

command

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

command?: string[]

屬性值

string[]

configMap

組態對應。

configMap?: ConfigMap

屬性值

environmentVariables

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

environmentVariables?: EnvironmentVariable[]

屬性值

image

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

image?: string

屬性值

string

instanceView

容器實例的實例檢視。 只有在回應中才有效。

instanceView?: ContainerPropertiesInstanceView

屬性值

livenessProbe

活躍度探查。

livenessProbe?: ContainerProbe

屬性值

ports

容器實例上公開的埠。

ports?: ContainerPort[]

屬性值

readinessProbe

整備探查。

readinessProbe?: ContainerProbe

屬性值

resources

容器實例的資源需求。

resources?: ResourceRequirements

屬性值

securityContext

容器安全性屬性。

securityContext?: SecurityContextDefinition

屬性值

volumeMounts

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

volumeMounts?: VolumeMount[]

屬性值