8000 notice api permissions about mirror pods (#9010) · ArduinoBot/website@f63149e · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f63149e

Browse files
CaoShuFengk8s-ci-robot
authored andcommitted
notice api permissions about mirror pods (kubernetes#9010)
* notice api permissions about mirror pods * Copyedit
1 parent 3ed3ae8 commit f63149e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

content/en/docs/tasks/administer-cluster/static-pod.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ title: Static Pods
88

99
*Static pods* are managed directly by kubelet daemon on a specific node, without the API server observing it. It does not have an associated replication controller, and kubelet daemon itself watches it and restarts it when it crashes. There is no health check. Static pods are always bound to one kubelet daemon and always run on the same node with it.
1010

11-
Kubelet automatically creates so-called *mirror pod* on the Kubernetes API server for each static pod, so the pods are visible there, but they cannot be controlled from the API server.
11+
Kubelet automatically tries to create a *mirror pod* on the Kubernetes API server for each static pod.
12+
This means that the pods are visible on the API server but cannot be controlled from there.
1213

1314
## Static pod creation
1415

@@ -91,6 +92,12 @@ Labels from the static pod are propagated into the mirror-pod and can be used as
9192

9293
Notice we cannot delete the pod with the API server (e.g. via [`kubectl`](/docs/user-guide/kubectl/) command), kubelet simply won't remove it.
9394

95+
{{<note>}}
96+
**Note**: Make sure the kubelet has permission to create the mirror pod in the API server.
97+
If not, the creation request is rejected by the API server. See
98+
PodSecurityPolicy](/docs/concepts/policy/pod-security-policy/).
99+
{{</note>}}
100+
94101
```shell
95102
[joe@my-master ~] $ kubectl delete pod static-web-my-node1
96103
pod "static-web-my-node1" deleted

0 commit comments

Comments
 (0)
0