add nodeport
This commit is contained in:
14
clusters/cl01tl/applications/plex/templates/service.yaml
Normal file
14
clusters/cl01tl/applications/plex/templates/service.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: plex-external
|
||||
spec:
|
||||
selector:
|
||||
app: my-app
|
||||
type: NodePort
|
||||
ports:
|
||||
- name: http
|
||||
port: 32400
|
||||
targetPort: 32400
|
||||
nodePort: 32400
|
||||
protocol: TCP
|
Reference in New Issue
Block a user