Add a note to static pod manifest scanning

This commit is contained in:
Qiming Teng
2017-09-13 14:10:24 +08:00
committed by Andrew Chen
parent e229c03584
commit 6dd10648a6
@@ -17,6 +17,7 @@ Static pod can be created in two ways: either by using configuration file(s) or
### Configuration files
The configuration files are just standard pod definition in json or yaml format in specific directory. Use `kubelet --pod-manifest-path=<the directory>` to start kubelet daemon, which periodically scans the directory and creates/deletes static pods as yaml/json files appear/disappear there.
Note that kubelet will ignore files starting with dots when scanning the specified directory.
For example, this is how to start a simple web server as a static pod: