|
名称 |
类型 |
描述 |
示例值 |
|---|---|---|---|
|
object |
额外 Pod 配置。 |
||
| SideCarContainers |
array |
伴随容器。 |
|
| ContainerSpec |
容器配置。 |
||
| InitContainers |
array |
初始化容器。 |
|
| ContainerSpec |
容器配置。 |
||
| PodLabels |
object |
Pod 标签。 |
|
|
string |
标签。格式:Key=Value。 |
example-lable |
|
| PodAnnotations |
object |
Pod 注解。 |
|
|
string |
注解。格式:Key=Value。 |
example-annotation |
|
| SharedVolumeMountPaths |
array |
容器间共享的本地目录。 |
|
|
string |
共享的本地目录。 |
/root/share/ |
|
| Lifecycle |
Lifecycle |
Lifecycle 对象。 |
|
| MainContainerSecurityContext |
SecurityContext |
主容器安全上下文 |
该文章对您有帮助吗?