Support for hugetlbfs in empty dir volume plugin

This commit is contained in:
Michał Stachowski
2017-08-03 10:21:46 +02:00
parent 38d5dee677
commit 2dba8f1715
5 changed files with 61 additions and 12 deletions

View File

@@ -681,8 +681,9 @@ type EmptyDirVolumeSource struct {
type StorageMedium string
const (
StorageMediumDefault StorageMedium = "" // use whatever the default is for the node
StorageMediumMemory StorageMedium = "Memory" // use memory (tmpfs)
StorageMediumDefault StorageMedium = "" // use whatever the default is for the node
StorageMediumMemory StorageMedium = "Memory" // use memory (tmpfs)
StorageMediumHugepages StorageMedium = "Hugepages" // use hugepages
)
// Protocol defines network protocols supported for things like container ports.