Skip to content

Commit bff1dd1

Browse files
authored
Create service1.yml
1 parent c4a6131 commit bff1dd1

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Kubernetese/service1.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
apiVersion: v1
3+
kind: Service
4+
metadata:
5+
name: mysvc
6+
spec:
7+
type: NodePort
8+
ports:
9+
- targetPort: 80
10+
port: 80
11+
nodePort: 30008
12+
selector:
13+
type: webserver

0 commit comments

Comments
 (0)