Kubernetes v1.36 Sneak Peek
Kubernetes v1.36 Sneak Peek
Another year, another quantum leap forward for Kubernetes! As we settle into 2026, the cloud-native landscape continues its relentless evolution, pushing the boundaries of what’s possible in distributed systems. For production operators and platform engineers, keeping pace feels like an Olympic sport, but the rewards are immense: unparalleled agility, resilience, and efficiency.
Kubernetes v1.36, currently in its alpha stages and slated for a late 2026 stable release, is poised to be one of the most impactful updates in recent memory. It’s not just about incremental improvements; it’s about fundamentally rethinking how Kubernetes interacts with the two titans shaping our infrastructure: AI/ML at scale and the ever-present demand for ruthless cost optimization.
Let’s dive into what makes v1.36 so exciting and how it will redefine operational excellence in the coming years.
The Evolving Production Landscape in 2026: AI, FinOps, and Complexity
In 2026, Kubernetes has solidified its position as the de facto operating system for the cloud. However, the demands on our clusters have never been higher:
- Ubiquitous AI/ML Workloads: From real-time inference at the edge to massive distributed training jobs, specialized hardware like GPUs, NPUs, and custom ASICs are no longer niche. Managing their lifecycle, topology, and efficient utilization within a multi-tenant Kubernetes environment is a significant challenge. Traditional resource requests and limits often fall short, leading to underutilized expensive hardware or scheduling nightmares.
- Hyper-Focused FinOps: While FinOps has matured significantly, the battle against cloud spend is ceaseless. Reactive autoscaling often leaves money on the table. We need more intelligent, proactive mechanisms baked directly into the orchestration layer to identify idle resources, predict demand, and enforce budget constraints without sacrificing performance or reliability.
- The Scale Paradox: As our clusters grow, so does their inherent complexity. We need smarter automation and deeper platform intelligence to maintain operational simplicity and deliver consistent developer experience, even as the underlying infrastructure becomes more intricate.
Kubernetes v1.36 directly addresses these challenges with two game-changing features we’ll explore: AI-Native Scheduling with AcceleratorClass and Intelligent FinOps via CostPolicy.
Unpacking Kubernetes v1.36: Key Features for Production
1. AI-Native Scheduling with AcceleratorClass and KubeAISched
The days of simply requesting nvidia.com/gpu: 1 are rapidly fading. Modern AI workloads require fine-grained control over accelerator types, specific memory profiles, interconnect topologies (e.g., NVLink), and even preemption policies for critical training jobs. v1.36 introduces the AcceleratorClass API and significant enhancements to the scheduler (often referred to as KubeAISched in the community, though the core changes are within kube-scheduler).
The Problem Solved: Generic resource requests lead to inefficient GPU utilization. Imagine a pod requesting any GPU when it specifically needs a high-memory A100 with NVLink for optimal performance, or a low-priority batch job consuming a scarce resource that a high-priority inference service desperately needs. AcceleratorClass empowers administrators to define pools of specialized hardware with distinct capabilities and operational policies.
How it Works:
AcceleratorClass allows you to classify your specialized hardware. This classification isn’t just about the device type; it includes crucial metadata like topology preferences, power profiles, and even custom preemption policies.
First, an administrator defines an AcceleratorClass:
# acceleratorclass-a100-high-perf.yaml
apiVersion: scheduling.k8s.io/v1alpha1
kind: AcceleratorClass
metadata:
name: a100-high-perf-nvlink
spec:
# Selector to identify nodes with this type of accelerator
nodeSelector:
matchLabels:
accelerator.k8s.io/type: nvidia-a100
accelerator.k8s.io/interconnect: nvlink
# Driver information (optional, but good practice for automated setup)
driver:
name: nvidia-gpu-driver
version: 550.67
# Custom preemption policy for pods using this class
# Options: Always, Never, LowPriorityOnly, CustomWebhook
preemptionPolicy: LowPriorityOnly
# (New in v1.36) Power profile for performance vs. efficiency
powerProfile: high-performance
# (New in v1.36) Topology preferences (e.g., require same NUMA node)
topologyPreference: SameNUMANode
# Custom parameters for specific scheduler extensions (e.g., gang scheduling hints)
parameters:
queueName: "critical-ml-training"
Then, your AI workload requests this specific class:
# ml-training-pod.yaml
apiVersion: v1
kind: Pod
metadata:
name: distributed-training-job
labels:
app: ml-trainer
spec:
# (New in v1.36) Reference the AcceleratorClass
acceleratorClassName: a100-high-perf-nvlink
containers:
- name: trainer
image: my-registry/pytorch-trainer:v2.1
command: ["python", "train.py"]
resources:
limits:
# Standard GPU request still applies, but AcceleratorClass adds more context
nvidia.com/gpu: 4
requests:
nvidia.com/gpu: 4
restartPolicy: OnFailure
Benefits & Performance Considerations:
- Optimized Resource Utilization: KubeAISched, aware of
AcceleratorClassdefinitions, can now intelligently place pods to maximize hardware utilization, ensuring high-value resources aren’t wasted. - Improved Performance: By scheduling pods onto accelerators with the correct topology (e.g., NVLink for multi-GPU communication) and power profiles, training times can be significantly reduced.
- Enhanced Multi-tenancy: Granular preemption policies prevent low-priority jobs from hogging critical resources, improving overall cluster fairness and SLO adherence for high-priority workloads.
- Simplified MLOps: MLOps pipelines can now declaratively specify accelerator requirements, reducing manual configuration and operational overhead.
Gotchas & Best Practices:
- Misconfiguration: An
AcceleratorClassreferencing non-existent hardware or an incorrectnodeSelectorwill result in unschedulable pods. Validate yourAcceleratorClassdefinitions meticulously. - Driver Management: Ensure your nodes have the correct, compatible drivers installed for the accelerators defined in your
AcceleratorClass. Consider using Node Feature Discovery and automated driver installation tools. - Observability: Monitor
AcceleratorClassusage and scheduling decisions closely. Leverage new metrics exposed bykube-schedulerfor accelerator utilization and preemption events.
2. Intelligent FinOps & Resource Reclamation with CostPolicy
Cost optimization in Kubernetes has always been a balancing act between performance, reliability, and expenditure. While HPA and VPA offer reactive scaling, true proactive FinOps requires an understanding of idle resources, predictable demand patterns, and even the ability to make cost-aware scheduling decisions. Kubernetes v1.36 introduces the CostPolicy API to bring intelligent, automated FinOps directly into the platform.
The Problem Solved: Reactive scaling often leads to over-provisioning during off-peak hours or for non-critical environments. Identifying “truly idle” resources (e.g., a development namespace with no active users, or a staging environment after business hours) and acting upon them programmatically is complex and often relies on custom scripts or external tools.
How it Works:
CostPolicy allows administrators to define rules for resource scaling, workload prioritization, and automated actions based on various cost drivers and demand patterns. It integrates seamlessly with existing autoscalers (HPA, VPA, Cluster Autoscaler) and can even trigger custom actions.
Here’s an example of a CostPolicy that automatically scales down non-production namespaces during weekends and off-hours, and dynamically adjusts node scaling based on projected cost savings from spot instances:
# costpolicy-nonprod-optimization.yaml
apiVersion: cost.k8s.io/v1beta1
kind: CostPolicy
metadata:
name: nonprod-weekend-optimization
spec:
# Target resources for this policy (e.g., namespaces, labels)
targetSelector:
matchLabels:
environment: dev
environment: staging
# Scheduled actions based on time/day
schedules:
- name: weekend-shutdown
cron: "0 0 * * 6,0" # Every Saturday and Sunday at midnight
action: ScaleToZeroReplicas
# Optionally define exceptions or minimums
exceptions:
- namespace: critical-dev-env # Don't scale this one down
- name: weekday-offhours-downscale
cron: "0 20 * * 1-5" # Weekdays at 8 PM
action: ScaleDownReplicasByPercent
parameters:
percentage: 50
minReplicas: 1
# (New in v1.36) Cost-aware node autoscaling preferences
nodeAutoscalingPreference:
# Prioritize spot instances if cost savings are > 30% and interruption tolerance is High
spotInstancePreference:
minCostSavingPercentage: 30
interruptionTolerance: High
# (New in v1.36) Predictive scaling integration
predictiveScaling:
enabled: true
lookaheadMinutes: 60
# Reference to an external metrics provider for historical data/predictions
metricsProvider:
name: prometheus-ml-predictive-scaler
apiGroup: metrics.k8s.io
# Budget thresholds for alerting or action (integrates with FinOps tools)
budgetThresholds:
- name: monthly-dev-budget-alert
period: Monthly
amount: "5000 USD"
action: GenerateAlert # Could also be ScaleDownAggressively or BlockNewDeployments
Benefits & Performance Considerations:
- Significant Cost Reduction: Proactive downscaling, intelligent spot instance utilization, and predictive scaling can lead to substantial savings, often reducing infrastructure costs by 20-40% for non-critical workloads.
- Improved Resource Utilization: By dynamically reclaiming idle resources, the overall cluster utilization rate improves, delaying the need for costly node additions.
- Automated FinOps Enforcement: Moves from manual cost reviews to automated, policy-driven budget enforcement, aligning engineering with financial goals.
- Performance: While
CostPolicyaims for savings, its predictive scaling features can improve performance by preemptively scaling up resources before demand peaks, avoiding latency spikes. Aggressive downscaling, however, needs careful testing to avoid impacting performance.
Gotchas & Best Practices:
- Overly Aggressive Policies: An overly aggressive
CostPolicycan lead to service degradation or outages if critical workloads are accidentally targeted or scaled down too far. Start with conservative policies and gradually increase automation. - Testing is Crucial: Test
CostPolicyeffects thoroughly in staging environments before applying to production. Monitor performance metrics and business KPIs before and after implementation. - Observability & Alerting: Integrate
CostPolicyevents and actions into your observability stack. Set up alerts for policy violations or unexpected scaling behavior. Use thebudgetThresholdsfor early warnings.
Operational Excellence & Troubleshooting Tips for v1.36
With great power comes great responsibility. Leveraging v1.36’s new features requires a robust operational strategy:
- Iterative Rollout: Never introduce new
AcceleratorClassorCostPolicydefinitions directly into production. Use GitOps principles to manage these definitions, test them in isolated staging environments, and roll them out iteratively. - Enhanced Observability: Both
AcceleratorClassandCostPolicygenerate new events and metrics. Ensure your monitoring and logging stack is updated to capture these. Look for:- Scheduler events indicating
AcceleratorClassplacement decisions or preemption. CostPolicyenforcement events (e.g.,ScaledReplicasByCostPolicy,NodeHibernatedByCostPolicy).- Metrics for accelerator utilization specific to
AcceleratorClassdefinitions.
- Scheduler events indicating
- Troubleshooting:
- Unschedulable Pods: If pods using an
AcceleratorClassaren’t scheduling, checkkubectl describe pod <pod-name>andkubectl get events. The scheduler will emit detailed messages if no matchingAcceleratorClassnodes are found or if preemption rules prevent scheduling. - Unexpected Scaling/Cost: If your
CostPolicyis behaving unexpectedly,kubectl describe costpolicy <policy-name>will show its current state and any recent actions. Checkkubectl get eventsfor the affected namespaces or nodes. Validate yourcronschedules andtargetSelector.
- Unschedulable Pods: If pods using an
- Version Control: Treat all
AcceleratorClassandCostPolicydefinitions as code. Store them in version control (e.g., Git) and integrate them into your CI/CD pipelines.
Actionable Takeaways for 2026
Kubernetes v1.36 is a monumental release, offering sophisticated tools for managing specialized hardware and optimizing cloud spend. Here’s what you should be doing:
- Assess Your AI/ML Landscape: Catalog your current and projected specialized hardware needs. Start thinking about how
AcceleratorClasscan bring order and efficiency to your MLOps pipelines. - Review Your FinOps Strategy: Analyze your current cloud spending patterns. Identify areas of potential waste, especially in non-production environments or during off-peak hours.
CostPolicyis your new weapon in this fight. - Upgrade Your Observability: Prepare your monitoring, logging, and alerting systems for the new metrics and events coming with v1.36. Proactive monitoring is key to leveraging these features safely.
- Engage with the Community: Follow the Kubernetes release cycles, participate in SIGs (especially
sig-schedulingand a potential newsig-finops), and provide feedback as these features mature.
Kubernetes v1.36 isn’t just an update; it’s a strategic enabler for the next generation of cloud-native applications, empowering us to build smarter, faster, and more economically.
Discussion Questions
- How are you currently tackling intelligent resource scheduling for specialized hardware in your Kubernetes clusters, and where do you see
AcceleratorClassmaking the biggest impact on your MLOps workflows? - What’s your organization’s biggest FinOps challenge on Kubernetes, and how might a
CostPolicyAPI help automate or improve it without compromising reliability or performance?