File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
docs/book/src/cronjob-tutorial Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -63,16 +63,17 @@ You can also try to create an invalid CronJob (e.g. use an ill-formatted
6363schedule field). You should see a creation failure with a validation error.
6464
6565<aside class =" warning " >
66-
6766<h3 >The Bootstrapping Problem</h3 >
6867
69- If you are deploying a webhook for pods in the same cluster, be
70- careful about the bootstrapping problem, since the creation request of the
71- webhook pod would be sent to the webhook pod itself, which hasn't come up yet.
68+ When you deploy a webhook into the same cluster that it will validate, you can run into a * bootstrapping issue* :
69+ the webhook may try to validate the creation of its own Pod before it’s actually running.
70+ This can block the webhook from ever starting.
71+
72+ To avoid this, make sure the webhook ** ignores its own resources** .
73+ You can do this in one of two ways:
7274
73- To make it work, you can either use [ namespaceSelector] if your kubernetes
74- version is 1.9+ or use [ objectSelector] if your kubernetes version is 1.15+ to
75- skip itself.
75+ - ** [ namespaceSelector] ** – label the namespace where the webhook runs and configure the webhook to skip it.
76+ - ** [ objectSelector] ** – label the webhook’s own Pods or Deployments and exclude those objects directly.
7677
7778</aside >
7879
You can’t perform that action at this time.
0 commit comments