Skip to content

Conversation

@andreas-kupries
Copy link
Contributor

@andreas-kupries andreas-kupries commented May 11, 2020

New property set_ulimit_fds to disable ulimiting.
Defaults to true, activating the ulimit for standard behaviour.

The change allows SUSE to disable the application of the limit in their containerization (where it interferes) without having to patch system sources. After the change this can be done properly via ops files changing the relevant properties.

Origin ticket: cloudfoundry-incubator/kubecf#504
Origin ticket: cloudfoundry-incubator/kubecf#505
See also cloudfoundry/diego-release#512

  • I have viewed signed and have submitted the Contributor License Agreement

  • I have made this pull request to the develop branch

  • I have run CF Acceptance Tests on bosh lite

New property `set_ulimit_fds` to disable ulimiting.
Defaults to true, activating the ulimit for standard behaviour.

Origin ticket: cloudfoundry-incubator/kubecf#504
@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/172774519

The labels on this github issue will be updated when the story is started.

Copy link
Contributor

@cwlbraa cwlbraa left a comment

Choose a reason for hiding this comment

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

Can you please describe why and how setting the ulimit from inside the container interferes? Can smaller ulimits not be set by child processes?

@viovanov
Copy link

@andreas-kupries can you please address @cwlbraa 's comments?

@andreas-kupries
Copy link
Contributor Author

@viovanov Yes. Apologies for missing them when they were made.

@andreas-kupries
Copy link
Contributor Author

Sigh. Embarassing.
The relevant files are old-style job control scripts.
They are not used by the cf-operator based kubecf, anymore, at al.
The patch is useless, and bringing this upstream is nonsense.

See cloudfoundry-incubator/kubecf#1040 for the PR which has now removed these patches from kubecf itself.

Closing with apologies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants