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

Improve preflights message related with RAM memory and CPUs #620

Merged
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
12 changes: 3 additions & 9 deletions chart/templates/_commonChecks.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -366,22 +366,16 @@ NOTE: Remember that with the ingress testing mode the components are not deploye
checkName: The cluster should contain at least 6 cores
outcomes:
- fail:
when: "sum(cpuCapacity) < 5"
message: The cluster must contain at least 5 cores. ➡️ Ignore if you have auto-scale enabled in your cluster.
- warn:
when: "sum(cpuCapacity) < 6"
message: The cluster should contain at least 6 cores. ➡️ Ignore if you have auto-scale enabled in your cluster.
message: The cluster must contain at least 6 cores. ➡️ Ignore if you have auto-scale enabled in your cluster.
- pass:
message: There are at least 6 cores in the cluster.
- nodeResources:
checkName: The cluster should contain at least 16 Gi
checkName: The cluster should contain at least 16 Gi of RAM memory
outcomes:
- fail:
when: "sum(memoryAllocatable) < 16Gi"
message: The cluster must contain at least 16Gi. ➡️ Ignore if you have auto-scale enabled in your cluster.
- warn:
when: "sum(memoryAllocatable) < 17Gi"
message: The cluster should contain at least 17Gi. ➡️ Ignore if you have auto-scale enabled in your cluster.
message: The cluster must contain at least 16Gi of RAM memory. ➡️ Ignore if you have auto-scale enabled in your cluster.
- pass:
message: There are at least 16 Gi in the cluster.
{{- end }}
Expand Down
Loading