Internal Load Balancing
Service
In-Cluster Load Balancer
Internal Network Load Balancer
Service YAML
apiVersion: v1
kind: Service
metadata:
name: helloworld
annotations:
# Indicate this is an Internal Network Load Balancer
cloud.google.com/load-balancer-type: "Internal"
labels:
app: helloworld
spec:
ports:
- name: 8080-8080
port: 8080
protocol: TCP
targetPort: 8080
selector:
app: helloworld
# Use LoadBalancer type instead of ClusterIP
type: LoadBalancerInternal Static IP
Internal HTTP(s) Load Balancer
Service YAML
Ingress YAML
Last updated
Was this helpful?