Skip to content

Commit

Permalink
fix: reverts network node liveness probe hitting prometheus metrics e…
Browse files Browse the repository at this point in the history
…ndpoint (#967)
  • Loading branch information
jeromy-cannon authored Sep 5, 2024
1 parent 9fdf07b commit a952578
Showing 1 changed file with 1 addition and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,25 +156,12 @@ spec:
task() {
mkdir -p /opt/hgcapp/recordStreams/record{{ $node.accountId }}/sidecar
chmod 777 /opt/hgcapp/recordStreams/record{{ $node.accountId }}/sidecar
curl network-{{ $node.name }}-0.network-{{ $node.name }}.{{ default $.Release.Namespace $.Values.global.namespaceOverride }}.svc.cluster.local:13133
curl network-{{ $node.name }}-0.network-{{ $node.name }}.{{ default $.Release.Namespace $.Values.global.namespaceOverride }}.svc.cluster.local:13133
}
task
failureThreshold: 30
periodSeconds: 10
timeoutSeconds: 5
livenessProbe:
httpGet:
path: /metrics
port: 9090
scheme: HTTP
httpHeaders:
- name: Accept
value: application/json
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
successThreshold: 1
image: {{ include "fullstack.container.image" (dict "image" $rootImage "Chart" $.Chart "defaults" $.Values.defaults) }}
imagePullPolicy: {{ include "fullstack.images.pullPolicy" (dict "image" $rootImage "defaults" $.Values.defaults) }}
securityContext: # need to run as root with privileged mode
Expand Down

0 comments on commit a952578

Please sign in to comment.