Skip to content

Commit aa64331

Browse files
authored
Create myservice.yml
1 parent bff1dd1 commit aa64331

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Kubernetese/myservice.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)