mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-21 01:37:56 +08:00
shell.toml
enable running shell from each pod with default filer & master config
This commit is contained in:
@@ -87,6 +87,12 @@ spec:
|
|||||||
value: {{ $value | quote }}
|
value: {{ $value | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.global.extraEnvironmentVars }}
|
||||||
|
{{- range $key, $value := .Values.global.extraEnvironmentVars }}
|
||||||
|
- name: {{ $key }}
|
||||||
|
value: {{ $value | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
command:
|
command:
|
||||||
- "/bin/sh"
|
- "/bin/sh"
|
||||||
- "-ec"
|
- "-ec"
|
||||||
|
@@ -76,6 +76,12 @@ spec:
|
|||||||
value: {{ $value | quote }}
|
value: {{ $value | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.global.extraEnvironmentVars }}
|
||||||
|
{{- range $key, $value := .Values.global.extraEnvironmentVars }}
|
||||||
|
- name: {{ $key }}
|
||||||
|
value: {{ $value | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
command:
|
command:
|
||||||
- "/bin/sh"
|
- "/bin/sh"
|
||||||
- "-ec"
|
- "-ec"
|
||||||
|
@@ -59,6 +59,12 @@ spec:
|
|||||||
fieldPath: metadata.namespace
|
fieldPath: metadata.namespace
|
||||||
- name: SEAWEEDFS_FULLNAME
|
- name: SEAWEEDFS_FULLNAME
|
||||||
value: "{{ template "seaweedfs.name" . }}"
|
value: "{{ template "seaweedfs.name" . }}"
|
||||||
|
{{- if .Values.global.extraEnvironmentVars }}
|
||||||
|
{{- range $key, $value := .Values.global.extraEnvironmentVars }}
|
||||||
|
- name: {{ $key }}
|
||||||
|
value: {{ $value | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
command:
|
command:
|
||||||
- "/bin/sh"
|
- "/bin/sh"
|
||||||
- "-ec"
|
- "-ec"
|
||||||
|
@@ -64,6 +64,12 @@ spec:
|
|||||||
fieldPath: status.hostIP
|
fieldPath: status.hostIP
|
||||||
- name: SEAWEEDFS_FULLNAME
|
- name: SEAWEEDFS_FULLNAME
|
||||||
value: "{{ template "seaweedfs.name" . }}"
|
value: "{{ template "seaweedfs.name" . }}"
|
||||||
|
{{- if .Values.global.extraEnvironmentVars }}
|
||||||
|
{{- range $key, $value := .Values.global.extraEnvironmentVars }}
|
||||||
|
- name: {{ $key }}
|
||||||
|
value: {{ $value | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
command:
|
command:
|
||||||
- "/bin/sh"
|
- "/bin/sh"
|
||||||
- "-ec"
|
- "-ec"
|
||||||
|
@@ -21,6 +21,10 @@ global:
|
|||||||
# Y number of replica in other racks in the same data center
|
# Y number of replica in other racks in the same data center
|
||||||
# Z number of replica in other servers in the same rack
|
# Z number of replica in other servers in the same rack
|
||||||
replicationPlacment: "001"
|
replicationPlacment: "001"
|
||||||
|
extraEnvironmentVars:
|
||||||
|
WEED_CLUSTER_DEFAULT: "sw"
|
||||||
|
WEED_CLUSTER_SW_MASTER: "seaweedfs-master:9333"
|
||||||
|
WEED_CLUSTER_SW_FILER: "seaweedfs-filer-client:8888"
|
||||||
|
|
||||||
image:
|
image:
|
||||||
registry: ""
|
registry: ""
|
||||||
|
Reference in New Issue
Block a user