# io.k8s.api.core.v1.VolumeDevice

From **Kubernetes**.

volumeDevice describes a mapping of a raw block device within a container.

- Type: `object`

## Properties

### `devicePath`

- Required: true
- Type: `string`

devicePath is the path inside of the container that the device will be mapped to.

### `name`

- Required: true
- Type: `string`

name must match the name of a persistentVolumeClaim in the pod

## JSON Schema

```json
{"description":"volumeDevice describes a mapping of a raw block device within a container.","properties":{"devicePath":{"default":"","description":"devicePath is the path inside of the container that the device will be mapped to.","type":"string"},"name":{"default":"","description":"name must match the name of a persistentVolumeClaim in the pod","type":"string"}},"required":["name","devicePath"],"type":"object"}
```
