Skip to content

Commit f0ebe27

Browse files
Use Nodeport
1 parent 8cb9201 commit f0ebe27

File tree

3 files changed

+4
-17
lines changed

3 files changed

+4
-17
lines changed

kustomize-app/base/service.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ metadata:
66
app: demo
77
spec:
88
ports:
9-
- port: 8080
9+
- nodePort: 31000
10+
protocol: TCP
11+
port: 8080
1012
selector:
1113
app: demo
12-
type: ClusterIP
14+
type: NodePort

kustomize-app/overlays/staging/kustomization.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ bases:
55
- ../../base
66
patchesStrategicMerge:
77
- config-map.yaml
8-
- service.yaml

kustomize-app/overlays/staging/service.yaml

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)