Skip to content

Commit

Permalink
Merge pull request #2076 from ks-ci-bot/cherry-pick-2075-to-release-3.3
Browse files Browse the repository at this point in the history
[release-3.3] Improve the Jenkins readiness setting
  • Loading branch information
pixiake authored Aug 15, 2022
2 parents 0329a20 + 7f2d6d7 commit 968b971
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions deploy/cluster-configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ spec:
devops: # (CPU: 0.47 Core, Memory: 8.6 G) Provide an out-of-the-box CI/CD system based on Jenkins, and automated workflow tools including Source-to-Image & Binary-to-Image.
enabled: false # Enable or disable the KubeSphere DevOps System.
# resources: {}
jenkinsMemoryLim: 4Gi # Jenkins memory limit.
jenkinsMemoryReq: 1500Mi # Jenkins memory request.
jenkinsMemoryLim: 8Gi # Jenkins memory limit.
jenkinsMemoryReq: 4Gi # Jenkins memory request.
jenkinsVolumeSize: 8Gi # Jenkins volume size.
events: # Provide a graphical web console for Kubernetes Events exporting, filtering and alerting in multi-tenant Kubernetes clusters.
enabled: false # Enable or disable the KubeSphere Events System.
Expand Down
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion roles/ks-devops/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
# Delete Job migrate because 'helm upgrade' will try to update immutable fields of Job, which is not allowed.
{{ bin_dir }}/kubectl delete job -n kubesphere-devops-system migrate --ignore-not-found
ks_devops_chart_version=0.1.10
ks_devops_chart_version=0.1.13
charts_folder={{ kubesphere_dir }}/ks-devops/charts
ks_devops_chart=$charts_folder/ks-devops-$ks_devops_chart_version.tgz
Expand Down
4 changes: 2 additions & 2 deletions roles/ks-devops/templates/ks-devops-values.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ jenkins:
ImagePullPolicy: {{ ks_image_pull_policy }}
resources:
requests:
cpu: "0.1"
cpu: "2"
memory: "{{ devops.jenkinsMemoryReq }}"
limits:
cpu: "2"
cpu: "4"
memory: "{{ devops.jenkinsMemoryLim }}"
JavaOpts: "{{ JavaOpts }}"
Agent:
Expand Down

0 comments on commit 968b971

Please sign in to comment.