15 lines
237 B
YAML
15 lines
237 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: hw-service
|
|
namespace: vdk2ch
|
|
spec:
|
|
type: NodePort
|
|
selector:
|
|
app: helloworld
|
|
ports:
|
|
- name: http
|
|
protocol: TCP
|
|
port: 80
|
|
targetPort: 80
|
|
nodePort: 30001 |