You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 lines
336 B

apiVersion: v1
kind: Service
metadata:
name: service-loadbalancer
spec:
selector:
name: templated-pod
type: ClusterIP
ports:
- name: http
nodePort: null
port: 80
targetPort: 80
protocol: TCP
# type: LoadBalancer
# ports:
# - port: 80
# targetPort: 80
# externalIPs:
# - 192.168.1.147