Skip to content

Commit

Permalink
Merge pull request TencentBlueKing#10896 from stubenhuang/issue-pod-w…
Browse files Browse the repository at this point in the history
…armup-10887

feat: 新启动的POD需要热身 TencentBlueKing#10887
  • Loading branch information
bkci-bot authored Sep 9, 2024
2 parents dc314c8 + 3c6bd23 commit 77488ed
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion helm-charts/core/ci/templates/artifactory/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ spec:
command:
- /bin/bash
- -c
- sleep 10 && ps -ef|grep java|grep -v grep|awk '{print $2}'|xargs kill -15
- sleep 20 && ps -ef|grep java|grep -v grep|awk '{print $2}'|xargs kill -15
volumes:
- name: storage
{{- if and .Values.persistence.enabled (eq .Values.config.bkCiArtifactoryRealm "local") }}
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/core/ci/templates/auth/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ spec:
command:
- /bin/bash
- -c
- sleep 10 && ps -ef|grep java|grep -v grep|awk '{print $2}'|xargs kill -15
- sleep 20 && ps -ef|grep java|grep -v grep|awk '{print $2}'|xargs kill -15
volumes:
- hostPath:
path: /data
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/core/ci/templates/dispatch/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ spec:
command:
- /bin/bash
- -c
- sleep 10 && ps -ef|grep java|grep -v grep|awk '{print $2}'|xargs kill -15
- sleep 20 && ps -ef|grep java|grep -v grep|awk '{print $2}'|xargs kill -15
volumes:
- hostPath:
path: /data
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/core/ci/templates/environment/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ spec:
command:
- /bin/bash
- -c
- sleep 10 && ps -ef|grep java|grep -v grep|awk '{print $2}'|xargs kill -15
- sleep 20 && ps -ef|grep java|grep -v grep|awk '{print $2}'|xargs kill -15
volumes:
- hostPath:
path: /data
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/core/ci/templates/log/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ spec:
command:
- /bin/bash
- -c
- sleep 10 && ps -ef|grep java|grep -v grep|awk '{print $2}'|xargs kill -15
- sleep 20 && ps -ef|grep java|grep -v grep|awk '{print $2}'|xargs kill -15
volumes:
- hostPath:
path: /data
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/core/ci/templates/metrics/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ spec:
command:
- /bin/bash
- -c
- sleep 10 && ps -ef|grep java|grep -v grep|awk '{print $2}'|xargs kill -15
- sleep 20 && ps -ef|grep java|grep -v grep|awk '{print $2}'|xargs kill -15
volumes:
- hostPath:
path: /data
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/core/ci/templates/misc/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ spec:
command:
- /bin/bash
- -c
- sleep 10 && ps -ef|grep java|grep -v grep|awk '{print $2}'|xargs kill -15
- sleep 20 && ps -ef|grep java|grep -v grep|awk '{print $2}'|xargs kill -15
volumes:
- hostPath:
path: /data
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/core/ci/templates/notify/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ spec:
command:
- /bin/bash
- -c
- sleep 10 && ps -ef|grep java|grep -v grep|awk '{print $2}'|xargs kill -15
- sleep 20 && ps -ef|grep java|grep -v grep|awk '{print $2}'|xargs kill -15
volumes:
- hostPath:
path: /data
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/core/ci/templates/openapi/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ spec:
command:
- /bin/bash
- -c
- sleep 10 && ps -ef|grep java|grep -v grep|awk '{print $2}'|xargs kill -15
- sleep 20 && ps -ef|grep java|grep -v grep|awk '{print $2}'|xargs kill -15
volumes:
- hostPath:
path: /data
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/core/ci/templates/process/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ spec:
command:
- /bin/bash
- -c
- sleep 10 && ps -ef|grep java|grep -v grep|awk '{print $2}'|xargs kill -15
- sleep 20 && ps -ef|grep java|grep -v grep|awk '{print $2}'|xargs kill -15
volumes:
- hostPath:
path: /data
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/core/ci/templates/project/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ spec:
command:
- /bin/bash
- -c
- sleep 10 && ps -ef|grep java|grep -v grep|awk '{print $2}'|xargs kill -15
- sleep 20 && ps -ef|grep java|grep -v grep|awk '{print $2}'|xargs kill -15
volumes:
- hostPath:
path: /data
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/core/ci/templates/quality/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ spec:
command:
- /bin/bash
- -c
- sleep 10 && ps -ef|grep java|grep -v grep|awk '{print $2}'|xargs kill -15
- sleep 20 && ps -ef|grep java|grep -v grep|awk '{print $2}'|xargs kill -15
volumes:
- hostPath:
path: /data
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/core/ci/templates/repository/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ spec:
command:
- /bin/bash
- -c
- sleep 10 && ps -ef|grep java|grep -v grep|awk '{print $2}'|xargs kill -15
- sleep 20 && ps -ef|grep java|grep -v grep|awk '{print $2}'|xargs kill -15
volumes:
- hostPath:
path: /data
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/core/ci/templates/store/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ spec:
command:
- /bin/bash
- -c
- sleep 10 && ps -ef|grep java|grep -v grep|awk '{print $2}'|xargs kill -15
- sleep 20 && ps -ef|grep java|grep -v grep|awk '{print $2}'|xargs kill -15
volumes:
- hostPath:
path: /data
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/core/ci/templates/stream/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ spec:
command:
- /bin/bash
- -c
- sleep 10 && ps -ef|grep java|grep -v grep|awk '{print $2}'|xargs kill -15
- sleep 20 && ps -ef|grep java|grep -v grep|awk '{print $2}'|xargs kill -15
volumes:
- hostPath:
path: /data
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/core/ci/templates/ticket/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ spec:
command:
- /bin/bash
- -c
- sleep 10 && ps -ef|grep java|grep -v grep|awk '{print $2}'|xargs kill -15
- sleep 20 && ps -ef|grep java|grep -v grep|awk '{print $2}'|xargs kill -15
volumes:
- hostPath:
path: /data
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/core/ci/templates/websocket/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ spec:
command:
- /bin/bash
- -c
- sleep 10 && ps -ef|grep java|grep -v grep|awk '{print $2}'|xargs kill -15
- sleep 20 && ps -ef|grep java|grep -v grep|awk '{print $2}'|xargs kill -15
volumes:
- hostPath:
path: /data
Expand Down

0 comments on commit 77488ed

Please sign in to comment.