共用方式為


VolumeMount interface

磁碟區掛接的屬性。

屬性

mountPath

容器內應掛接磁碟區的路徑。 不得包含冒號 (:)。

name

磁碟區掛接的名稱。

readOnly

指出磁碟區掛接是否為唯讀的旗標。

屬性詳細資料

mountPath

容器內應掛接磁碟區的路徑。 不得包含冒號 (:)。

mountPath: string

屬性值

string

name

磁碟區掛接的名稱。

name: string

屬性值

string

readOnly

指出磁碟區掛接是否為唯讀的旗標。

readOnly?: boolean

屬性值

boolean