|
|
Line 37: |
Line 37: |
|
| |
|
| ; <tt>type: ClusterIP</tt> | | ; <tt>type: ClusterIP</tt> |
| : expose pods only inside your kubernetes cluster. You can make them public using an [https://kubernetes.io/docs/concepts/services-networking/ingress/ Ingress] or a [https://gateway-api.sigs.k8s.io/ Gateway] | | : expose pods only inside your kubernetes cluster. You can make them public using an [https://kubernetes.io/docs/concepts/services-networking/ingress/ Ingress] or a [https://gateway-api.sigs.k8s.io/ Gateway] |
| ; <tt>type: NodePort</tt> | | ; <tt>type: NodePort</tt> |
| : expose services on a static port | | : expose services on a static port |
| ; <tt>type: LoadBalancer</tt> | | ; <tt>type: LoadBalancer</tt> |
| : something | | : Just what it sounds like. You can create both internal and external load balancers in cases where you need Split Horizon DNS |
| ; <tt>type: ExternalName</tt> | | ; <tt>type: ExternalName</tt> |
| : map a Service to a DNS name, not to a typical selector such as my-service or cassandra | | : map a Service to a DNS name, not to a typical selector such as my-service or cassandra |