InitContainerDefinition interface
init 容器定義。
屬性
command | 在 exec 表單的 init 容器內執行的命令。 |
environment |
在 init 容器中設定的環境變數。 |
image | init 容器的映像。 |
instance |
init 容器的實例檢視。 只有在回應中才有效。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
name | init 容器的名稱。 |
security |
容器安全性屬性。 |
volume |
磁碟區掛接可供 init 容器使用。 |
屬性詳細資料
command
在 exec 表單的 init 容器內執行的命令。
command?: string[]
屬性值
string[]
environmentVariables
image
init 容器的映像。
image?: string
屬性值
string
instanceView
init 容器的實例檢視。 只有在回應中才有效。 注意:這個屬性不會串行化。 它只能由伺服器填入。
instanceView?: InitContainerPropertiesDefinitionInstanceView
屬性值
name
init 容器的名稱。
name: string
屬性值
string