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
Disable huge_pages in Postgres config #661
Conversation
0fcb889
to
3c3fe2f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
3ec69ef
to
5d1098a
Compare
42d9cbd
to
2a1e79a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@baum - to handle upgrades you'll need to add the configMap volume and mount in SetDesiredNooBaaDB
|
@dannyzaken 10x, see the new volume, volume mounts merge logic on upgrade path https://github.com/noobaa/noobaa-operator/compare/2a1e79a..2cbbc83 |
Issue: https://bugzilla.redhat.com/show_bug.cgi?id=1946792 Test: Verify in the postgress DB container in two scenarios, (a) clean install and (b) operator upgrade: - existence and content of /opt/app-root/src/postgresql-cfg/noobaa-postgres.conf file: bash-4.2$ pwd /opt/app-root/src bash-4.2$ cat postgresql-cfg/noobaa-postgres.conf # disable huge_pages trial # see https://bugzilla.redhat.com/show_bug.cgi?id=1946792 huge_pages = off - openshift-custom-postgresql.conf includes the noobaa-postgres.conf file bash-4.2$ grep noobaa-postgres /var/lib/pgsql/openshift-custom-postgresql.conf include '/opt/app-root/src/postgresql-cfg/noobaa-postgres.conf' Verify the postgres DB is up and running with huge pages enabled in kernel. Signed-off-by: Alexander Indenbaum <aindenba@redhat.com>
Issue:
https://bugzilla.redhat.com/show_bug.cgi?id=1946792
Test:
Verify in the postgress DB container:
/opt/app-root/src/postgresql-cfg/noobaa-postgres.conffile:openshift-custom-postgresql.confincludes thenoobaa-postgres.conffileSigned-off-by: Alexander Indenbaum aindenba@redhat.com