NFSVolumeSource

pydantic model controller.config.NFSVolumeSource

NFS volume to mount in the container.

Parameters:

data (Any)

Show JSON schema
{
   "title": "NFSVolumeSource",
   "description": "NFS volume to mount in the container.",
   "type": "object",
   "properties": {
      "type": {
         "const": "nfs",
         "enum": [
            "nfs"
         ],
         "title": "Type of volume to mount",
         "type": "string"
      },
      "server": {
         "description": "Name or IP address of the server providing the volume",
         "examples": [
            "10.13.105.122"
         ],
         "title": "NFS server",
         "type": "string"
      },
      "serverPath": {
         "description": "Absolute path of NFS server export of the volume",
         "examples": [
            "/share1/home"
         ],
         "pattern": "^/.*",
         "title": "Export path",
         "type": "string"
      },
      "readOnly": {
         "default": false,
         "description": "Whether to mount the NFS volume read-only. If this is true, any mount of this volume will be read-only even if the mount is not marked as such.",
         "title": "Is read-only",
         "type": "boolean"
      }
   },
   "additionalProperties": false,
   "required": [
      "type",
      "server",
      "serverPath"
   ]
}

Fields:
field readOnly: bool = False (name 'read_only')

Whether to mount the NFS volume read-only. If this is true, any mount of this volume will be read-only even if the mount is not marked as such.

field server: str [Required]

Name or IP address of the server providing the volume

field serverPath: str [Required] (name 'server_path')

Absolute path of NFS server export of the volume

Constraints:
  • pattern = ^/.*

field type: Literal['nfs'] [Required]