From 6dd10648a662e9b3269a5b3e93d5cde74751a443 Mon Sep 17 00:00:00 2001 From: Qiming Teng Date: Wed, 13 Sep 2017 14:10:24 +0800 Subject: [PATCH] Add a note to static pod manifest scanning --- docs/tasks/administer-cluster/static-pod.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/tasks/administer-cluster/static-pod.md b/docs/tasks/administer-cluster/static-pod.md index f2f439470a..208ddad2c8 100644 --- a/docs/tasks/administer-cluster/static-pod.md +++ b/docs/tasks/administer-cluster/static-pod.md @@ -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=` 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: