how to add static external load balancer ip in yaml file k8s service gcp
apiVersion: v1
kind: Service
metadata:
name: haproxy
annotations:
labels:
app: haproxy
spec:
type: LoadBalancer
# type: NodePort
# type: ClusterIP
loadBalancerIP: 104.196.1.110
ports:
- port: 80
name: http
- port: 443
name: https
# nodePort: 30443
selector:
app: haproxy
# externalIPs:
# - 35.225.201.125
# - 192.168.49.2
# - 192.168.0.4
# - 172.21.0.2
# - 10.0.7.4
# - 52.183.6.39