mcpbeat Sign in

Gke Networking Agent Skill

>- Plans, configures, and manages core GKE cluster networking. Covers private clusters, VPC-native configurations, DNS, node egress, Dataplane V2, and IP planning. Use when designing GKE networking layouts, configuring private clusters, setting up Dataplane V2, planning GKE IP ranges, or managing VPC- native cluster modes. Don't use for application ingress, load balancing, or service networking (use gke-service-networking instead).

1k tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
15506
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/google/skills --skill gke-networking

The instruction itself

8 sections, as written by the author

GKE Networking

This reference covers networking configuration for GKE clusters. The golden path

enforces private, VPC-native clusters with Dataplane V2.

> MCP Tools: get_cluster, update_cluster, apply_k8s_manifest,

> get_k8s_resource

Golden Path Networking Defaults

Setting | Golden Path Value | Day-0/1 | Notes

-------------------------------------------------------------------- | ---------------------------------- | ------- | -----

privateClusterConfig.enablePrivateNodes | true | Day-0 | Nodes have no public IPs

masterAuthorizedNetworksConfig.privateEndpointEnforcementEnabled | true | Day-0 | Control plane only reachable via private endpoint or DNS

controlPlaneEndpointsConfig.dnsEndpointConfig.allowExternalTraffic | true | Day-0 | Allows DNS-based access from outside VPC

networkConfig.datapathProvider | ADVANCED_DATAPATH (Dataplane V2) | Day-0 | eBPF-based, built-in Network Policy

networkConfig.dnsConfig.clusterDns | CLOUD_DNS | Day-0 | Managed DNS, more reliable than kube-dns

networkConfig.enableIntraNodeVisibility | true | Day-1 | VPC Flow Logs for intra-node traffic

ipAllocationPolicy.autoIpamConfig.enabled | true | Day-0 | Automatic IP range management

ipAllocationPolicy.createSubnetwork | true | Day-0 | Auto-create dedicated subnet

defaultMaxPodsConstraint.maxPodsPerNode | 48 | Day-0 | Conservative default; 110 for high density

Private Cluster Access Patterns

The golden path creates a private cluster. Users access it via:

  • DNS endpoint (default): allowExternalTraffic: true enables access via

the cluster's DNS endpoint from outside the VPC. No VPN required.

  • Private endpoint: Direct access from within the VPC or via Cloud

VPN/Interconnect.

  • Authorized networks: Add specific CIDRs to

masterAuthorizedNetworksConfig for IP-based access control.

# Access private cluster via DNS endpoint (golden path default)
gcloud container clusters get-credentials {cluster_name} \
  --region {region} --dns-endpoint \
  --quiet

# Access via private endpoint (from within VPC)
gcloud container clusters get-credentials {cluster_name} \
  --region {region} --internal-ip \
  --quiet

Bring-Your-Own VPC/Subnet

If the customer has existing network infrastructure:

gcloud container clusters create-auto {cluster_name} \
  --region {region} \
  --network {vpc_name} \
  --subnetwork {subnet_name} \
  --cluster-secondary-range-name {pod_range} \
  --services-secondary-range-name {svc_range} \
  --enable-private-nodes \
  --enable-master-authorized-networks \
  --quiet

> Day-0 Warning: VPC, subnet, and IP ranges cannot be changed after cluster

> creation.

VPC-Native Mode Benefits

VPC-native clusters route traffic natively using GCP Alias IP ranges. Key

benefits to cover:

  • Scalability: Traffic routes natively inside the VPC, bypassing the need

for custom routes and avoiding custom route limit bottlenecks.

  • Direct VPC Integration: Direct resource integration across GCP networks

without complex bridging or routing tunnels.

  • Avoiding IP Exhaustion: Supports discontiguous IP ranges and optimizes

allocation, reducing the risk of exhausting subnet IP ranges.

IP Planning

| Resource | Golden Path | Notes |

| ------------- | ------------ | ------------------------------------------ |

| Pod CIDR | /17 (auto) | ~32K pod IPs; size based on maxPodsPerNode |

| Service CIDR | /20 (auto) | ~4K service IPs |

| Node subnet | auto-created | /20 recommended for growth |

| Max pods/node | 48 | Each node gets a /25 pod range; set to 110 |

: : : for /24 per node :

Pod CIDR sizing rule of thumb:

  • maxPodsPerNode=48 -> each node uses a /25 (128 IPs) from pod CIDR
  • maxPodsPerNode=110 -> each node uses a /24 (256 IPs) from pod CIDR
  • Larger maxPodsPerNode = fewer nodes fit in a given CIDR

Egress

  • Default: nodes use Cloud NAT for outbound internet access (private nodes

have no public IPs) to allow private nodes to reach the internet without

public IP exposure.

  • For static egress IPs: configure Cloud NAT with manual IP allocation to

maintain a consistent source IP for external allowlists or partner

firewalls.

  • For restricted egress: route through a firewall appliance via custom routes

to inspect and filter outbound traffic according to organization security

policies.

Network Policy

Dataplane V2 (golden path) provides built-in Network Policy enforcement — no

additional addon needed. Apply default-deny per namespace, then allow specific

flows.

> See the gke-workload-security skill for default-deny policy and the

> gke-multitenancy skill for per-team allow policies.

Other skills for the same job

different authors, same section of the catalogue
Mobile Design
by ComeOnOliver
×2

Mobile-first design and engineering doctrine for iOS and Android apps. Covers touch interaction, performance, platform conventions, offline behavior, and mobile-specific decision-making. Teaches principles and constraints, not fixed layouts. Use for React Native, Flutter, or native mobile apps.

72k tokens scripts
Experimental Design
by K-Dense-AI
×1

Design experiments and studies BEFORE data is collected — choosing a design, randomizing, blocking, and laying out treatment combinations so results are interpretable. Use whenever someone is planning a study, asks how to assign subjects/samples to groups, mentions randomization, blocking, stratification, controls, factorial or fractional-factorial designs, design of experiments (DOE), screening many factors, response-surface optimization, crossover or repeated-measures or split-plot designs, cluster/group randomization, Latin squares, plate layouts, batch/run-order effects, replication vs. pseudoreplication, or sequential/adaptive/group-sequential designs. Trigger even for informal phrasings like "how should I set up this experiment", "how do I avoid confounding", "what's the best way to test these 6 factors", or "assign these mice to conditions". For computing the sample size or power once the design is chosen, use statistical-power; for analyzing data already collected, use statistical-analysis.

14k tokens scripts
Architect
by ComeOnOliver
×1

Design systems, plan implementations, review architecture decisions - Use when you need to plan a complex feature, design system architecture, or make high-level technical decisions.

2k tokens
Analyze Feature Requests
by phuryn

Analyze and prioritize a list of feature requests by theme, strategic alignment, impact, effort, and risk. Use when reviewing customer feature requests, triaging a backlog, or making prioritization decisions.

568 tokens
Azldev Add Component
by microsoft
vendor

Read this before adding or importing a component; follow the workflow instead of guessing. Explains how to add a new component to an azldev distro, covering inspecting the upstream spec, the inline-versus-dedicated-file decision, and validating with render, diff-sources, and build. Triggers include add component, new package, import package, create comp.toml, new component.

998 tokens
Open Knowledge Pack Plain Notes
by inkeep

How to work in a Plain Notes project (the `plain-notes` starter pack): a flat notes/ folder plus a daily/ journal. The 'I just want to write' layout. Read when the project has these folders, OR when asked to jot a note, capture a quick thought, or write today's journal entry. Carries the linking habit and daily-entry behavior so templates and folder descriptions stay minimal. Complements the platform `open-knowledge` skill; does not replace it.

498 tokens
Open Knowledge Pack Worldbuilding
by inkeep

How to work in a Worldbuilding project (the `worldbuilding` starter pack): a fiction encyclopedia of characters, settings, themes, factions, and lore. Read when the project has these folders, OR when asked to add a character, setting, faction, or piece of lore, or to check the world for internal consistency. Carries the auto-stub and consistency behaviors so that guidance does not live inside template bodies or folder descriptions. Complements the platform `open-knowledge` skill; does not replace it.

758 tokens
Oiloil UI Ux Guide
by davepoon

Modern, clean UI/UX guidance + review skill. Use when you need actionable UX/UI recommendations, design principles, or a design review checklist for new features or existing systems (web/app). Focus on CRAP (Contrast/Repetition/Alignment/Proximity) plus task-first UX, information architecture, feedback & system status, consistency, affordances, error prevention/recovery, and cognitive load. Enforce a modern minimal style (clean, spacious, typography-led), reduce unnecessary copy, forbid emoji as icons, and recommend intuitive refined icons from a consistent icon set.

249 tokens

How to use it

Copy the folder

Take google/gke-networking from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.