18 lines
291 B
YAML
18 lines
291 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: h2demo
|
|
spec:
|
|
externalTrafficPolicy: Local
|
|
ports:
|
|
- port: 80
|
|
targetPort: 80
|
|
name: http
|
|
- port: 443
|
|
targetPort: 443
|
|
name: https
|
|
selector:
|
|
app: h2demo
|
|
type: LoadBalancer
|
|
loadBalancerIP: 130.211.116.44
|