Skip to content

Commit

Permalink
Merge pull request #15 from paritytech/substrate-telemetry
Browse files Browse the repository at this point in the history
Substrate telemetry
  • Loading branch information
ArshamTeymouri authored Sep 14, 2021
2 parents 663d2bc + 2b49ba8 commit 0b6c026
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 10 deletions.
2 changes: 1 addition & 1 deletion charts/substrate-telemetry/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: "2.0.1"
version: "2.0.2"

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion charts/substrate-telemetry/templates/core-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ spec:
path: /health
port: http
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- toYaml .Values.core.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ spec:
path: /
port: http
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- toYaml .Values.frontend.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
2 changes: 1 addition & 1 deletion charts/substrate-telemetry/templates/shard-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ spec:
path: /health
port: http
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- toYaml .Values.shard.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
27 changes: 21 additions & 6 deletions charts/substrate-telemetry/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,27 @@ 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
#frontend:
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
#shard:
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
#core:
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi

autoscaling:
# NOTE: The core service is not scalable at the moment.
Expand Down

0 comments on commit 0b6c026

Please sign in to comment.