gkebnkctl is a pure-Go lifecycle and validation CLI for deploying, operating, upgrading, benchmarking, and tearing down F5 BIG-IP Next for Kubernetes (BNK) and F5 BNK AI Service Plane estates on Google Kubernetes Engine (GKE) — with native integration into F5 BNK Forge.
Preferred Multi-Cloud CLI:
bnkctlis the preferred unified multi-cloud CLI for deploying F5 BNK across AWS EKS, Azure AKS, and Google Cloud GKE from a single binary.gkebnkctlis the standalone GCP-pinned CLI in the same family and shares the same engine, command surface, and declarativecluster.yamlmodel.
Deploying a BIG-IP Next for Kubernetes (BNK) and F5 BNK AI Service Plane on Google Cloud GKE traditionally requires stitching together cloud-specific Terraform modules, multi-VPC CNI plumbing, GKE multi-network pod attachments, Jumbo Frame MTU configurations, Helm charts, and post-install reconciliations.
gkebnkctl replaces that complexity with one declarative cluster.yaml intent file and one pure-Go engine:
- Part of the
bnkctlFamily: Shares the same architecture and CLI experience asbnkctl(the preferred unified multi-cloud CLI),awsbnkctl, andazrbnkctl. - Pure Google Cloud & Kubernetes SDKs: Provisions multi-VPC networks (
main,external,internal) with Jumbo Frames (MTU 8896), Cloud NAT/Routers, firewall rules, GKE multi-network node pools (virtio), IAP jumphosts, and passthrough Network Load Balancers directly viacloud.google.com/go,client-go, and the Helm v3 Go SDK. - Version-Aware BNK Release Catalog: Built-in support for BNK 2.3.x (
legacy-spk), 2.4.0, 2.4.1, and future release (gateway-infra), including automatic release-quirk self-healing (gkebnkctl heal) and cross-train migration (gkebnkctl migrate). See the F5 BIG-IP Next for Kubernetes CloudDocs for full platform documentation. - Turnkey BNK Forge & F5 BNK AI Service Plane: Automatically registers clusters with F5 BNK Forge during
gkebnkctl up, seeds AI Token Governance and Smart LLM Routing for Google Vertex AI (Gemini), and cleans up ongkebnkctl down. - Zero-Leak Teardown: Deterministic reverse-dependency teardown (
gkebnkctl down) strips stuck Kubernetes finalizers, sweeps orphanedpvc-*persistent disks, removes forwarding rules and custom VPCs, deletes the GKE cluster, and unregisters from BNK Forge.
bnkctl is the preferred unified CLI across all three hyperscalers, while awsbnkctl, azrbnkctl, and gkebnkctl provide standalone single-cloud binaries:
| CLI & Repository | Status | Target Cloud | Default Underlay & Dataplane Architecture |
|---|---|---|---|
bnkctl |
Preferred (Unified) | AWS, Azure, GCP | Auto-detects cloud provider from cluster.yaml (apiVersion or cloud.provider) or --cloud aws|azure|gcp. |
awsbnkctl |
Single-Cloud (AWS) | AWS EKS | VPC + Public/Private/DataPath Subnets (including AWS Local Zones), Multus + host-device / SR-IOV secondary ENIs, AWS Route Server BGP peering. |
azrbnkctl |
Single-Cloud (Azure) | Azure AKS | VNet + System & TMM Node Pools, Accelerated Networking (dual-interface), dynamic secondary NIC attachment, VXLAN egress / L4 load balancing. |
gkebnkctl |
Single-Cloud (GCP) | GCP GKE | Multi-VPC (main, external, internal) with Jumbo Frames (MTU 8896), GKE multi-network pod attachments (virtio), Cloud NAT & IAP jumphost. |
What You Can Build with gkebnkctl + BNK Forge
When forge.enabled: true is set in your cluster.yaml, gkebnkctl up automatically bridges your Google Cloud GKE cluster into BNK Forge — giving you a visual control plane for BNK lifecycle, security policy authoring, AI token governance, and LLM benchmarking.
As soon as gkebnkctl up completes Forge registration, your GKE cluster appears in the BNK Forge Cluster Fleet alongside your multi-cloud estate with live data-plane telemetry, active listeners, L4/L7 routes, and one-click deployable Blueprints.
Author, visualize, and enforce L4/L7 traffic routing, carrier-grade network translation, DNS delivery, and zero-trust security policies across your Kubernetes clusters from a single visual interface or declaratively via gkebnkctl. For complete details on F5 BIG-IP Next for Kubernetes traffic and security capabilities, see the F5 BIG-IP Next for Kubernetes CloudDocs.
Deliver enterprise-grade AI traffic governance on Google Cloud with real-time token accounting, budget and rate enforcement, sensitive data (PII/DLP) guardrails, and prompt-injection protection managed through BNK Forge. Learn more about F5's cloud-native data plane and AI traffic capabilities in the F5 BIG-IP Next for Kubernetes CloudDocs.
Route agentic and inference traffic across primary and fallback foundation models in Google Vertex AI (Gemini 2.5 Pro / Gemini 2.5 Flash) — complete with Model Context Protocol (MCP) tool security and weighted failover:
Compare throughput, Time-to-First-Token (TTFT), Inter-Token Latency (ITL), and token-rate enforcement across F5 BNK + F5 GAIE, Envoy, HAProxy, and llm-d Router, or run any of the 15 built-in Kubernetes validation scenarios (gkebnkctl scenarios run):
Every cluster registered by gkebnkctl can be inspected, diagnosed, and operated through BNK Forge's built-in Model Context Protocol (MCP) Server, exposing 153 structured tools for AI assistants and automation pipelines:
- Go 1.26+ (to build from source) or a pre-built release binary from GitHub Releases.
- F5 BIG-IP Next for Kubernetes License & Registry Access (gitignored locally; never committed):
- Follow the F5 BIG-IP Next for Kubernetes CloudDocs to obtain your F5 subscription JWT (
license.jwt) and configure F5 Artifact Registry (repo.f5.com) pull credentials.
- Follow the F5 BIG-IP Next for Kubernetes CloudDocs to obtain your F5 subscription JWT (
- Google Cloud Credentials:
- Application Default Credentials (
gcloud auth application-default login) andGOOGLE_CLOUD_PROJECTset to your target GCP project ID.
- Application Default Credentials (
git clone https://github.com/JLCode-tech/gkebnkctl.git
cd gkebnkctl
go build -o ./gkebnkctl ./cmd/gkebnkctlYou can validate any cluster.yaml and preview the full GCP underlay + BNK overlay execution plan without touching live Google Cloud APIs:
# GCP GKE + Vertex AI Gemini + F5 BNK AI Service Plane (2.4.1)
./gkebnkctl validate -c examples/vertex-agent-demo/cluster.yaml
./gkebnkctl up -c examples/vertex-agent-demo/cluster.yaml --dry-run
# Multi-Protocol L4/L7 Ingress Blueprint
./gkebnkctl validate -c examples/multi-protocol-ingress/cluster.yaml
./gkebnkctl up -c examples/multi-protocol-ingress/cluster.yaml --dry-run# Deploy using gkebnkctl (or use the preferred unified `bnkctl up -c ...`)
./gkebnkctl up -c examples/vertex-agent-demo/cluster.yaml# Check GCP underlay, TMM dataplane, BNK release profile, and active quirks
./gkebnkctl status -c examples/vertex-agent-demo/cluster.yaml
# Run BNK release-quirk self-healing and route pool resync
./gkebnkctl heal -c examples/vertex-agent-demo/cluster.yaml
./gkebnkctl bnk resync -c examples/vertex-agent-demo/cluster.yaml
# Verify BNK Forge registration & F5 BNK AI Service Plane governance readiness
./gkebnkctl forge status -c examples/vertex-agent-demo/cluster.yaml
./gkebnkctl forge governance overview -c examples/vertex-agent-demo/cluster.yaml
# Run validation scenarios (L4 TCP/UDP, gRPC, HTTP routing, Egress SNAT, AI Token Counting)
./gkebnkctl scenarios list
./gkebnkctl scenarios run http-routing-e2e -c examples/vertex-agent-demo/cluster.yaml
# Tear down all GCP & cluster resources cleanly with zero leaked PVC disks or VPCs
./gkebnkctl down -c examples/vertex-agent-demo/cluster.yaml| Command | Description |
|---|---|
gkebnkctl up |
Provision GCP underlay (multi-VPC networks, Cloud NAT, GKE multi-network cluster, IAP jumphost) and deploy the BNK overlay stack + BNK Forge registration |
gkebnkctl down |
Tear down BNK overlay, strip stuck finalizers, sweep orphaned PVC disks, unregister from BNK Forge, and destroy all GCP underlay resources |
gkebnkctl status |
Inspect GCP underlay state, BNK release train/profile, TMM dataplane readiness, and active release quirks |
gkebnkctl validate |
Validate cluster.yaml intent and dry-run render all BNK overlay manifests |
gkebnkctl doctor |
Verify local prerequisites, GCP credentials, registry pull credentials, and subscription JWT validity |
gkebnkctl heal |
Run idempotent BNK self-healing and version-specific quirk reconciliations |
gkebnkctl upgrade |
Upgrade BNK overlay in-place within the same architectural release train |
gkebnkctl migrate |
Migrate BNK overlay across architectural release boundaries (e.g., 2.3.x legacy-spk -> 2.4.x/future gateway-infra) |
gkebnkctl bnk {status,scan,heal,resync,upgrade,migrate} |
Granular BNK overlay inspection, MCP endpoint scanning, and pool-member resynchronization |
gkebnkctl forge {register,unregister,status,governance} |
Register/unregister clusters with BNK Forge and manage F5 BNK AI Service Plane governance |
gkebnkctl scenarios {list,show,run} |
List, inspect, and execute 15 built-in BNK L4/L7, egress, and GenAI validation scenarios |
gkebnkctl test {connectivity,dns} |
Execute TCP/UDP VIP connectivity and DNS probes from the cluster jumphost or probe pod |
gkebnkctl genai parse |
Parse aiperf benchmark artifacts into structured BNK Forge GenAI telemetry |
gkebnkctl k |
In-process Kubernetes client-go operations with automatic cluster template variable rendering |
gkebnkctl topology |
Render cluster network and TMM dataplane interface topology |
| Directory | Region / Mode | Architecture & Use Case |
|---|---|---|
examples/vertex-agent-demo/ |
GCP GKE (australia-southeast1-a) |
Multi-VPC Jumbo-Frame GKE + F5 BNK AI Service Plane (2.4.1) + Google Vertex AI (Gemini 2.5 Pro/Flash) + VXLAN Egress |
examples/ingress/ |
GCP GKE (virtio) |
Standard multi-VPC GKE ingress deployment with passthrough Network Load Balancer |
examples/multi-protocol-ingress/ |
GCP GKE (virtio) |
Combined HTTP, HTTPS, TCP, UDP, and gRPC ingress validation |
examples/egress/ |
GCP GKE (virtio) |
Outbound SNAT, VXLAN egress, and deterministic source-IP validation |
examples/host-device/ |
GCP GKE (host-device) |
Direct NIC netns move (host-device) dataplane topology |
- Unified Multi-Cloud CLI (
JLCode-tech/bnkctl) — The preferred unified multi-cloud CLI for AWS EKS, Azure AKS, and Google Cloud GKE. - Architecture & Design (
docs/ARCHITECTURE.md) — Google Cloud GKE multi-VPC underlay, multi-network pod attachments, and BNK overlay architecture. - BNK Forge & F5 BNK AI Service Plane Integration (
docs/FORGE_INTEGRATION.md) — Visual walkthrough of BNK Forge cluster registration, policy building, AI token governance, and Smart LLM Routing. - Commands Reference (
docs/COMMANDS.md) & Validation Scenarios (docs/SCENARIOS.md) — Detailed CLI flags and 15 built-in validation scenarios. - F5 BIG-IP Next for Kubernetes CloudDocs — Official F5 product documentation, architecture guides, and prerequisite setup.
Released under the MIT License.









