Skip to content

Conversation

@jpopelka
Copy link
Contributor

@jpopelka jpopelka commented Jun 9, 2022

The previous description was not completely correct, because when the container is run in Kubernetes/Openshift, the default values are calculated based on memory limit.

…E_CACHE_SIZE default values

The previous description was not completely correct, because when the container
is run in Kubernetes/Openshift, the default values are calculated:
https://github.com/sclorg/postgresql-container/blob/master/src/root/usr/share/container-scripts/postgresql/common.sh#L12
based on memory limit:
https://github.com/sclorg/container-common-scripts/blob/master/shared-scripts/core/usr/bin/cgroup-limits
Copy link
Member

@phracek phracek left a comment

Choose a reason for hiding this comment

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

Thanks for the updated postgresql documentation.

[test-all]

@phracek
Copy link
Member

phracek commented Jul 14, 2022

[test-all]

@phracek
Copy link
Member

phracek commented Jul 18, 2022

OpenShift 4 failure is not caused by this PR. Let's fix it by the other PR.

@phracek phracek merged commit 1dd8647 into sclorg:master Jul 18, 2022
@jpopelka jpopelka deleted the default-shared_buffers-and-effective_cache_size branch July 18, 2022 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants