Skip to content

Commit

Permalink
[Chart] update probe
Browse files Browse the repository at this point in the history
**Phenomenon and reproduction steps**

update probe
deepflowio/deepflow#544

**Root cause and solution**

**Impactions**

(Visible changes after this fix)

**Test method**

**Affected branch(es)**

* main

**Checklist**

- [ ] Dependencies update required
- [ ] Common bug (similar problem in other repo)
  • Loading branch information
宋 建昌 committed Aug 9, 2022
1 parent ca3d0d3 commit 5677098
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 13 deletions.
2 changes: 1 addition & 1 deletion charts/deepflow-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: An automated observability platform for cloud-native developers.
name: deepflow-agent
engine: gotpl
type: application
version: 0.1.006
version: 0.1.007
appVersion: "6.1.1"
kubeVersion: ">=1.16.0-0"
sources:
Expand Down
2 changes: 1 addition & 1 deletion charts/deepflow/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: An automated observability platform for cloud-native developers.
name: deepflow
engine: gotpl
type: application
version: 0.1.006
version: 0.1.007
appVersion: "6.1.1"
kubeVersion: ">=1.16.0-0"
sources:
Expand Down
25 changes: 16 additions & 9 deletions charts/deepflow/templates/app-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,23 @@ spec:
imagePullPolicy: "{{ tpl .Values.image.app.pullPolicy . }}"
ports:
- name: app
containerPort: 20404
containerPort: 20418
protocol: TCP
# livenessProbe:
# httpGet:
# path: /
# port: http
# readinessProbe:
# httpGet:
# path: /
# port: http
readinessProbe:
tcpSocket:
port: app
failureThreshold: 3
initialDelaySeconds: 15
periodSeconds: 10
successThreshold: 1
livenessProbe:
failureThreshold: 3
initialDelaySeconds: 15
periodSeconds: 20
successThreshold: 1
tcpSocket:
port: app
timeoutSeconds: 1
resources:
{{- toYaml .Values.app.resources | nindent 12 }}
volumeMounts:
Expand Down
6 changes: 4 additions & 2 deletions charts/deepflow/templates/server-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ spec:
name: querier
protocol: TCP
readinessProbe:
tcpSocket:
httpGet:
path: /v1/health/
port: server
failureThreshold: 12
initialDelaySeconds: 15
Expand All @@ -66,7 +67,8 @@ spec:
initialDelaySeconds: 15
periodSeconds: 20
successThreshold: 1
tcpSocket:
httpGet:
path: /v1/health/
port: server
timeoutSeconds: 1
resources:
Expand Down

0 comments on commit 5677098

Please sign in to comment.