Kubernetes: Difference between revisions

Tags: Mobile edit Mobile web edit
Line 59: Line 59:
For self-hosted/bare metal deployments, there are two types of services.
For self-hosted/bare metal deployments, there are two types of services.
* ClusterIP - This creates an IP address on the internal cluster which nodes and pods on the cluster can access. (Default)
* ClusterIP - This creates an IP address on the internal cluster which nodes and pods on the cluster can access. (Default)
* NodePort - This exposes the port on every node. It implicitly creates a ClusterIP and every node will route to that.
* NodePort - This exposes the port on every node. It implicitly creates a ClusterIP and every node will route to that. This allows access from outside the cluster.


On managed deployments (e.g. AWS EKS, GKE) you also have
On managed deployments (e.g. AWS EKS, GKE) you also have