Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadPodFromFile ¶
LoadPodFromFile will read, decode, and return a Pod from a file.
Types ¶
type NsenterWriter ¶
type NsenterWriter struct { }
Alternative implementation of Writer interface that allows writing data to file using nsenter command. If a program (e.g. kubelet) runs in a container it may want to write data to a mounted device. Since in Docker, mount propagation mode is set to private, it will not see the mounted device in its own namespace. To work around this limitaion one has to first enter hosts namespace (by using 'nsenter') and only then write data.
Click to show internal directories.
Click to hide internal directories.