How to Partition AMD GPUs for Shared AI Compute
A five-step how-to for deciding when an AMD Instinct GPU should stay dedicated and when SR-IOV virtual functions, VMs, or sidecar isolation can safely share it.
Loading…
Topic
32 posts about OpenShift. Every summary links to the original.
See the idea
A five-step how-to for deciding when an AMD Instinct GPU should stay dedicated and when SR-IOV virtual functions, VMs, or sidecar isolation can safely share it.
Argo CD is a GitOps controller that treats Git as the desired state and continuously reconciles it against what actually runs in each cluster. It maps the parts of that loop and why pull-based agents change its scale.
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Red Hat JBoss EAP 8.2 Beta is now available, providing a cloud-native Jakarta EE 10 platform for modern enterprise workloads. The release adds early support for Java SE 25, which removes the legacy SecurityManager, requiring configuration changes. Automated container provisioning with WildFly Glow (Technology Preview) statically inspects deployable archives to calculate minimal runtime server profiles. An updated bootable JAR runtime packages application code with a trimmed JBoss EAP runtime for Red Hat OpenShift deployments. Security updates include OIDC frontchannel and backchannel logout, built-in authentication rate-limiting, and build-time Hibernate ORM bytecode enhancement for faster startup.
The .NET 11 release is now available for Red Hat Enterprise Linux 8.10, 9.9, 10.3, and Red Hat OpenShift. It includes the C# 15 and F# 11 SDKs, with C# adding support for union types. Runtime async moves async/await handling from compiler-generated state machines into the runtime, reducing allocations and improving performance. ASP.NET Core 11.0 updates to OpenAPI 3.2, enables automatic cross-site request forgery protection, and introduces Zstandard response compression. Standard-term support for .NET 11 lasts 2 years, until November 2028, and .NET 10 is also supported until that date.
Payment platforms must protect payment account data while enabling authorized workflows, and PCI DSS provides a framework for balancing security and access. For self-managed deployments, organizations can combine MongoDB Enterprise Advanced with Red Hat OpenShift and the MongoDB Controllers for Kubernetes (MCK) Operator to implement a defense-in-depth architecture across three tiers. The application layer enforces data minimization, tokenizes primary account numbers, and isolates external clients through an API gateway, reducing unnecessary exposure. The database layer uses queryable encryption to keep selected fields encrypted while supporting defined queries, with keys managed by a separate key management service, and supplements this with role-based access control, IP-based authentication, and auditing. Infrastructure controls via OpenShift NetworkPolicies restrict workload communication, while Ops Manager handles automation and backup, and together these layered controls support PCI DSS objectives such as protecting stored data, restricting access, and monitoring activity.
Red Hat AI 3.6 introduces a bring-your-own-agent strategy using OpenShell sandboxes, and the Omnigent project provides a meta-harness for running multiple AI agents such as Claude Code, Codex, Pi, and Goose under a common UI. This article demonstrates deploying Omnigent on Red Hat OpenShift with OpenShell, covering a custom UBI-based sandbox image, OpenShell profiles and providers for credential injection from GitHub, OpenAI, and Antigravity, and deployment via Kustomization overlays. The integration enables real-time session sharing and collaboration across devices while enforcing policies, network restrictions, and file system lockdown, with credential masking and policy violation detection via the OpenShell terminal. Agents inside the sandbox run with BubbleWrap for additional defense in depth, and the design prevents file passing at runtime to maintain separation of concerns. Future improvements include per-harness sandbox images, external CLI connections, and automatic sandbox suspension on session stop.
This article describes an architecture that runs Red Hat Enterprise Linux CoreOS workers on NVIDIA BlueField-3 DPU Arm cores, with the control plane hosted on a management OpenShift cluster using HyperShift hosted control planes. The DPF HCP Provisioner Operator connects the management cluster to the DPU cluster, creating the HostedCluster and NodePool, and preparing BlueField-specific Ignition configuration. Installation uses a BFB boot image to launch the environment and a BlueField OS image that combines the target OpenShift node image with NVIDIA software and adaptations. NVIDIA software is built into the RHCOS image at build time, with out-of-tree kernel modules built against the target kernel and signed for UEFI Secure Boot. OVN-Kubernetes in DPU mode handles x86 host networking, while Flannel provides the hosted DPU cluster’s pod network, and the HCP provisioner retrieves the HyperShift Ignition payload to add BlueField-specific files and systemd units.
Lightbits is now a certified Cinder driver for Red Hat OpenStack Services on OpenShift, tested on release 18.0.22 with driver version 2.3.12. Certification means that if an issue involves the partner component, Red Hat provides standard support and SLA while collaborating with the partner, rather than bouncing the customer back to the storage vendor. The driver ships from upstream OpenStack without forking or patching, and deployment uses standard OpenStackControlPlane custom resources and a discovery client on each compute node. New features covered include boot from volume, create volume from image, snapshot, backup, retype, and multi-attach. Retype is expected to be the most common operation for adopting Lightbits, allowing volume migration across backends using standard Cinder calls.
The log normalizer operator for Red Hat OpenShift injects a sidecar into selected pods to normalize heterogeneous log formats without application code changes. It detects formats such as JSON, klog, Zap console, logfmt, and plain text, reassembles multiline entries like stack traces, and emits a consistent structured JSON record. A Drain-style template miner clusters structurally similar lines and assigns template IDs as additional metadata. The sidecar attaches Kubernetes resource attributes and promotes trace and span IDs from common field names to top-level fields for correlation. Normalized records remain available through kubectl logs and can optionally be exported over OTLP to an OpenTelemetry collector.
This article explores the JGroups KUBE_PING discovery protocol for clustering JBoss EAP 7 and JBoss EAP 8 in Red Hat OpenShift 4. KUBE_PING queries the Kubernetes API directly for pod IP addresses, then filters them by namespace and labels to establish peer-to-peer TCP connections. Configuring KUBE_PING requires setting three environment variables: JGROUPS_PING_PROTOCOL, KUBERNETES_NAMESPACE, and KUBERNETES_LABELS. The default service account must be granted the view role on the namespace to avoid HTTP 403 errors. In JBoss EAP 8, clustering is not enabled by default and must be provisioned via Galleon layers during the build process.
Red Hat Quay is a container image registry with multiple configurable components, and a large enterprise customer experienced pull failures under load across 160 nodes. The team developed a systematic profiling method to answer how many concurrent pulls Quay can handle, testing a specific configuration with 2 Quay replicas, NooBaa storage, and HAProxy. They identified three bottlenecks: NooBaa storage saturation, test client limitations due to Python’s GIL, and kubelet PID exhaustion. Scaling NooBaa from 4 to 6 endpoints more than doubled throughput and recovered from 49% failure to 100% success. Final recommendations for 2 vCPU Quay were 25 concurrent pulls with 0.22 img/s, scaling to 16 vCPU with 300 concurrency and 0.56 img/s, though the 16 vCPU ceiling reflects a single test client limitation.
Enterprise customers deploying third-party applications on Red Hat OpenShift often encounter vendors claiming Kubernetes support without addressing the underlying architectural changes needed for containerization. These applications are frequently repackaged from legacy virtual machines, retain tight pod interdependencies, and demand cluster-admin privileges or unrestricted security context constraints, violating OpenShift’s default restricted-v2 SCC. Many products fail to support parallel dev, test, and staging environments because they depend on cluster-scoped resources, and they rely on legacy NFS shared storage instead of dynamic provisioning via OpenShift Data Foundation. Avoiding these pitfalls requires formal architectural reviews with vendor engineering, strict enforcement of non-root execution within defined SCC policies, and conversion of manual vendor scripts into declarative Helm charts managed through GitOps. Consultants must also manage expectations with evidence-based feedback and ensure thorough knowledge transfer so the customer’s own engineering team can maintain a clean, repeatable platform.
Model Context Protocol (MCP) allows an agent to use tools across enterprise systems, but a shared MCP gateway requires a policy boundary beyond authentication. The article describes using Red Hat Connectivity Link (RHCL) AuthPolicy to validate OIDC or JWT credentials and then authorize per-tool access based on roles in the identity provider claims. NetworkPolicy controls which workloads can communicate with the gateway and MCP servers, while RateLimitPolicy limits request volume. Gateway isolation can be achieved with separate gateway instances or a shared gateway with isolated listeners, each with its own MCPGatewayExtension. These controls map to OWASP risks for LLM and agentic applications, including excessive agency, unbounded consumption, tool misuse, and identity abuse.
Scaling OpenShift Dev Spaces in air-gapped environments requires addressing four friction points: third-party monitoring agents, rootless container runtimes, custom install namespaces, and admission webhooks. Dynatrace OneAgent sidecar conflicts are resolved by labeling all Dev Spaces namespaces with dynatrace.com/inject: “false” to prevent init container injection. Rootless Podman inside workspace pods needs user namespace UID/GID ranges respecting a 65,536 UID ceiling; UDI 3.22 requires a manual script with a corrected range, while UDI 3.26 handles mapping automatically. Stale admission webhooks from a previous operator install namespace must be manually deleted before reinstalling into a different namespace to avoid conflicting definitions. A readiness checklist includes mirroring operator catalogs, deploying an internal Open VSX server with PostgreSQL, configuring PKI trust via ConfigMap, and disabling the default devfile registry.
The post overviews recent memory management evolutions in Red Hat OpenShift Virtualization, spanning from the Linux kernel to the orchestration planes. Historically, the platform uses a 1:1 memory request mapping, but data shows most VMs use only about 20% of allocated RAM, creating a delta that scales infrastructure with workload definitions rather than demand. Node-level optimizations include free page reporting (FPR), which asynchronously recovers pages freed by the guest OS without forcing allocation like ballooning, and KSM zero pages for guest-agnostic deduplication of zero-filled memory. At the cluster level, Multi-Gen LRU integrated with control groups enables swapping to fast secondary NVMe storage, and a PSI-aware descheduler proactively migrates VMs to relieve memory pressure across nodes. OpenShift Virtualization 4.22 provides an autopilot feature that automates configuration for generally available memory optimizations, while developer preview capabilities require manual opt-in activation by default.
Sharding etcd on hosted control planes splits the key-value store into multiple instances by resource kind, a tech preview feature tested with a main shard for cluster state and a dedicated events shard on Red Hat OpenShift 4.21 with HyperShift. Under event pressure from synthetic storms and realistic crashlooping pods, the sharded configuration showed up to 96% fewer slow applies, faster compaction and raft snapshot durations, and 60% more WAL fsyncs and 90% more backend commits combined. The sharded arm never failed the event storm workload, while the standard arm occasionally did. Pod-ready latencies and workload finish times remained comparable across both configurations. The trade-offs are roughly 1.8 to 2.3 times the etcd container memory and a compaction regression under large custom resource quota pressure that is still under investigation.
Red Hat’s emerging technologies team built IdeaBot, an AI-enabled SaaS platform on OpenShift that automates innovation workflows from initial concept to a standardized idea report. The platform guides users through four stages—discovery, research, refinement, and synthesis—using conversational interviews, automated research across internal and external sources, a curation board with confidence scoring, and a synthesis view that compiles deliverables like executive summaries and market analysis. Security enforces session isolation in dedicated pods, credential isolation through an auth proxy and token service that injects short-lived tokens, and stateless compute with PostgreSQL persistence and a warm pod pool to reduce cold starts. Development uses EARS syntax and Gherkin feature files to drive behavior-driven development, enabling automated test generation and reproducible builds. Red Hat plans to extend IdeaBot toward fully autonomous, reproducible agentic SDLC pipelines using factory patterns.
A platform engineer traces why a non-root OpenShift container configured with CAP_NET_RAW still fails ping with Operation not permitted. The root cause is that SCC is only an admission-time gate that does not enforce runtime privileges. CRI-O translates the PodSpec into an OCI spec with the capability in the Bounding, Effective, and Permitted sets but deliberately omits ambient capabilities. During the runtime’s UID transition from root to the target non-root user, the kernel clears both Permitted and Effective sets, leaving an empty CapEff. The only mechanism that survives a UID transition for non-root processes is ambient capabilities, which CRI-O intentionally avoids to preserve the Kubernetes assumption that switching to a non-root user drops capabilities. To resolve this, file capabilities can be applied directly to the binary via setcap, avoiding the need for ambient capabilities.
Kube AuthKit is a lightweight Python library that unifies Kubernetes and OpenShift authentication behind a single API, eliminating conditional code paths across local, pod, notebook, and CI/CD environments. It supports four strategies—kubeconfig, in-cluster, OIDC, and OpenShift OAuth—auto-detected by an AuthFactory that probes environment variables and in-cluster markers in a defined order. The library handles token lifecycle transparently, with in-memory storage by default and optional OS keyring persistence for local development to avoid repeated logins. It provides two OIDC flows: device code for headless environments and authorization code with PKCE for interactive applications, both with automatic token refresh. Kube AuthKit returns a standard Kubernetes Python client ApiClient, ensuring full compatibility with the official library, and is actively maintained by the Open Data Hub community for OpenShift AI environments.
The Kubernetes device plugin model treats GPUs as anonymous integers, making fair sharing impossible because a full 80 GB GPU and a 5 GB partition both consume ‘1’ from the same quota. Dynamic resource allocation (DRA), generally available in Kubernetes 1.34, replaces this by having drivers advertise real device attributes like memory and compute capability, but DRA alone does not address quota management or preemption. Red Hat build of Kueue 1.4 on Red Hat OpenShift integrates with DRA to enforce quota, borrowing, and preemption for both whole GPUs and partitionable devices using device-count or counter-based memory accounting. For partitionable GPUs, Kueue reads counter data from DRA drivers and charges GPU memory against ClusterQueue quota instead of device count, enabling accurate fair sharing between training and inference workloads. Future developments include extended resources for simpler adoption without ResourceClaimTemplates, consumable capacity for dynamic time-slicing, and scheduler-library integration to verify scheduling feasibility.
Enterprise AI environments are moving from dedicated GPU servers to shared accelerator infrastructure, requiring higher GPU utilization with strong isolation. AMD Instinct MI300X GPUs support hardware-assisted SR-IOV in CPX mode, each exposing eight virtual functions with separate PCI and VRAM allocation. When integrated with Red Hat OpenStack Services on OpenShift, the control plane runs on OpenShift while RHEL compute nodes use EDPM, with Nova scheduling VFs via VFIO PCI passthrough. Validation on an 8-GPU system created 64 VFs, demonstrated 64 VMs with one VF each, and tested up to 32 VFs per VM. BabelStream benchmarks showed approximately 96-99% of bare-metal memory bandwidth, while the testing also identified limitations in GPU peer-to-peer DMA and runtime VF lifecycle.
Red Hat JBoss Web Server 7, based on Apache Tomcat 11 and Jakarta EE 11, requires Java 17 as the new minimum and drops support for Java 11. Jakarta EE 11 does not require another import rename but adds a RecordELResolver for records and an OptionalELResolver for optionals. Tomcat 11 changes parameter parsing to throw exceptions on malformed requests, reduces maxParameterCount to 1,000 from 10,000, removes FailedRequestFilter and HTTP/2 push, and retains quotes in cookie values per RFC 6265. The Java SecurityManager is removed, UBI 8 images are discontinued for UBI 9, Prometheus is no longer bundled, and Red Hat recommends container isolation as replacement. Teams must confirm Java 17 readiness, check for SecurityManager usage, update their base image pipeline, and note that Spring Boot 4 on JWS 7 is unsupported.
The best engineering reads, once a week.