Skip to content

Commit 7adfa38

Browse files
authored
Update network.md
1 parent 094dadb commit 7adfa38

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

content/network.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,10 @@ Any other pod in the cluster is able to access the nginx service without worring
164164
/ # wget -O - 10.254.247.153:80
165165
Welcome to nginx!
166166
167-
However, the service is not reachable from any cluster host. If we try to access the service we do not get anything
167+
Because this is a clusterIP, you should be able to access it from any cluster host. If you try to access the service from any other host you will get the same result as bove:
168168
169169
curl 10.254.247.153:80
170+
Welcome to nginx!
170171
171172
Without specifying the type of service, kubernetes by default uses the ``Type: ClusterIP`` option, which means that the new service is only exposed only within the cluster. It is kind of like internal kubernetes service, so not particularly useful if you want to accept external traffic.
172173

0 commit comments

Comments
 (0)