2022-05-05 15:44:44 +00:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: netflux
|
2023-09-10 18:21:04 +00:00
|
|
|
annotations:
|
|
|
|
ignore-check.kube-linter.io/dangling-service: "This is a headless service"
|
2022-05-05 15:44:44 +00:00
|
|
|
spec:
|
|
|
|
clusterIP: None
|
|
|
|
ports:
|
|
|
|
- name: metrics
|
|
|
|
port: 9100
|
|
|
|
protocol: TCP
|
|
|
|
---
|
|
|
|
kind: Endpoints
|
|
|
|
apiVersion: v1
|
|
|
|
metadata:
|
|
|
|
name: netflux
|
|
|
|
subsets:
|
|
|
|
- addresses:
|
|
|
|
- ip: ${NETFLUX_PRIVATE_IP}
|
|
|
|
ports:
|
|
|
|
- port: 9100
|
|
|
|
name: metrics
|
|
|
|
protocol: TCP
|