mirror of
https://github.com/Luzifer/repo-template.git
synced 2024-11-10 08:30:03 +00:00
16 lines
260 B
YAML
16 lines
260 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: h2demo
|
|
spec:
|
|
ports:
|
|
- port: 80
|
|
targetPort: 80
|
|
name: http
|
|
- port: 443
|
|
targetPort: 443
|
|
name: https
|
|
selector:
|
|
app: h2demo
|
|
type: LoadBalancer
|
|
loadBalancerIP: 130.211.116.44
|