Back to news
cloud Priority 4/5 5/16/2026, 11:05:48 AM

Kubernetes v1.36 Deprecates and Removes Service ExternalIPs Field to Address Inherent Security Risks

Kubernetes v1.36 Deprecates and Removes Service ExternalIPs Field to Address Inherent Security Risks

Kubernetes has announced the formal deprecation and upcoming removal of the .spec.externalIPs field within Service resources. Originally intended to provide cloud-like load balancing for non-cloud environments, the feature relies on an outdated security model. The API assumes all users with service creation permissions are fully trusted, which creates significant risks in multi-tenant environments.

Related tools

Recommended tools for this topic

These picks prioritize high-intent tools relevant to this topic. Some links may include partner or affiliate tracking.

#kubernetes#devops#cloud#official

Comparison

AspectBefore / AlternativeAfter / This
Security ModelImplicit trust allowing any user to claim any external IP addressStrict validation via admission controllers or managed providers
Traffic ControlSimple NAT via kube-proxy without protocol-level validationAdvanced routing and TLS termination through Ingress or Gateway API
ProvisioningManual and static assignment of IP addresses in the specDynamic allocation from managed pools using LoadBalancer controllers

Action Checklist

  1. Identify all Service resources using the .spec.externalIPs field Search across all namespaces to assess the scope of the migration
  2. Deploy an admission controller to restrict further use of externalIPs Use OPA Gatekeeper or the built-in ExternalIPs controller as a stopgap
  3. Migrate on-premises workloads to MetalLB or specialized BGP solutions These provide similar functionality with better security and IP management
  4. Transition public-facing services to Ingress or Gateway API This follows current best practices for traffic management in modern clusters
  5. Verify firewall and network policy rules Ensure underlying infrastructure permits traffic to the new IP sources

Source: Kubernetes Blog

This page summarizes the original source. Check the source for full details.

Related