Skip to content
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

Tweak .env in kube/overlays to connect to external db #4403

Merged
merged 3 commits into from
Jul 1, 2021

Conversation

ChristopheDuong
Copy link
Contributor

What

Mirror changes from #4211 to kube .env too

How

Describe the solution

@ChristopheDuong ChristopheDuong marked this pull request as draft June 29, 2021 15:39
@ChristopheDuong ChristopheDuong changed the title Add .env to connect to external db Tweak .env in kube/overlays to connect to external db Jun 29, 2021
@ChristopheDuong ChristopheDuong marked this pull request as ready for review June 29, 2021 16:19
DATA_DOCKER_MOUNT=airbyte_data
DB_DOCKER_MOUNT=airbyte_db

# Internal Temporal.io deployment
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
# Internal Temporal.io deployment
# Temporal.io worker configuration

DATA_DOCKER_MOUNT=airbyte_data
DB_DOCKER_MOUNT=airbyte_db

# Internal Temporal.io deployment
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
# Internal Temporal.io deployment
# Temporal.io worker configuration

@@ -51,7 +61,7 @@ spec:
- name: WAIT_BEFORE_HOSTS
value: "5"
- name: WAIT_HOSTS
value: airbyte-db-svc:5432
value: $(DATABASE_HOST):$(DATABASE_PORT)
Copy link
Contributor

@jrhizor jrhizor Jun 30, 2021

Choose a reason for hiding this comment

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

I don't think this works since it never is resolved to the correct value?

→ kubectl describe pod airbyte-scheduler-7764b66c8c-5n6bm | grep WAIT_HOSTS\:
      WAIT_HOSTS:               $(DATABASE_HOST):$(DATABASE_PORT)

Eventually we should remove wait entirely since we're waiting within code with finer control. For now we can just hard code the host and port again...

Base automatically changed from chris/kube-worker-resources to master July 1, 2021 10:25
@ChristopheDuong ChristopheDuong merged commit 53b02e0 into master Jul 1, 2021
@ChristopheDuong ChristopheDuong deleted the chris/kube_env branch July 1, 2021 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants