Skip to content

feat(gcp): add network tags support for peer pod VMs#25

Merged
yousef-cohere merged 3 commits intocoherefrom
yousef/gcp-network-tags-v2
Apr 22, 2026
Merged

feat(gcp): add network tags support for peer pod VMs#25
yousef-cohere merged 3 commits intocoherefrom
yousef/gcp-network-tags-v2

Conversation

@yousef-cohere
Copy link
Copy Markdown

@yousef-cohere yousef-cohere commented Apr 22, 2026

GCP network tags (distinct from Resource Manager tags) are simple strings applied to instances at creation time for firewall rule targeting. This adds a GCP_NETWORK_TAGS config key (comma-separated) that sets Instance.Tags.Items on the Instances.Insert request, allowing firewall rules targeting peerpods-vm to apply to dynamically created peer pod VMs.

Made-with: Cursor


Note

Low Risk
Low risk: adds an optional config/flag that maps directly to GCE instance Tags.Items without changing existing defaults or instance-creation flow when unset.

Overview
Adds support for setting GCE network tags on dynamically created peer pod VMs via a new comma-separated GCP_NETWORK_TAGS config/flag.

The GCP provider now parses --network-tags/GCP_NETWORK_TAGS, stores it in config, and (when provided) sets Instance.Tags.Items on the Instances.Insert request; the Helm gcp.yaml values are updated to document the new option.

Reviewed by Cursor Bugbot for commit 3d3d7a5. Bugbot is set up for automated code reviews on this repo. Configure here.

GCP network tags (distinct from Resource Manager tags) are simple strings
applied to instances at creation time for firewall rule targeting. This
adds a GCP_NETWORK_TAGS config key (comma-separated) that sets
Instance.Tags.Items on the Instances.Insert request, allowing firewall
rules targeting peerpods-vm to apply to dynamically created peer pod VMs.

Made-with: Cursor
@yousef-cohere yousef-cohere force-pushed the yousef/gcp-network-tags-v2 branch from a7497b4 to 6f04fa6 Compare April 22, 2026 21:16
Moved the GCP_NETWORK_TAGS configuration section to improve clarity and organization within the gcp.yaml file. This change enhances the readability of the configuration options for GCP peer pod VMs.
@yousef-cohere yousef-cohere merged commit dddb4ea into cohere Apr 22, 2026
20 of 21 checks passed
@yousef-cohere yousef-cohere deleted the yousef/gcp-network-tags-v2 branch April 22, 2026 21:30
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