Skip to content

Commit efa6ab5

Browse files
authored
Update statefulset.md
1 parent 167746b commit efa6ab5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

content/en/docs/concepts/workloads/controllers/statefulset.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,11 @@ cluster have already sent queries for the hostname of the Pod before it was crea
148148
Negative caching (normal in DNS) means that the results of previous failed lookups are
149149
remembered and reused, even after the Pod is running, for at least a few seconds.
150150

151-
If you need to discover Pods promptly after they are created, consider querying the
152-
Kubernetes API directly (for example, using a watch) rather than relying on DNS lookups.
151+
If you need to discover Pods promptly after they are created, you have a few options:
152+
153+
- Query the Kubernetes API directly (for example, using a watch) rather than relying on DNS lookups.
154+
- 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).
155+
153156
{{< /note >}}
154157

155158
As mentioned in the [limitations](#limitations) section, you are responsible for

0 commit comments

Comments
 (0)