Skip to content

Commit

Permalink
fix(daemonset): Remove Pod IP from the http address
Browse files Browse the repository at this point in the history
Signed-off-by: adinhodovic <[email protected]>
  • Loading branch information
adinhodovic committed Oct 20, 2023
1 parent 214fe04 commit e6ca013
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions charts/parca/templates/agent-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ spec:
- /bin/parca-agent
- --log-level={{ .Values.agent.logLevel }}
- --node=$(NODE_NAME)
- --http-address=$(MY_POD_IP):7071
- --http-address=:7071
- --config-path=/var/parca/parca-agent.yaml
{{- if .Values.agent.remoteStoreAddress }}
- --remote-store-address={{ .Values.agent.remoteStoreAddress }}
Expand Down Expand Up @@ -74,10 +74,6 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: MY_POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
{{- with .Values.agent.extraEnv }}
{{- toYaml . | nindent 12 }}
{{- end }}
Expand Down

0 comments on commit e6ca013

Please sign in to comment.