Merge pull request #1249 from bprashanth/ing
Reduce number of backends in basic ingress example
This commit is contained in:
commit
72fe8dc293
1 changed files with 1 additions and 19 deletions
|
@ -19,23 +19,6 @@ spec:
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
|
||||||
name: echoheadersdefault
|
|
||||||
labels:
|
|
||||||
app: echoheaders
|
|
||||||
spec:
|
|
||||||
type: NodePort
|
|
||||||
ports:
|
|
||||||
- port: 80
|
|
||||||
nodePort: 30302
|
|
||||||
targetPort: 8080
|
|
||||||
protocol: TCP
|
|
||||||
name: http
|
|
||||||
selector:
|
|
||||||
app: echoheaders
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
metadata:
|
||||||
name: echoheadersy
|
name: echoheadersy
|
||||||
labels:
|
labels:
|
||||||
|
@ -79,8 +62,7 @@ metadata:
|
||||||
spec:
|
spec:
|
||||||
backend:
|
backend:
|
||||||
# Re-use echoheadersx as the default backend so we stay under the default
|
# Re-use echoheadersx as the default backend so we stay under the default
|
||||||
# quota for gce BackendServices. You can change this to echoheadersdefault
|
# quota for gce BackendServices.
|
||||||
# if you have enough quota.
|
|
||||||
serviceName: echoheadersx
|
serviceName: echoheadersx
|
||||||
servicePort: 80
|
servicePort: 80
|
||||||
rules:
|
rules:
|
||||||
|
|
Loading…
Reference in a new issue