Skip to content

Commit

Permalink
Merge branch 'main' of github.com:eniac-x-labs/hailstone
Browse files Browse the repository at this point in the history
  • Loading branch information
guoshijiang committed Mar 15, 2024
2 parents 8b16420 + ce436e3 commit 5e0e356
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
21 changes: 21 additions & 0 deletions charts/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,27 @@ spec:
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
- name: {{ .Release.Name }}-rpc
command:
- python
- manage.py
- airdrop_server
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
livenessProbe:
tcpSocket:
port: 50251
initialDelaySeconds: 30
periodSeconds: 10
readinessProbe:
tcpSocket:
port: 50251
initialDelaySeconds: 30
periodSeconds: 10
resources:
{{- toYaml .Values.resources | nindent 12 }}
initContainers:
- name: {{ .Release.Name }}-migrate
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
Expand Down
2 changes: 2 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ service:
ports:
- name: http
portNumber: 8000
- name: rpc
portNumber: 50251
# - name: metrics
# portNumber: 8081
ingress:
Expand Down

0 comments on commit 5e0e356

Please sign in to comment.