6.12. MonitoringStack.spec.prometheusConfig.persistentVolumeClaim.dataSource
dataSource
字段可用于指定:
-
一个现有的
VolumeSnapshot
对象(snapshot.storage.k8s.io/VolumeSnapshot
) - 一个现有的 PVC (PersistentVolumeClaim)
如果置备程序或外部控制器可以支持特定的数据源,它将根据指定数据源的内容创建新卷。当启用 AnyVolumeDataSource
功能门时,dataSource
内容将复制到 dataSourceRef
中,如果未指定 dataSourceRef.namespace
,dataSourceRef
内容将复制到 dataSource
中。如果指定了命名空间,则不会将 dataSourceRef
复制到 dataSource
中。
Name | 类型 | 描述 | 必填 |
---|---|---|---|
| string |
| true |
| string |
| true |
| string |
| false |