diff --git a/docs/zh/docs/storage/hwameistor/intro/resources.md b/docs/zh/docs/storage/hwameistor/intro/resources.md index cca28b7501..67274ca281 100644 --- a/docs/zh/docs/storage/hwameistor/intro/resources.md +++ b/docs/zh/docs/storage/hwameistor/intro/resources.md @@ -27,3 +27,29 @@ Hwameistor 在 Kubernetes 已有的 PV 和 PVC 对象类基础上,Hwameistor | localvolumesnapshotrestores | lvsrestore,lvsnaprestore | LocalVolumeSnapshotRestore | 恢复 LVM 类型数据卷快照 | | localvolumesnapshots | lvs | LocalVolumeSnapshot | LVM 类型数据卷快照volume | | | resizepolicies | | ResizePolicy | PVC 自动扩容策略 | | + +如有需要,可以使用以下命令查看 api-resources : + +```bash +kubectl api-resources --api-group=hwameistor.io +NAME SHORTNAMES APIVERSION NAMESPACED KIND +clusters hmcluster hwameistor.io/v1alpha1 false Cluster +events evt hwameistor.io/v1alpha1 false Event +localdiskactions lda hwameistor.io/v1alpha1 false LocalDiskAction +localdiskclaims ldc hwameistor.io/v1alpha1 false LocalDiskClaim +localdisknodes ldn hwameistor.io/v1alpha1 false LocalDiskNode +localdisks ld hwameistor.io/v1alpha1 false LocalDisk +localdiskvolumes ldv hwameistor.io/v1alpha1 false LocalDiskVolume +localstoragenodes lsn hwameistor.io/v1alpha1 false LocalStorageNode +localvolumeconverts lvconvert hwameistor.io/v1alpha1 false LocalVolumeConvert +localvolumeexpands lvexpand hwameistor.io/v1alpha1 false LocalVolumeExpand +localvolumegroups lvg hwameistor.io/v1alpha1 false LocalVolumeGroup +localvolumemigrates lvmigrate hwameistor.io/v1alpha1 false LocalVolumeMigrate +localvolumereplicas lvr hwameistor.io/v1alpha1 false LocalVolumeReplica +localvolumereplicasnapshotrestores lvrsrestore,lvrsnaprestore hwameistor.io/v1alpha1 false LocalVolumeReplicaSnapshotRestore +localvolumereplicasnapshots lvrs hwameistor.io/v1alpha1 false LocalVolumeReplicaSnapshot +localvolumes lv hwameistor.io/v1alpha1 false LocalVolume +localvolumesnapshotrestores lvsrestore,lvsnaprestore hwameistor.io/v1alpha1 false LocalVolumeSnapshotRestore +localvolumesnapshots lvs hwameistor.io/v1alpha1 false LocalVolumeSnapshot +resizepolicies hwameistor.io/v1alpha1 false ResizePolicy hwameistor.io/v1alpha1 false ResizePolicy +```