Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
tekton-postgresql
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
97f9647b
authored
2022-02-23 15:25:10 -0600
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Add conf.d support, and enable unsafe but fast optimizations.
1 parent
e9cf22df
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
0 deletions
kustomization.yaml
postgresql-pod/postgresql-pod.yaml
postgresql.conf.d/unsafe-fast.conf
kustomization.yaml
View file @
97f9647
...
...
@@ -19,6 +19,12 @@ configMapGenerator:
-
postgresql-pod_postgresql-pod.yaml=postgresql-pod/postgresql-pod.yaml
-
postgresql-pod_set-deployment-config_deployment-config.env=postgresql-pod/set-deployment-config/deployment-config.env
-
postgresql-pod_set-deployment-config_kustomization.yaml=postgresql-pod/set-deployment-config/kustomization.yaml
-
name
:
task-postgresql-conf-d
options
:
disableNameSuffixHash
:
true
files
:
-
postgresql.conf.d/unsafe-fast.conf
-
name
:
task-postgresql-scripts
options
:
disableNameSuffixHash
:
true
...
...
postgresql-pod/postgresql-pod.yaml
View file @
97f9647
...
...
@@ -37,6 +37,9 @@ spec:
volumes
:
-
name
:
postgresql-data
emptyDir
:
{}
-
name
:
postgresql-confd
configMap
:
name
:
task-postgresql-confd
containers
:
-
name
:
postgresql
image
:
bitnami/postgresql:14.1.0-debian-10-r66
...
...
@@ -50,4 +53,7 @@ spec:
volumeMounts
:
-
name
:
postgresql-data
mountPath
:
/bitnami/postgresql
-
name
:
postgresql-confd
mountPath
:
/opt/bitnami/postgresql/conf/conf.d
---
...
...
postgresql.conf.d/unsafe-fast.conf
0 → 100644
View file @
97f9647
fsync
=
off
random_page_cost
=
1
synchronous_commit
=
off
commit_delay
=
100000
wal_writer_delay
=
10000
ms
wal_buffers
=
1
MB
Please
register
or
sign in
to post a comment