Configuring ephemeral storage

Overview

OpenShift Container Platform can be configured to allow management of ephemeral
storage of pod and container working data. While containers
have been able to utilize writable layers, logs directories, and
EmptyDir volumes, this storage has been subject to a number of
limitations,
as
discussed here.

Ephemeral storage management permits administrators to limit the
resources consumed by individual pods and containers, and for pods and
containers to specify requests and limits on their use of such
ephemeral storage. This is a technology preview for OpenShift Container Platform 3.10
and is disabled by default.

This technology preview does not change any of the mechanisms for making local
storage available in OpenShift Container Platform; the existing mechanisms, root directory or
runtime directory, still apply. This technology preview only provides a
mechanism for managing the use of this resource.

Enabling ephemeral storage

To enable ephemeral storage:

Edit or create the master configuration file on all masters,
/etc/origin/master/master-config.yaml by default, and add
LocalStorageCapacityIsolation=true in the apiServerArguments and
controllerArguments sections: