This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
端点是一种获取一个或多个 IP 地址的资源更多动态分配给它的 Pod 以及端口。可以使用以下命令查看端点
kubectl 获取端点。
端点资源由 kubernetes 服务引用,以便该服务记录 pod 的内部 IP,以便能够与他们沟通。
与端点关联的类似 kubectl 命令:
kubectl描述pod
- 并观察pod的IP地址kubectl get ep
- 并观察分配给您的端点的 IP 地址kubectl describe service myServiceName
- 并观察与您的服务关联的端点。有关 kubectl 命令的更多信息,请参阅链接。
An endpoint is a resource that gets IP addresses of one or more pods dynamically assigned to it, along with a port. An endpoint can be viewed using
kubectl get endpoints.
An endpoint resource is referenced by a kubernetes service, so that the service has a record of the internal IPs of pods in order to be able to communicate with them.
Similar kubectl commands associated with endpoints:
kubectl describe pods
- and observe the IP addresses of your podskubectl get ep
- and observe the IP addresses assigned to your endpointkubectl describe service myServiceName
- and observe the Endpoints associated with your service.Refer to the link for more information on kubectl commands.