VolumeAttachmentSpec
VolumeAttachmentSpec is the specification of a VolumeAttachment request.
Schema URL
https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/storage.api.k8s.io/VolumeAttachmentSpec_v1.json▶ Usage examples
VS Code / yaml-language-server
# yaml-language-server: $schema=https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/storage.api.k8s.io/VolumeAttachmentSpec_v1.jsonkubeconform
kubeconform -schema-location 'https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/{{ .Group }}/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json' manifest.yamlResource Structure
attacherstringRequiredattacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
nodeNamestringRequirednodeName represents the node that the volume should be attached to.
sourceobjectRequiredsource represents the volume that should be attached.