k8s问题排查:多副本同一台机器上运行,telnelt 服务不通
点朗读开始;播放中可点段落跳转。屏幕默认常亮。
现象
# 机器10-1-15-186
[root@10-1-15-186 hcitos]# kubectl get svc -A
NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
calico-system calico-api ClusterIP 10.99.94.80 <none> 443/TCP 53d
calico-system calico-kube-controllers-metrics ClusterIP None <none> 9094/TCP 53d
calico-system calico-typha ClusterIP 10.102.100.34 <none> 5473/TCP 53d
calico-system goldmane ClusterIP 10.96.7.20 <none> 7443/TCP 53d
calico-system whisker ClusterIP 10.110.201.47 <none> 8081/TCP 53d
default kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 53d
kube-system kube-dns ClusterIP 10.96.0.10 <none> 53/UDP,53/TCP,9153/TCP 53d
kube-system my-hami-webui-kube-prometh-kubelet ClusterIP None <none> 10250/TCP,10255/TCP,4194/TCP 53d
lws-system lws-controller-manager-metrics-service ClusterIP 10.97.11.72 <none> 8443/TCP 49d
lws-system lws-webhook-service ClusterIP 10.101.12.139 <none> 443/TCP 49d
topke-system gpu-operator ClusterIP 10.99.170.74 <none> 8080/TCP 53d
topke-system hami-device-plugin-monitor NodePort 10.101.225.253 <none> 31992:31992/TCP 2d3h
topke-system hami-scheduler NodePort 10.100.236.112 <none> 443:31998/TCP,31993:31993/TCP 2d3h
topke-system my-hami-webui ClusterIP 10.109.253.209 <none> 3000/TCP,8000/TCP 23h
topke-system my-hami-webui-dcgm-exporter ClusterIP 10.107.151.89 <none> 9400/TCP 23h
topke-system my-hami-webui-kube-prometh-operator ClusterIP 10.99.114.200 <none> 443/TCP 23h
topke-system my-hami-webui-kube-prometh-prometheus ClusterIP 10.101.22.226 <none> 9090/TCP,8080/TCP 23h
topke-system my-hami-webui-kube-state-metrics ClusterIP 10.108.199.38 <none> 8080/TCP 23h
topke-system nvidia-dcgm-exporter ClusterIP 10.111.192.98 <none> 9400/TCP 53d
topke-system prometheus-operated ClusterIP None <none> 9090/TCP 23h
topsec-poc evalscope-142-service ClusterIP 10.111.112.204 <none> 19190/TCP 4d6h
topsec-poc inference-4e61d922-75cf-4022-8fd1-037bde4e198e NodePort 10.109.67.168 <none> 8000:30379/TCP 49d
topsec-poc inference-535f70db-5a95-4109-979d-50b0628cfd97 NodePort 10.107.46.31 <none> 8000:20026/TCP 6h7m
topsec-poc inference-899d05b6-3b1a-43ab-a84a-6df03f5fc898 NodePort 10.96.41.162 <none> 8000:22661/TCP 7d20h
topsec-poc inference-f4518282-a34a-4b12-8324-16c5cd320e65 NodePort 10.108.170.65 <none> 8000:30429/TCP 50m
[root@10-1-15-186 hcitos]# telnet 10.99.94.80 443
Trying 10.99.94.80...
Connected to 10.99.94.80.
Escape character is '^]'.
# 机器10-1-15-151
[root@10-1-15-151 hcitos]# telnet 10.99.94.80 443
Trying 10.99.94.80...
^C
[root@10-1-15-151 hcitos]#