Container interface
容器實例。
屬性
| command | 要以 exec 形式在容器實例內執行的命令。 |
| environment |
要設定於容器實例中的環境變數。 |
| image | 用來建立容器實例的映像名稱。 |
| instance |
容器實例的實例檢視。 只有在回應中才有效。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
| liveness |
活躍度探查。 |
| name | 容器實例的使用者提供名稱。 |
| ports | 容器實例上公開的埠。 |
| readiness |
整備探查。 |
| resources | 容器實例的資源需求。 |
| security |
容器安全性屬性。 |
| volume |
磁碟區會掛接給容器實例。 |
屬性詳細資料
command
要以 exec 形式在容器實例內執行的命令。
command?: string[]
屬性值
string[]
environmentVariables
image
用來建立容器實例的映像名稱。
image: string
屬性值
string
instanceView
容器實例的實例檢視。 只有在回應中才有效。 注意:這個屬性不會串行化。 它只能由伺服器填入。
instanceView?: ContainerPropertiesInstanceView
屬性值
livenessProbe
name
容器實例的使用者提供名稱。
name: string
屬性值
string