cloudflared-metrics-service.yaml 325 B

123456789101112131415161718
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. name: cloudflared-metrics
  5. labels:
  6. name: cloudflared-metrics
  7. app: cloudflared-metrics
  8. namespace: kube-system
  9. spec:
  10. ports:
  11. - name: metrics
  12. port: 2000
  13. protocol: TCP
  14. targetPort: metrics
  15. selector:
  16. app: cloudflared
  17. sessionAffinity: None
  18. type: ClusterIP