13 lines
179 B
YAML
13 lines
179 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: web-app-service
|
||
|
spec:
|
||
|
ports:
|
||
|
- name: http
|
||
|
port: 80
|
||
|
nodePort: 30080
|
||
|
selector:
|
||
|
name: web-app
|
||
|
type: NodePort
|