File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed
content/en/docs/tasks/debug-application-cluster Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -140,24 +140,11 @@ kubectl get pods --selector=name=nginx,type=frontend
140
140
```
141
141
142
142
to list pods that match this selector. Verify that the list matches the Pods that you expect to provide your Service.
143
-
144
- If the list of pods matches expectations, but your endpoints are still empty, it's possible that you don't
145
- have the right ports exposed. If your service has a ` targetPort ` specified, but the Pods that are
146
- selected don't have that port listed, then they won't be added to the endpoints list.
147
-
148
143
Verify that the pod's ` containerPort ` matches up with the Service's ` targetPort `
149
144
150
145
#### Network traffic is not forwarded
151
146
152
- If you can connect to the service, but the connection is immediately dropped, and there are endpoints
153
- in the endpoints list, it's likely that the proxy can't contact your pods.
154
-
155
- There are three things to
156
- check:
157
-
158
- * Are your pods working correctly? Look for restart count, and [ debug pods] ( #debugging-pods ) .
159
- * Can you connect to your pods directly? Get the IP address for the Pod, and try to connect directly to that IP.
160
- * Is your application serving on the port that you configured? If your application serves on 8080, the ` targetPort ` field needs to be 8080.
147
+ Please see [ debugging service] ( /docs/tasks/debug-application-cluster/debug-service.md ) for more information.
161
148
162
149
## {{% heading "whatsnext" %}}
163
150
You can’t perform that action at this time.
0 commit comments