SEAWEEDFS-K8S: helm chart

seaweedfs on k8s deployment through helm chart & stateful sets
This commit is contained in:
LazyDBA247-Anyvision
2020-03-03 09:56:39 +02:00
parent 9b7dae8037
commit b058867852
24 changed files with 2977 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
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