Skip to content

Commit

Permalink
update mysql deployment
Browse files Browse the repository at this point in the history
**Phenomenon and reproduction steps**

update mysql deployment

**Root cause and solution**

**Impactions**

**Test method**

**Affected branch(es)**

* main

**Checklist**

- [ ] Dependencies update required
- [ ] Common bug (similar problem in other repo)
  • Loading branch information
宋 建昌 committed Aug 18, 2022
1 parent f6c05bf commit 9eb5856
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 11 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.015
version: 0.1.016
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.015
version: 0.1.016
appVersion: "6.1.1"
kubeVersion: ">=1.16.0-0"
sources:
Expand Down
12 changes: 3 additions & 9 deletions charts/deepflow/charts/mysql/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,10 @@ spec:
- name: tcp
containerPort: 30130
protocol: TCP
readinessProbe:
tcpSocket:
port: tcp
initialDelaySeconds: 5
periodSeconds: 10
livenessProbe:
tcpSocket:
port: tcp
initialDelaySeconds: 15
periodSeconds: 20
{{ toYaml .Values.server.livenessProbe | nindent 12 }}
readinessProbe:
{{ toYaml .Values.server.readinessProbe | nindent 12 }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
env:
Expand Down
17 changes: 17 additions & 0 deletions charts/deepflow/charts/mysql/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,23 @@ podAnnotations: {}

podSecurityContext: {}
# fsGroup: 2000
readinessProbe:
httpGet:
path: /v1/health/
port: server
failureThreshold: 6
initialDelaySeconds: 15
periodSeconds: 10
successThreshold: 1
livenessProbe:
failureThreshold: 3
initialDelaySeconds: 15
periodSeconds: 20
successThreshold: 1
httpGet:
path: /v1/health/
port: server
timeoutSeconds: 1

securityContext: {}
storageConfig:
Expand Down

0 comments on commit 9eb5856

Please sign in to comment.