You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
670 B

  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. annotations:
  5. service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
  6. name: {{ template "seaweedfs.name" . }}-filer
  7. namespace: {{ .Release.Namespace }}
  8. labels:
  9. app: {{ template "seaweedfs.name" . }}
  10. component: filer
  11. spec:
  12. clusterIP: None
  13. publishNotReadyAddresses: true
  14. ports:
  15. - name: "swfs-filer"
  16. port: {{ .Values.filer.port }}
  17. targetPort: {{ .Values.filer.port }}
  18. protocol: TCP
  19. - name: "swfs-filer-grpc"
  20. port: {{ .Values.filer.grpcPort }}
  21. targetPort: {{ .Values.filer.grpcPort }}
  22. protocol: TCP
  23. selector:
  24. app: {{ template "seaweedfs.name" . }}
  25. component: filer