Skip to content

Commit e18f945

Browse files
committed
service
1 parent b4249fc commit e18f945

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

service.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
apiVersion: v1
2+
kind: Service
3+
metadata:
4+
name: my-nginx-webapp-service
5+
spec:
6+
type: NodePort
7+
selector:
8+
app: my-nginx-webapp
9+
ports:
10+
- protocol: TCP
11+
port: 80
12+
targetPort: 80

0 commit comments

Comments
 (0)