shandianxiawoshan 2017-09-07 01:26 采纳率: 0%
浏览 6443
已采纳

kubernetes配置nodePort没有生效,但是配置hostPort可以访问

kubectl describe svc/promgr
Name: promgr
Namespace: default
Labels: app=promgr
Annotations:
Selector: app=promgr
Type: NodePort
IP: 11.1.1.213
External IPs: 101.37.*.*
Port: 10801/TCP
NodePort: 30763/TCP
Endpoints: 192.168.43.2:10801
Session Affinity: None
Events:
请问为什么配置完nodePort使用101.37.*.*:30763无法访问

  • 写回答

1条回答 默认 最新

  • devmiao 2017-09-07 01:32
    关注
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?