Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: 容器化-Job、InitContainer等资源增加resources限制参数 #1551 #1580

Merged
merged 1 commit into from
Dec 2, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions support-files/kubernetes/charts/bk-job/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ gatewayConfig:
hostAliases: []
resources:
limits:
cpu: 1024m
cpu: 900m
memory: 1Gi
requests:
cpu: 125m
Expand Down Expand Up @@ -753,7 +753,7 @@ manageConfig:
hostAliases: []
resources:
limits:
cpu: 1024m
cpu: 900m
memory: 1Gi
requests:
cpu: 125m
Expand Down Expand Up @@ -812,7 +812,7 @@ executeConfig:
hostAliases: []
resources:
limits:
cpu: 2048m
cpu: 900m
memory: 2Gi
requests:
cpu: 250m
Expand Down Expand Up @@ -864,7 +864,7 @@ crontabConfig:
hostAliases: []
resources:
limits:
cpu: 1024m
cpu: 900m
memory: 1Gi
requests:
cpu: 125m
Expand Down Expand Up @@ -925,7 +925,7 @@ logsvrConfig:
hostAliases: []
resources:
limits:
cpu: 1024m
cpu: 900m
memory: 1Gi
requests:
cpu: 125m
Expand Down Expand Up @@ -981,7 +981,7 @@ backupConfig:
hostAliases: []
resources:
limits:
cpu: 1024m
cpu: 900m
memory: 1Gi
requests:
cpu: 125m
Expand Down Expand Up @@ -1032,7 +1032,7 @@ analysisConfig:
hostAliases: []
resources:
limits:
cpu: 1024m
cpu: 900m
memory: 1Gi
requests:
cpu: 125m
Expand Down Expand Up @@ -1140,7 +1140,7 @@ fileWorkerConfig:
hostAliases: []
resources:
limits:
cpu: 1024m
cpu: 900m
memory: 1Gi
requests:
cpu: 125m
Expand Down Expand Up @@ -1216,7 +1216,7 @@ frontendConfig:
hostAliases: []
resources:
limits:
cpu: 1024m
cpu: 900m
memory: 1Gi
requests:
cpu: 125m
Expand Down Expand Up @@ -1277,7 +1277,7 @@ migration:
# 迁移任务资源限制
resources:
limits:
cpu: 1024m
cpu: 500m
memory: 1Gi

## migration的init任务配置
Expand All @@ -1293,7 +1293,7 @@ migrationInit:
pullPolicy: IfNotPresent
resources:
limits:
cpu: 1024m
cpu: 500m
memory: 1Gi

## 其他服务Pod等待migration完成的init任务配置
Expand All @@ -1309,5 +1309,5 @@ waitForMigration:
pullPolicy: IfNotPresent
resources:
limits:
cpu: 1024m
cpu: 500m
memory: 1Gi