Difference between revisions of "Kubectl describe endpointslices"
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
[[kubectl]] describe endpointslices | [[kubectl]] describe endpointslices | ||
+ | [[kubectl]] describe endpointslices | grep Ready | ||
+ | == Examples == | ||
+ | === Grafana === | ||
<pre> | <pre> | ||
− | Name: | + | Name: grafana-hd9tl |
− | Namespace: | + | Namespace: grafana |
− | Labels: app.kubernetes.io/instance= | + | Labels: app.kubernetes.io/instance=grafana |
app.kubernetes.io/managed-by=Helm | app.kubernetes.io/managed-by=Helm | ||
− | app.kubernetes.io/name= | + | app.kubernetes.io/name=grafana |
− | app.kubernetes.io/version= | + | app.kubernetes.io/version=10.3.1 |
− | + | endpointslice.kubernetes.io/managed-by=endpointslice-controller.k8s.io | |
− | helm.sh/chart= | + | helm.sh/chart=grafana-7.3.0 |
− | kubernetes.io/service-name= | + | kubernetes.io/service-name=grafana |
− | Annotations: endpoints.kubernetes.io/last-change-trigger-time: 2024-02- | + | Annotations: endpoints.kubernetes.io/last-change-trigger-time: 2024-02-14T16:28:38Z |
AddressType: IPv4 | AddressType: IPv4 | ||
Ports: | Ports: | ||
− | Name | + | Name Port Protocol |
− | ---- | + | ---- ---- -------- |
− | + | service 3000 TCP | |
Endpoints: | Endpoints: | ||
− | - Addresses: 10.0.1. | + | - Addresses: 10.0.1.219 |
Conditions: | Conditions: | ||
Ready: true | Ready: true | ||
Hostname: <unset> | Hostname: <unset> | ||
− | TargetRef: Pod/ | + | TargetRef: Pod/grafana-5457fb54b8-wgbsz |
NodeName: ip-10-0-1-166.ec2.internal | NodeName: ip-10-0-1-166.ec2.internal | ||
Zone: us-east-1a | Zone: us-east-1a | ||
Events: <none> | Events: <none> | ||
</pre> | </pre> | ||
+ | |||
+ | |||
+ | |||
+ | === your-app-helm === | ||
+ | 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 == | == Errors == |
Latest revision as of 06:55, 16 February 2024
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: