[Container-tools] Change pod/cpu limit

Charles Moulliard cmoullia at redhat.com
Fri Feb 2 12:23:17 UTC 2018


Ticket created : https://github.com/minishift/minishift/issues/1971

On Fri, Feb 2, 2018 at 12:51 PM, Lalatendu Mohanty <lmohanty at redhat.com>
wrote:

>
>
> On Fri, Feb 2, 2018 at 4:56 PM, Burr Sutter <bsutter at redhat.com> wrote:
>
>> We should make this a feature request, I have run into this 10 per cpu
>> limit before and it is a pain.
>>
>> minishift config set memory 8GB
>> minishift config set cpus 2
>> minishift config set podspercpu 14
>>
>
> If we increase the pod numbers by default I do not think it will hurt us
> much. But we will figure out how much we can do.
>
>
>>
>>
>>
>>
>> On Fri, Feb 2, 2018 at 2:36 AM, Charles Moulliard <cmoullia at redhat.com>
>> wrote:
>> >
>> > here is the info needed to change pod limit / cpu for minishift
>> >
>> > this limit can be changed in the node configuration, see:
>> https://docs.openshift.com/container-platform/3.7/admin_guid
>> e/manage_nodes.html#admin-guide-max-pods-per-node
>> > Looking at https://github.com/openshift/origin/blob/master/docs/cluster
>> _up_down.md#configuration it seems that the configuration file should be
>> available under /var/lib/origin/openshift.local.config with oc cluster
>> up. You can use --use-existing-config argument when restarting your cluster
>> to avoid regenarating the configuration.
>> >
>> > On Fri, Feb 2, 2018 at 4:09 AM, Praveen Kumar <
>> kumarpraveen.nitdgp at gmail.com> wrote:
>> >>
>> >> On Thu, Feb 1, 2018 at 9:42 PM, Charles Moulliard <cmoullia at redhat.com>
>> wrote:
>> >> > Hi,
>> >>
>> >> Hi,
>> >>
>> >> >
>> >> > I experiment from time to time such problem
>> >> >
>> >> > 0/1 nodes are available: 1 Insufficient pods.
>> >> >
>> >> > As the pod limit is 10pods/cpu on minishift, is it possible to
>> increase the
>> >> > limit without having to create a vm with more cpus ?
>> >>
>> >> I am not sure if that something possible from minishift config, more
>> >> like OpenShift config side. Can you please direct your query to
>> >> OpenShift mailing list and check if there is any config change from
>> >> the node or master side? Once we know what changes required from
>> >> OpenShift config side then can able to provide a workaround for same.
>> >>
>> >> >
>> >> > Regards
>> >> >
>> >> > Charles
>> >> >
>> >> > _______________________________________________
>> >> > Container-tools mailing list
>> >> > Container-tools at redhat.com
>> >> > https://www.redhat.com/mailman/listinfo/container-tools
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Praveen Kumar
>> >> http://fedoraproject.org/wiki/User:Kumarpraveen
>> >> http://fedoraproject.org/
>> >> http://kumar-pravin.blogspot.com
>> >
>> >
>> >
>> > _______________________________________________
>> > Container-tools mailing list
>> > Container-tools at redhat.com
>> > https://www.redhat.com/mailman/listinfo/container-tools
>> >
>>
>> _______________________________________________
>> Container-tools mailing list
>> Container-tools at redhat.com
>> https://www.redhat.com/mailman/listinfo/container-tools
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/container-tools/attachments/20180202/10f8bae2/attachment.htm>


More information about the Container-tools mailing list