Skip to content

Commit

Permalink
disable postgresqlExtendedConf.huge_pages
Browse files Browse the repository at this point in the history
  • Loading branch information
pankajastro committed Aug 12, 2024
1 parent 5b7eae3 commit 9f32ad7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/test_kubernetes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@ on:
jobs:
run-kubernets-tests:
runs-on: ubuntu-latest
services:
# Label used to access the service container
postgres:
# Docker Hub image
image: postgres
# Provide the password for postgres
env:
POSTGRES_PASSWORD: postgres
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
# Maps tcp port 5432 on service container to the host
- 5432:543
# services:
# # Label used to access the service container
# postgres:
# # Docker Hub image
# image: postgres
# # Provide the password for postgres
# env:
# POSTGRES_PASSWORD: postgres
# # Set health checks to wait until postgres has started
# options: >-
# --health-cmd pg_isready
# --health-interval 10s
# --health-timeout 5s
# --health-retries 5
# ports:
# # Maps tcp port 5432 on service container to the host
# - 5432:543
steps:
- uses: actions/checkout@v3
- name: Kubernetes KinD Cluster
Expand Down
2 changes: 1 addition & 1 deletion scripts/test/kubernetes-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ kind load docker-image dbt-jaffle-shop:1.0.0
# Deploy a Postgres pod to Kind
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update
helm install postgres bitnami/postgresql # -f scripts/test/values.yaml
helm install postgres bitnami/postgresql --set postgresqlExtendedConf.huge_pages="off" # -f scripts/test/values.yaml

# Retrieve the Postgres password and set it as an environment variable
POSTGRES_PASSWORD=$(kubectl get secret --namespace default postgres-postgresql -o jsonpath="{.data.postgres-password}" | base64 -d)
Expand Down

0 comments on commit 9f32ad7

Please sign in to comment.