2016-03-01 01:11:36 +01:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: nginx
|
|
|
|
labels:
|
|
|
|
app: nginx
|
|
|
|
spec:
|
|
|
|
type: LoadBalancer
|
2016-03-23 15:12:16 +01:00
|
|
|
loadBalancerIP: 104.155.119.229
|
2016-03-01 01:11:36 +01:00
|
|
|
selector:
|
|
|
|
lb-target: nginx
|
|
|
|
ports:
|
|
|
|
- port: 80
|
|
|
|
name: http
|
|
|
|
- port: 443
|
|
|
|
name: https
|
2016-03-23 15:13:17 +01:00
|
|
|
- port: 22
|
|
|
|
name: ssh
|