2020-03-03 15:56:39 +08:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
2021-01-14 04:26:50 +08:00
|
|
|
annotations:
|
|
|
|
service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
|
2020-03-03 15:56:39 +08:00
|
|
|
name: {{ template "seaweedfs.name" . }}-filer
|
|
|
|
namespace: {{ .Release.Namespace }}
|
|
|
|
labels:
|
|
|
|
app: {{ template "seaweedfs.name" . }}
|
|
|
|
component: filer
|
|
|
|
spec:
|
|
|
|
clusterIP: None
|
2021-01-14 04:26:50 +08:00
|
|
|
publishNotReadyAddresses: true
|
2020-03-03 15:56:39 +08:00
|
|
|
ports:
|
|
|
|
- name: "swfs-filer"
|
|
|
|
port: {{ .Values.filer.port }}
|
|
|
|
targetPort: {{ .Values.filer.port }}
|
|
|
|
protocol: TCP
|
|
|
|
- name: "swfs-filer-grpc"
|
|
|
|
port: {{ .Values.filer.grpcPort }}
|
|
|
|
targetPort: {{ .Values.filer.grpcPort }}
|
|
|
|
protocol: TCP
|
|
|
|
selector:
|
|
|
|
app: {{ template "seaweedfs.name" . }}
|
2021-01-14 04:26:50 +08:00
|
|
|
component: filer
|