-
Notifications
You must be signed in to change notification settings - Fork 45
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
salt: add allocated resources for OS and kubelet #4134
salt: add allocated resources for OS and kubelet #4134
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
cbf1852
to
bd627d7
Compare
This comment was marked as outdated.
This comment was marked as outdated.
bd627d7
to
43b08b8
Compare
This comment was marked as outdated.
This comment was marked as outdated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you may also add a changelog entry about it
This comment was marked as outdated.
This comment was marked as outdated.
43b08b8
to
662e89a
Compare
This comment was marked as outdated.
This comment was marked as outdated.
4249609
to
9a88f78
Compare
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list: The following reviewers are expecting changes from the author, or must review again: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM good job 👍
result: | ||
cpu: 1350m | ||
memory: 27894Mi | ||
# 10 - 3 cores and 14.2 GB of RAM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice 😄
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list: |
/approve |
9a88f78
to
698e79e
Compare
Build failedThe build for commit did not succeed in branch improvement/minimum-memory-cpu-for-os-kubelet. The following options are set: approve |
In the queueThe changeset has received all authorizations and has been added to the The changeset will be merged in:
The following branches will NOT be impacted:
There is no action required on your side. You will be notified here once IMPORTANT Please do not attempt to modify this pull request.
If you need this pull request to be removed from the queue, please contact a The following options are set: approve |
I have successfully merged the changeset of this pull request
The following branches have NOT changed:
Please check the status of the associated issue None. Goodbye ezekiel-alexrod. |
Component:
salt
Context:
To avoid exhausting memory and CPU resources on the server, we want to set a minimum amount of memory and CPU for the operating system and kubelet.
We will follow this document Allocatable resources and especially Google recommandation as they are the state of art of kubernetes.
We will add some “memory and CPU” because we are using salt and mdadm and they are vital for the cluster.
Summary:
I allow myself to add this link as it is the
Official documentation of Google
Added
kubeReserved
andsystemReserved
toKubeletConfiguration
following the Google's recommandations.