Editing Kubectl describe services

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  [[kubectl describe]] services
 
  kubectl describe service -A
 
  
[[kubectl describe]] service | grep [[Type]]
 
 
== Examples ==
 
 
=== [[ClusterIP]] ===
 
 
  [[kubectl describe]] services
 
  [[kubectl describe]] services
 
  Name:              kubernetes
 
  Name:              kubernetes
Line 16: Line 9:
 
  Selector:          <none>
 
  Selector:          <none>
 
  Type:              ClusterIP
 
  Type:              ClusterIP
  IP Family Policy:  [[SingleStack]]
+
  IP Family Policy:  SingleStack
 
  IP Families:      IPv4
 
  IP Families:      IPv4
 
  IP:                10.100.0.1
 
  IP:                10.100.0.1
Line 26: Line 19:
 
  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
 
 
 
=== [[LoadBalancer]] ===
 
<pre>
 
Name:                    mylbinm
 
Namespace:                default
 
Labels:                  app.kubernetes.io/instance=instance-name
 
                          app.kubernetes.io/managed-by=Helm
 
                          app.kubernetes.io/name=your-app-name
 
                          app.kubernetes.io/version=your-tag-versoin
 
                          helm.sh/chart=inm-dev-0.1.0
 
Annotations:              <none>
 
Selector:                app.kubernetes.io/instance=instance-name,app.kubernetes.io/name=your-app-name
 
Type:                    LoadBalancer
 
IP Family Policy:        SingleStack
 
IP Families:              IPv4
 
IP:                      172.20.218.205
 
IPs:                      172.20.218.205
 
LoadBalancer Ingress:    a71b8bc0xxxxxx.us-east-2.elb.amazonaws.com
 
Port:                    <unset>  3000/TCP
 
TargetPort:              3000/TCP
 
NodePort:                <unset>  30057/TCP
 
Endpoints:                10.33.1.97:3000
 
Session Affinity:        None
 
External Traffic Policy:  Cluster
 
Events:                  <none>
 
</pre>
 
  
  
  
== Related ==
 
* <code>[[kubectl expose deployment]] hello-world --type=LoadBalancer --name=my-service</code>
 
  
 
== See also ==
 
== See also ==
* {{kubectl describe service}}
 
* {{kubectl create service}}
 
* {{kind: Service}}
 
 
* {{Kubernetes services}}
 
* {{Kubernetes services}}
 
+
* {{Ingress}}
  
 
[[Category:Kubernetes]]
 
[[Category:Kubernetes]]

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: