Difference between revisions of "Kubernetes EndPoints"

From wikieduonline
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Draft}}
 
{{Draft}}
 +
[[Kubernetes EndPoints]] and [[Kubernetes EndpointSlices]]
 +
 +
[[kind: Endpoints]]
  
 
  [[endpoints.kubernetes.io/last-change-trigger-time]]
 
  [[endpoints.kubernetes.io/last-change-trigger-time]]
Line 6: Line 9:
 
  NAME      ENDPOINTS  AGE
 
  NAME      ENDPOINTS  AGE
 
  kube-dns  <none>      3h55m
 
  kube-dns  <none>      3h55m
 +
 +
kubectl get endpoints -n your-app-wrongns
 +
No resources found in your-app-wrongns namespace.
  
 
  {
 
  {
Line 14: Line 20:
 
   },
 
   },
 
   "status": "Failure",
 
   "status": "Failure",
   "message": "no endpoints available for service \"kubernetes-dashboard\"",
+
   "message": "[[no endpoints available for service]] \"[[kubernetes-dashboard]]\"",
   "reason": "ServiceUnavailable",
+
   "reason": "[[ServiceUnavailable]]",
 
   "code": 503
 
   "code": 503
 
  }
 
  }
Line 25: Line 31:
 
* [[v1.18]] <code>AppProtocol</code> is a new optional field on ports in Endpoints and [[Kubernetes services|Services]]
 
* [[v1.18]] <code>AppProtocol</code> is a new optional field on ports in Endpoints and [[Kubernetes services|Services]]
 
* New [[EndpointSlice]] [[Kubernetes API|API]]
 
* New [[EndpointSlice]] [[Kubernetes API|API]]
 +
 +
== Errors ==
 +
[[W0215]] 21:18:47.086332      1 [[controller.go]]:2903] [[Error retrieving endpoints for the service]] yourapp-app-helm: [[no endpointslices for target port]] 80 in service yourapp-app-helm
 +
 +
== Activities ==
 +
* Read [[Kubernetes Concept: Endpoints vs EndpointSlices]] https://www.linkedin.com/pulse/kubernetes-concept-endpoints-vs-endpointslices-mbong-ekwoge
  
 
== Related ==
 
== Related ==
Line 35: Line 47:
 
* [[Kubernetes EndpointSlices]]
 
* [[Kubernetes EndpointSlices]]
 
* [[Kubernetes services]]: <code>[[kind: Service]]</code>
 
* [[Kubernetes services]]: <code>[[kind: Service]]</code>
 +
* [[Kubernetes Ingress]]
  
 
== See also ==
 
== See also ==

Latest revision as of 06:42, 16 February 2024

This article is a Draft. Help us to complete it.

Kubernetes EndPoints and Kubernetes EndpointSlices

kind: Endpoints
endpoints.kubernetes.io/last-change-trigger-time
kubectl -n kube-system get endpoints kube-dns
NAME       ENDPOINTS   AGE
kube-dns   <none>      3h55m
kubectl get endpoints -n your-app-wrongns
No resources found in your-app-wrongns namespace.
{
  "kind": "Status",
  "apiVersion": "v1",
  "metadata": {
    
  },
  "status": "Failure",
  "message": "no endpoints available for service \"kubernetes-dashboard\"",
  "reason": "ServiceUnavailable",
  "code": 503
}
kubectl describe endpoints

Changelog[edit]

Errors[edit]

W0215 21:18:47.086332       1 controller.go:2903] Error retrieving endpoints for the service yourapp-app-helm: no endpointslices for target port 80 in service yourapp-app-helm

Activities[edit]

Related[edit]

See also[edit]

Advertising: