service.yaml 354 B

123456789101112131415161718
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. name: ssl-exporter
  5. labels:
  6. app.kubernetes.io/name: ssl-exporter
  7. app.kubernetes.io/part-of: ssl-exporter
  8. spec:
  9. ports:
  10. - port: 9219
  11. protocol: TCP
  12. targetPort: 9219
  13. name: http
  14. selector:
  15. app.kubernetes.io/name: ssl-exporter
  16. app.kubernetes.io/part-of: ssl-exporter
  17. type: ClusterIP