Create an IP Address for Kubernetes Cluster Using Load Balancer
Example
apiVersion: v1
kind: Service
metadata:
labels:
run: nginx
name: nginx
spec:
ports:
- port: 80
targetPort: 80
selector:
run: nginx
type: LoadBalancer
loadBalancerIP: CRIP-IPLast updated
Was this helpful?