static pod not support configmap or secret

This commit is contained in:
chenxuc
2021-06-25 17:08:52 +08:00
parent 4aa2b6df61
commit 8c9c9c543c
4 changed files with 23 additions and 1 deletions
@@ -31,6 +31,13 @@ Pods to run a Pod on every node, you should probably be using a
instead.
{{< /note >}}
{{< note >}}
The `spec` of a static Pod cannot refer to other API objects
(e.g., {{< glossary_tooltip text="ServiceAccount" term_id="service-account" >}},
{{< glossary_tooltip text="ConfigMap" term_id="configmap" >}},
{{< glossary_tooltip text="Secret" term_id="secret" >}}, etc).
{{< /note >}}
## {{% heading "prerequisites" %}}
{{< include "task-tutorial-prereqs.md" >}} {{< version-check >}}