split (#657)
This commit is contained in:
parent
9f20aabb48
commit
1d6939bdf4
@ -79,7 +79,7 @@ spec:
|
||||
- '-c'
|
||||
- "until {{ range until (.Values.masterReplicas |int) }}nslookup shuffleservice-master-{{ . }}.rss-master-svc && {{ end }}true; do echo waiting for master; sleep 2; done && /opt/rss-{{ .Values.rssVersion }}-bin-release/sbin/start-master.sh"
|
||||
resources:
|
||||
{{- toYaml .Values.resources | nindent 12 }}
|
||||
{{- toYaml .Values.resources.master | nindent 12 }}
|
||||
ports:
|
||||
- containerPort: {{ .Values.service.port }}
|
||||
- containerPort: {{ get .Values.rss "rss.master.prometheus.metric.port" | default 9098 }}
|
||||
|
||||
@ -79,7 +79,7 @@ spec:
|
||||
- '-c'
|
||||
- "until {{ range until (.Values.masterReplicas |int) }}nslookup shuffleservice-master-{{ . }}.rss-master-svc && {{ end }}true; do echo waiting for master; sleep 2; done && /opt/rss-{{ .Values.rssVersion }}-bin-release/sbin/start-worker.sh"
|
||||
resources:
|
||||
{{- toYaml .Values.resources | nindent 12 }}
|
||||
{{- toYaml .Values.resources.worker | nindent 12 }}
|
||||
ports:
|
||||
- containerPort: {{ get .Values.rss "rss.worker.prometheus.metric.port" | default 9096 }}
|
||||
name: metrics
|
||||
|
||||
@ -83,12 +83,20 @@ resources: {}
|
||||
# choice for the user. This also increases chances charts run on environments with little
|
||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
||||
# limits:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
# requests:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
#master:
|
||||
# limits:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
# requests:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
#worker:
|
||||
# limits:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
# requests:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
|
||||
podAnnotations: {}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user