Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions charts/hdx-oss-v2/templates/hyperdx-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ metadata:
{{- end -}}
{{- end }}
spec:
replicas: {{ .Values.hyperdx.replicas | default 1 }}
replicas: 1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We probably want to keep the replica setting for flexibility.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, that was an accidental regression.

selector:
matchLabels:
{{- include "hdx-oss.selectorLabels" . | nindent 6 }}
Expand All @@ -34,10 +34,13 @@ spec:
command: ['sh', '-c', 'until nc -z {{ include "hdx-oss.fullname" . }}-mongodb {{ .Values.mongodb.port }}; do echo waiting for mongodb; sleep 2; done;']
containers:
- name: app
image: "{{ .Values.hyperdx.image }}"
image: "{{ .Values.images.hdx.repository }}:{{ .Values.images.hdx.tag }}"
securityContext:
capabilities:
add: ["NET_ADMIN", "NET_BIND_SERVICE"]
ports:
- name: app-port
containerPort: {{ .Values.hyperdx.appPort }}
containerPort: {{ .Values.hyperdx.app.port }}
- name: api-port
containerPort: {{ .Values.hyperdx.apiPort }}
envFrom:
Expand All @@ -51,4 +54,4 @@ spec:
key: api-key
{{- with .Values.hyperdx.env }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- end }}
6 changes: 4 additions & 2 deletions charts/hdx-oss-v2/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ hyperdx:
image: "hyperdx/hyperdx:2-beta"
apiKey: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
apiPort: 8000
appPort: 3000
appUrl: "http://localhost"
app:
port: 3000
url: "http://localhost"
appendPort: false # Set to true if you want to append the port to the URL in generated links
logLevel: "info"
usageStatsEnabled: true
annotations: {}
Expand Down