Skip to content

Commit f9a50bf

Browse files
authored
Create service1.yml
1 parent 6d1ad68 commit f9a50bf

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Kubernetese/service1.yml

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+
metatdata:
4+
name: mysvc
5+
spec:
6+
type: NodePort
7+
ports:
8+
- targetPort: 80
9+
port: 80
10+
nodePort: 30008
11+
selector:
12+
type: webserver

0 commit comments

Comments
 (0)