Skip to content
Snippets Groups Projects
Commit f1422368 authored by Davide Verardo's avatar Davide Verardo
Browse files

webserver-service.yaml

parent d365da2a
No related branches found
No related tags found
No related merge requests found
apiVersion: v1
kind: Service
metadata:
annotations:
kompose.cmd: kompose convert --volumes hostPath
kompose.version: 1.26.0 (40646f47)
creationTimestamp: null
labels:
io.kompose.service: webapp
name: webapp
spec:
ports:
- name: "8080"
port: 8080
targetPort: 8080
selector:
io.kompose.service: webapp
status:
loadBalancer: {}
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: webserver-service
spec:
selector:
app: webserver
ports:
- protocol: TCP
port: 80
targetPort: 80
type: NodePort
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment