kubectl describe endpointslices

From wikieduonline
Jump to navigation Jump to search

kubectl describe endpointslices
kubectl describe endpointslices | grep Ready

Examples[edit]

Grafana[edit]

Name:         grafana-hd9tl
Namespace:    grafana
Labels:       app.kubernetes.io/instance=grafana
              app.kubernetes.io/managed-by=Helm
              app.kubernetes.io/name=grafana
              app.kubernetes.io/version=10.3.1
              endpointslice.kubernetes.io/managed-by=endpointslice-controller.k8s.io
              helm.sh/chart=grafana-7.3.0
              kubernetes.io/service-name=grafana
Annotations:  endpoints.kubernetes.io/last-change-trigger-time: 2024-02-14T16:28:38Z
AddressType:  IPv4
Ports:
  Name     Port  Protocol
  ----     ----  --------
  service  3000  TCP
Endpoints:
  - Addresses:  10.0.1.219
    Conditions:
      Ready:    true
    Hostname:   <unset>
    TargetRef:  Pod/grafana-5457fb54b8-wgbsz
    NodeName:   ip-10-0-1-166.ec2.internal
    Zone:       us-east-1a
Events:         <none>


your-app-helm[edit]

Name:         your-app-helm-v9th2
Namespace:    your-app-helm
Labels:       app.kubernetes.io/instance=your-app-helm
              app.kubernetes.io/managed-by=Helm
              app.kubernetes.io/name=your-app-helm
              app.kubernetes.io/version=1.16.0
              endpointslice.kubernetes.io/managed-by=endpointslice-controller.k8s.io
              helm.sh/chart=your-app-helm-0.1.0
              kubernetes.io/service-name=your-app-helm
Annotations:  endpoints.kubernetes.io/last-change-trigger-time: 2024-02-16T06:38:58Z
AddressType:  IPv4
Ports:
  Name  Port  Protocol
  ----  ----  --------
  http  80    TCP
Endpoints:
  - Addresses:  10.0.1.160
    Conditions:
      Ready:    true
    Hostname:   <unset>
    TargetRef:  Pod/your-app-helm-6b566cb84b-fgvx2
    NodeName:   ip-10-0-1-166.ec2.internal
    Zone:       us-east-1a
Events:         <none>

Errors[edit]


Related[edit]

See also[edit]

Advertising: