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

set max pods when using aws vpc cni #5510

Closed
wants to merge 1 commit into from

Conversation

sethpollack
Copy link
Contributor

No description provided.

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: sethpollack
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: mikesplain

If they are not already assigned, you can assign the PR to them by writing /assign @mikesplain in a comment when ready.

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Jul 24, 2018
@sethpollack
Copy link
Contributor Author

/assign @justinsb

@sethpollack
Copy link
Contributor Author

@xrl
Copy link

xrl commented Aug 27, 2018

Hey, this is great. I was just looking to increase the number of pods on my hosts. I'm running m5.4xlarges so I guess I can set it to 234 pods now and this work will eventually make that hard-coding obsolete.

@dannyvargas23
Copy link

I could really use this. It would be nice to see the number of pods that can be launched when using the AWS CNI on the dashboard like EKS automatically.

@k8s-ci-robot
Copy link
Contributor

@sethpollack: PR needs rebase.

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.

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 4, 2018
@justinsb
Copy link
Member

Uhoh - sorry - this is going to conflict with the automatic generation that is about to merge in #5553.

Can we compute the field automatically? Probably by embedding the table into go code, and then emitting it in the generator.

maxPods := int32(instanceType.MaxPods)
c.MaxPods = &maxPods
if b.InstanceGroup.Spec.Kubelet != nil {
if b.InstanceGroup.Spec.Kubelet.MaxPods == nil {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm also wondering if we should only set MaxPods lower, so the default is around 100 I believe. The problem is that e.g. polling all the containers is pretty slow.

OTOH I'm also open to just setting it everywhere, because it's the bigger instances anyway that allow more than 100 VPC addresses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. waiting-for-input
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants