Difference between revisions of "Kubectl describe services"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 +
  kubectl describe services
 +
  kubectl describe service -A
  
 +
== Examples ==
 
  [[kubectl describe]] services
 
  [[kubectl describe]] services
 
  Name:              kubernetes
 
  Name:              kubernetes
Line 19: Line 22:
 
  Events:            <none>
 
  Events:            <none>
  
  kubectl describe service -A
+
  .../...
 +
Endpoints:                10.2.1.89:3000
 +
Session Affinity:        None
 +
External Traffic Policy:  Cluster
 +
Events:
 +
  Type    Reason                Age    From                Message
 +
  ----    ------                ----  ----                -------
 +
  Normal  EnsuringLoadBalancer  9m17s  service-controller  Ensuring load balancer
 +
  Normal  EnsuredLoadBalancer  9m15s  service-controller  Ensured load balancer
  
  
 +
 +
 +
== Related ==
 
  [[kubectl expose deployment]] hello-world --type=LoadBalancer --name=my-service
 
  [[kubectl expose deployment]] hello-world --type=LoadBalancer --name=my-service
  

Revision as of 05:38, 14 March 2023

 kubectl describe services
 kubectl describe service -A

Examples

kubectl describe services
Name:              kubernetes
Namespace:         default
Labels:            component=your-label
                   provider=kubernetes
Annotations:       <none>
Selector:          <none>
Type:              ClusterIP
IP Family Policy:  SingleStack
IP Families:       IPv4
IP:                10.100.0.1
IPs:               10.100.0.1
Port:              https  443/TCP
TargetPort:        443/TCP
Endpoints:         192.168.104.103:443,192.168.181.204:443
Session Affinity:  None
Events:            <none>
.../...
Endpoints:                10.2.1.89:3000
Session Affinity:         None
External Traffic Policy:  Cluster
Events:
  Type    Reason                Age    From                Message
  ----    ------                ----   ----                -------
  Normal  EnsuringLoadBalancer  9m17s  service-controller  Ensuring load balancer
  Normal  EnsuredLoadBalancer   9m15s  service-controller  Ensured load balancer



Related

kubectl expose deployment hello-world --type=LoadBalancer --name=my-service


See also

Advertising: