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

Google: Add IPv6 support #122

Merged
merged 1 commit into from
Mar 6, 2023
Merged

Conversation

booya
Copy link
Contributor

@booya booya commented Dec 30, 2022

Allows configuring GCE instances to use dual stack networking. This is desirable for us since we are enabling IPv6 across the infrastructure, due to occasional issues with cloud nat where large outbound traffic bursts sometimes cause connections to fail.

This is enabled via DRONE_GOOGLE_STACK_TYPE. It is IPV4_ONLY by default or can be set to IPV4_IPV6 if the subnetwork supports dual stack. I've tested this on a test instance with agents on a dual stack subnetwork. With DRONE_GOOGLE_STACK_TYPE unset, the agents come up IPV4_ONLY as before, but when setting it to IPV4_IPV6, the agents come up with a dual-stack interface.

This required updates to the google modules since it is currently using quite an old version which does not support setting the stack type.

@eoinmcafee00 eoinmcafee00 merged commit 6cae8f6 into drone:master Mar 6, 2023
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.

2 participants