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
|
||||
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:
|
||||
name: echoheadersy
|
||||
labels:
|
||||
|
@ -79,8 +62,7 @@ metadata:
|
|||
spec:
|
||||
backend:
|
||||
# Re-use echoheadersx as the default backend so we stay under the default
|
||||
# quota for gce BackendServices. You can change this to echoheadersdefault
|
||||
# if you have enough quota.
|
||||
# quota for gce BackendServices.
|
||||
serviceName: echoheadersx
|
||||
servicePort: 80
|
||||
rules:
|
||||
|
|
Loading…
Reference in a new issue