Skip to content

Commit 61f9efd

Browse files
committed
remove redundant deployment and service in example
Signed-off-by: Haywood Shannon <5781935+haywoodsh@users.noreply.github.com>
1 parent 14b4b0c commit 61f9efd

File tree

1 file changed

+1
-37
lines changed
  • examples/custom-resources/foreign-namespace-upstreams

1 file changed

+1
-37
lines changed

examples/custom-resources/foreign-namespace-upstreams/coffee.yaml

Lines changed: 1 addition & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
name: coffee
55
namespace: coffee
66
spec:
7-
replicas: 3
7+
replicas: 1
88
selector:
99
matchLabels:
1010
app: coffee
@@ -32,39 +32,3 @@ spec:
3232
name: http
3333
selector:
3434
app: coffee
35-
36-
---
37-
apiVersion: apps/v1
38-
kind: Deployment
39-
metadata:
40-
name: coffee
41-
namespace: coffee2
42-
spec:
43-
replicas: 3
44-
selector:
45-
matchLabels:
46-
app: coffee
47-
template:
48-
metadata:
49-
labels:
50-
app: coffee
51-
spec:
52-
containers:
53-
- name: coffee
54-
image: nginxdemos/nginx-hello:plain-text
55-
ports:
56-
- containerPort: 8080
57-
---
58-
apiVersion: v1
59-
kind: Service
60-
metadata:
61-
name: coffee-svc
62-
namespace: coffee2
63-
spec:
64-
ports:
65-
- port: 80
66-
targetPort: 8080
67-
protocol: TCP
68-
name: http
69-
selector:
70-
app: coffee

0 commit comments

Comments
 (0)