Skip to content

Commit 0550373

Browse files
committed
chore: Fix StatefulSet comments
1 parent 687dfc7 commit 0550373

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

behavorial/StatefulService/README.adoc

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -101,27 +101,10 @@ and then, from within the Pod check the DNS entry for the headless Service:
101101

102102
[source, bash]
103103
----
104-
105-
----
106-
107-
108-
109-
110-
111-
```
112-
Delete the Pods to see how they are recreated again and get attached back th
113-
114-
[source, bash]
104+
dig SRV random-generator.default.svc.cluster.local
115105
----
116-
kubectl delete pod rg-0 rg-1
117-
----
118-
119-
and finally check the logs again
120106

121-
[source, bash]
122-
----
123-
curl -s http://$(minikube ip):$port/logs
124-
----
107+
You will find all the internal IP adresses of the StatefulSet's Pod in the answer.
125108

126109
=== More information
127110

0 commit comments

Comments
 (0)