Skip to content
Snippets Groups Projects

Change postgres mount dir and pgdata to make persistent data work

Merged username-removed-1216309 requested to merge trsmith/kubernetes-gitlab-demo:master into master
All threads resolved!

Updated postgres mount path and pgdata dir to support persistent data

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • One comment, but otherwise looks good.

    This fixes the problem that existed where:

    • /var/lib/postgres was our persistent storage
    • /var/lib/postgres/data was listed as a volume in the postgres dockerfile, and was mounted as a non-persistent volume
    • resulted in the data dir being lost, and our persistent volume not having any content to persist (because the data dir was just a mount within it)
  • added 1 commit

    • 9a9b5e37 - Per merge discussion, moving PGDATA out of config map and defining in deployment manifest

    Compare with previous version

  • username-removed-1216309 resolved all discussions

    resolved all discussions

  • merged

  • DJ Mountney mentioned in commit 0c36b916

    mentioned in commit 0c36b916

  • Please register or sign in to reply
    Loading