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