-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
Add comment clarifying network allocation and sizes #6607
Add comment clarifying network allocation and sizes #6607
Conversation
Hi @mikejoh. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
I'm really confused by the docs.
for pod allocation! It's used for the controller-manager to allocate per-node CIDRs from the cluster CIDR for pod networking (when
max pods per node depends on the Pod subnet size and |
Thansk for the feedback! You're right, it's confusing when reading it again and given that Not sure how to rewrite this at the moment, i mean tuning the Also you mentioned the |
I think it would be more precise to say "up to x or kubelet_max_pods, whatever the smaller is" or something more constructed. |
Right, so maybe something like this:
|
way better, thanks a lot! |
…ng network allocation and sizes Signed-off-by: Mikael Johansson <[email protected]>
Signed-off-by: Mikael Johansson <[email protected]>
Note that i've also changed the comment in the |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mikejoh, woopstar The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* 'master' of https://github.com/kubernetes-sigs/kubespray: (32 commits) Update api version, deprecated in 1.19 (kubernetes-sigs#6656) Update etcd to 3.4.13 (kubernetes-sigs#6658) Update dockerfile for v1.19.1 (kubernetes-sigs#6668) yamllint: ignore .git dir (kubernetes-sigs#6667) fix kubelet_flexvolumes_plugins_dir undefined (kubernetes-sigs#6645) Remove deprecated (and removed in 1.19) flag and function --basic-auth-file (kubernetes-sigs#6655) Update CoreDNS to 1.7.0 (kubernetes-sigs#6657) Update various dependencies following 1.19 release (kubernetes-sigs#6660) Add Kubernetes 1.19.1 hashes and set default (kubernetes-sigs#6654) crio: use system default for storage driver by default (kubernetes-sigs#6637) Add iptables_backend to weave options (kubernetes-sigs#6639) Add comment clarifying network allocation and sizes (kubernetes-sigs#6607) Allowing resource management of metrics-server container. Will allow fine-tuning of resource allocation and solving throttling issues. Setting defaults as per the current request & limit allocation: cpu: 43m, memory 55Mi for both limits & requests. (kubernetes-sigs#6652) Fix a bunch of failed quality rules (kubernetes-sigs#6646) Update calico to 3.16.1 (kubernetes-sigs#6644) NetworkManager lists must be separated by , (kubernetes-sigs#6643) Set ansible_python_interpreter to python3 on debian (fix error with mitogen) (kubernetes-sigs#6633) Use v2.14.0 as base image for CI (kubernetes-sigs#6636) Cleanup v1.16 hashes (kubernetes-sigs#6635) Update kube_version_min_required for 2.14 release (kubernetes-sigs#6634) ...
…6607) * Add comment from roles/kubespray-defaults/defaults/main.yaml clarifying network allocation and sizes Signed-off-by: Mikael Johansson <[email protected]> * Rewrite of the comment and added new examples Signed-off-by: Mikael Johansson <[email protected]>
What type of PR is this?
What this PR does / why we need it:
In the
inventory/sample/groups_vars/k8s-cluster/k8s-cluster.yml
there's a typo that may lead to confusion regarding thekube_network_node_prefix
and how it relates to thekube_pods_subnet
. This was fixed as seen here:kubespray/roles/kubespray-defaults/defaults/main.yaml
Lines 100 to 110 in 240d419
This PR adds the comment from
defaults/main.yml
to the samplek8s-cluster.yml
file.Which issue(s) this PR fixes:
N/A
Special notes for your reviewer:
Does this PR introduce a user-facing change?: