Tuesday, November 10, 2026
  • Login
  • Register
Technology Tutorials & Latest News | ByteBlock
  • Home
  • Tech News
  • Tech Tutorials
    • Networking
    • Computers
    • Mobile Devices & Tablets
    • Apps & Software
    • Cloud & Servers
    • IT Careers
    • AI
  • Reviews
  • Shop
    • Electronics & Gadgets
    • Apps & Software
    • Online Courses
    • Lifetime Subscription
No Result
View All Result
Tech Insight: Tutorials, Reviews & Latest News
No Result
View All Result
Home News Google

Experimenting with ClusterNetworkPolicy in GKE

November 10, 2026
in Google
0 0
0

Standard Network Policies limit you to applying policies at the namespace level, but ClusterNetworkPolicy (CNP) lets you apply granular networking policies across an entire cluster. When you use CNP, you can easily scale security and governance policies. Recently, I experimented with this functionality in Google Kubernetes Engine (GKE) and saw the benefits for myself.

In this post, we’ll explore using CNP to control traffic to an LLM and cluster. If you want to jump right into a hands-on lab, check out this Codelab: Secure AI Inference Workloads with GKE ClusterNetworkPolicy.

How CNP works

CNP follows a three-tier flow with a precedence match:

  1. Admin tier (top precedence): Cluster administrator enforces mandatory security rules that can’t be bypassed (for example, blocking metadata access).

  2. Network policy tier (middle precedence): Standard namespace-scoped policies that are managed by application teams to control ingress and egress for their microservices.

  3. Baseline tier (bottom precedence): Cluster administrator establishes fallback defaults (for example, a default-deny posture across namespaces).

Design pattern example

The aim of the experiment in the Codelab is to restrict traffic to the LLM namespace, allow only authorized clients, and prevent cluster-wide access to the metadata API except for DNS port 53. It uses these services:

  • Virtual Private Cloud (VPC): Provides private networking, subnets for pods and services, and secure outbound egress via Cloud NAT.

  • TPU v5e: High-efficiency accelerator hardware (2×2 topology) running optimized model inference.

  • GKE: Managed Kubernetes platform that’s powered by GKE Dataplane V2 (eBPF) to enforce multi-tier networking policies.

  • Gemma 4 (google/gemma-4-E2B-it): Lightweight open model served with vLLM to act as a sensitive AI workload.

  • ClusterNetworkPolicy (CNP): Cluster-wide policies that let administrators enforce mandatory administrator and baseline guardrails across all namespaces.

  • NetworkPolicies: Standard namespace-scoped rules that let developers grant access to authorized clients.

  • Cloud Logging / GKE Network Policy Logging: Captures real-time packet verdicts (allow/deny) and policy audit trails.

ShareTweetShare
Previous Post

BigQuery measures GA: Unifying BI metrics and knowledge graphs

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

You might also like

Experimenting with ClusterNetworkPolicy in GKE

November 10, 2026

BigQuery measures GA: Unifying BI metrics and knowledge graphs

November 10, 2026

How to run CodeMender in your pull requests

November 10, 2026

Inside the Gemini factory accelerating partner solutions

November 10, 2026

The open AI-native stack on Kubernetes: From open models to distributed inference and agents

November 10, 2026

Introducing TPU Sync: Fast KV cache & weight transfer on TPU

November 9, 2026
monotone logo block byte

Stay ahead in the tech world with Tech Insight. Explore in-depth tutorials, unbiased reviews, and the latest news on gadgets, software, and innovations. Join our community of tech enthusiasts today!

Stay Connected

  • Home
  • Tech News
  • Tech Tutorials
  • Reviews
  • Shop
  • About Us
  • Privacy Policy
  • Terms & Conditions

© 2024 Byte Block - Tech Insight: Tutorials, Reviews & Latest News. Made By Huwa.

Welcome Back!

Sign In with Google
Sign In with Linked In
OR

Login to your account below

Forgotten Password? Sign Up

Create New Account!

Sign Up with Google
Sign Up with Linked In
OR

Fill the forms below to register

*By registering into our website, you agree to the Terms & Conditions and Privacy Policy.
All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In
  • Login
  • Sign Up
  • Cart
No Result
View All Result
  • Home
  • Tech News
  • Tech Tutorials
    • Networking
    • Computers
    • Mobile Devices & Tablets
    • Apps & Software
    • Cloud & Servers
    • IT Careers
    • AI
  • Reviews
  • Shop
    • Electronics & Gadgets
    • Apps & Software
    • Online Courses
    • Lifetime Subscription

© 2024 Byte Block - Tech Insight: Tutorials, Reviews & Latest News. Made By Huwa.

Login