July 2019
Intermediate to advanced
502 pages
14h
English
There are two types of storage plugins: in-tree and out-of-tree. In-tree means that these storage plugins are part of Kubernetes itself. In the volume clause, you refer to them by name. For example, here, a Google Compute Engine (GCE) persistent disk is configured by name. Kubernetes explicitly knows that such a volume has fields such as pdName and fsType:
volumes: - name: test-volume gcePersistentDisk: pdName: my-data-disk fsType: ext4
There are several other specialized volume types, such as emptyDir, local, downwardAPI, and hostPath, that you ...