mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-12-19 13:37:49 +08:00
22 lines
564 B
YAML
22 lines
564 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: {{ template "seaweedfs.name" . }}-volume
|
||
|
namespace: {{ .Release.Namespace }}
|
||
|
labels:
|
||
|
app: {{ template "seaweedfs.name" . }}
|
||
|
component: volume
|
||
|
spec:
|
||
|
clusterIP: None
|
||
|
ports:
|
||
|
- name: "swfs-volume"
|
||
|
port: {{ .Values.volume.port }}
|
||
|
targetPort: {{ .Values.volume.port }}
|
||
|
protocol: TCP
|
||
|
- name: "swfs-volume-18080"
|
||
|
port: {{ .Values.volume.grpcPort }}
|
||
|
targetPort: {{ .Values.volume.grpcPort }}
|
||
|
protocol: TCP
|
||
|
selector:
|
||
|
app: {{ template "seaweedfs.name" . }}
|
||
|
component: volume
|