Difference between revisions of "ClusterIP"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<code>ClusterIP</code>: exposes the Service on a cluster-internal IP. Choosing this value makes the Service only reachable from within the cluster. This is the default that is used if you don't explicitly specify a type for a Service. <ref>https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types</ref>
+
<code>ClusterIP</code> [[exposes]] the Service on a cluster-internal IP. Choosing this value makes the Service only reachable from [[within the cluster]]. This is the default that is used if you don't explicitly specify a type for a Service. <ref>https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types</ref>
  
  
 
* <code>[[kubectl create clusterip]]</code>
 
* <code>[[kubectl create clusterip]]</code>
* <code>[[kubectl get clusterip]]</code>
+
* <code>[[kubectl get service]] | grep ClusterIP</code>
 
* <code>[[kubectl get all]]</code>
 
* <code>[[kubectl get all]]</code>
  
Line 17: Line 17:
 
* <code>[[kubectl get services]]</code>
 
* <code>[[kubectl get services]]</code>
 
* <code>[[kubectl port-forward]]</code>
 
* <code>[[kubectl port-forward]]</code>
 +
* <code>[[kind: Service]]</code>
 +
* <code>[[kind: Endpoint]]</code>
 +
* [[CLUSTER-IP]]
 +
* [[spec.clusterIPs]]
  
 
== See also ==
 
== See also ==

Latest revision as of 13:57, 13 December 2023

Advertising: