Difference between revisions of "ClusterIP"
Jump to navigation
Jump to search
↑ https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 3: | Line 3: | ||
* <code>[[kubectl create clusterip]]</code> | * <code>[[kubectl create clusterip]]</code> | ||
− | * <code>[[kubectl get | + | * <code>[[kubectl get service]] | grep ClusterIP</code> |
* <code>[[kubectl get all]]</code> | * <code>[[kubectl get all]]</code> | ||
Revision as of 11:10, 31 March 2023
ClusterIP
: 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. [1]
kubectl create clusterip
kubectl get service | grep ClusterIP
kubectl get all
Redis values.yml
Related
NodePort
externalName
- CKA 1.23 Understand ClusterIP, NodePort, LoadBalancer service types and endpoints
kubectl get services
kubectl port-forward
See also
- Kubernetes services,
kubectl get services, kubectl describe service
,kubectl create service
[loadbalancer
|nodeport
|clusterip
|externalname ], kubectl expose
,headless service, service.beta.kubernetes.io
- Kubernetes networking: network policies, Network Policy Providers, CNI, Calico, flannel, Service mesh, Istio,
kube-proxy, coredns, AWS VPC CNI: vpc-cni
, Kubernetes: Ingress controllers, IPVS, ServiceTypes:LoadBalancer, ClusterIP, NodePort, ExternalName
, Endpoints, EndpointSlices, Kubernetes DNS,svc.cluster.local
, Weave Net
Advertising: