Difference between revisions of "ClusterIP"

From wikieduonline
Jump to navigation Jump to search
 
(12 intermediate revisions by 4 users 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
+
<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 service]] | grep ClusterIP</code>
 
* <code>[[kubectl get all]]</code>
 
* <code>[[kubectl get all]]</code>
 +
 +
=== [[Redis values.yml]] ===
 +
<code>[[service:]]</code>
 +
 +
<code>[[type:]]</code>
  
 
== Related ==
 
== Related ==
Line 10: Line 16:
 
* [[CKA 1.23]] [[Understand ClusterIP, NodePort, LoadBalancer service types and endpoints]]
 
* [[CKA 1.23]] [[Understand ClusterIP, NodePort, LoadBalancer service types and endpoints]]
 
* <code>[[kubectl get services]]</code>
 
* <code>[[kubectl get services]]</code>
 +
* <code>[[kubectl port-forward]]</code>
 +
* <code>[[kind: Service]]</code>
 +
* <code>[[kind: Endpoint]]</code>
 +
* [[CLUSTER-IP]]
 +
* [[spec.clusterIPs]]
  
 
== See also ==
 
== See also ==
 
* {{Kubernetes services}}
 
* {{Kubernetes services}}
 +
* {{Kubernetes networking}}
  
 
[[Category:Kubernetes]]
 
[[Category:Kubernetes]]

Latest revision as of 13:57, 13 December 2023

Advertising: