16 lines
279 B
Plaintext
16 lines
279 B
Plaintext
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: netchecker-service
|
||
|
namespace: {{ netcheck_namespace }}
|
||
|
spec:
|
||
|
selector:
|
||
|
app: netchecker-server
|
||
|
ports:
|
||
|
-
|
||
|
protocol: TCP
|
||
|
port: 8081
|
||
|
targetPort: 8081
|
||
|
nodePort: {{ netchecker_port }}
|
||
|
type: NodePort
|