Update statefulset.md
This commit is contained in:
parent
167746be6f
commit
efa6ab5347
|
@ -148,8 +148,11 @@ cluster have already sent queries for the hostname of the Pod before it was crea
|
||||||
Negative caching (normal in DNS) means that the results of previous failed lookups are
|
Negative caching (normal in DNS) means that the results of previous failed lookups are
|
||||||
remembered and reused, even after the Pod is running, for at least a few seconds.
|
remembered and reused, even after the Pod is running, for at least a few seconds.
|
||||||
|
|
||||||
If you need to discover Pods promptly after they are created, consider querying the
|
If you need to discover Pods promptly after they are created, you have a few options:
|
||||||
Kubernetes API directly (for example, using a watch) rather than relying on DNS lookups.
|
|
||||||
|
- Query the Kubernetes API directly (for example, using a watch) rather than relying on DNS lookups.
|
||||||
|
- Decrease the time of caching in your Kubernetes DNS provider (tpyically this means editing the config map for CoreDNS, which currently caches for 30 seconds).
|
||||||
|
|
||||||
{{< /note >}}
|
{{< /note >}}
|
||||||
|
|
||||||
As mentioned in the [limitations](#limitations) section, you are responsible for
|
As mentioned in the [limitations](#limitations) section, you are responsible for
|
||||||
|
|
Loading…
Reference in New Issue