Loading…
Topic
Red Hat OpenShift
22 posts about Red Hat OpenShift. Every summary links to the original.
- 22 posts
- 1 company
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
Posts
Performance testing: Where benchmarks meet reality
Standard benchmarks may not reflect real-world enterprise environments with custom configurations. Red Hat Consulting used kube-burner-ocp to test a customer’s customized OpenShift clusters, including Cilium CNI, Gatekeeper, ScaleOps, and OpenTelemetry injection. The node-density test revealed unusually high PodInitialized latency, which was traced to Cilium returning 429 putEndpointIdTooManyRequests errors during pod sandbox creation. By lowering kube-burner’s –qps and –burst settings from 20 to 5, the team reduced errors from 127 to 0 and latency from 45 seconds to 21 seconds. The engagement demonstrated that platform performance depends on the interaction between infrastructure, networking, security, and operational tooling.
Configure Red Hat OpenShift Lightspeed autonomous agents
Red Hat OpenShift Lightspeed 2 on OpenShift 5 allows configuring autonomous agents that start troubleshooting when a cluster alert fires. The agent inspects cluster resources, reads logs and events, and proposes a fix, then with approval can apply the fix and verify the result. The workflow consists of four tasks: analysis, execution, verification, and escalation, each controllable via an approval policy. Configuration involves installing the operator, setting up alert filtering via a ConfigMap, creating an OLSConfig with the alerts adapter, and defining LLMProvider and Agent custom resources. The feature is a Technology Preview and not supported for production use, but enables testing automated remediation with manual approval gates.
Configure HikariCP for Spring Boot on Red Hat OpenShift 4
Default HikariCP configurations often cause Spring Boot applications on Red Hat OpenShift 4 to stop serving traffic due to exhausted or hung database connections. The guide explains how to configure HikariCP through application.properties, programmatic Java configuration, or application.yaml files. Key settings include fixed pool sizes, connection timeouts, max-lifetime, validation-timeout, and leak-detection-threshold. Five common production scenarios are described, including a single connection-adder thread blocking on network interruptions and container CPU throttling starving Hikari management threads. Troubleshooting tools include leak detection, access logs, and Prometheus metrics queries such as hikaricp_connections_pending. The conclusion recommends matching pool sizes to database capacity, setting connection lifetimes shorter than network timeouts, and ensuring container CPU limits provide adequate quota.
Automate Spring 5.3.x CVE remediation with Lightwell
Spring Framework 5.3.x reached end of open source support on August 31, 2024, and CVE-2025-41249 affects both 5.3.18 and the final 5.3.39 release, leaving no free version to upgrade to. Moving to Spring 6 requires migrating from Java 8 to Java 17 and from the javax namespace to jakarta, a funded project for most teams. The pipeline uses a vulnerability-policy-gate task to evaluate dependency scan results and, when enabled, patches the pom.xml to replace the vulnerable spring-core artifact with a binary-compatible remediated build from Red Hat Lightwell. The pipeline also signs the resulting image with keyless signing via Red Hat Trusted Artifact Signer, pushes an SBOM into Red Hat Trusted Profile Analyzer, and performs a final image check with Red Hat Advanced Cluster Security. Event-Driven Ansible automates the entire response by listening for policy violations from Red Hat Advanced Cluster Security and triggering the remediation workflow without human intervention.
How to inspect, test, and debug MCP servers in Red Hat OpenShift console
Red Hat Connectivity Link 1.5 brings the Model Context Protocol (MCP) gateway to General Availability and introduces a new console plug-in for Red Hat OpenShift. The plug-in provides a setup wizard that creates MCP gateways without manual YAML, and a server registration wizard that binds MCPServerRegistration custom resources to HTTPRoutes. An MCP Overview dashboard displays real-time gateway and server health, along with attached policies such as authentication and rate limiting. The built-in MCP Inspector lets developers discover tools and prompts, execute live tool calls, and inspect raw JSON-RPC request and response payloads. This integration bridges cluster administration and AI developer workflows, enabling teams to scale agent tools with full visibility and governance.
Streamlining Red Hat OpenShift support with the new support log gather operator
The must-gather log archive has been the standard method for providing Red Hat Support with a cluster snapshot, but the process requires cluster administrator credentials and manual steps. The new support log gather operator, now generally available with OpenShift 4.22 and later, introduces a MustGather custom resource that automates collection. Non-admin users can trigger log collection through tightly scoped RBAC, removing the administrator bottleneck. The operator includes built-in must-gather clean capabilities for data obfuscation, addressing compliance requirements that previously prevented some organizations from using the community tool. Future plans include rolling log collection to minimize the time between filing a support request and providing logs.
A day in the life of an NVIDIA H100 on Red Hat OpenShift 5
Dynamic resource allocation (DRA) in Red Hat OpenShift 5 changes how Kubernetes schedules GPUs by publishing each device as an API object with attributes and capacity. The scheduler, not a node-local plugin, matches workloads to devices using ResourceClaims. Six DRA features are demonstrated on a single NVIDIA H100 80 GB card: extended resources, partitionable devices, shared counters, resource health, admin partitions, and binding conditions. Existing manifests requesting nvidia.com/gpu: 1 continue to work unchanged because the DeviceClass maps the extended resource automatically. The DRA driver for NVIDIA GPUs v0.5.1 does not yet support resource health or binding conditions, but the platform side is ready in Red Hat OpenShift 5. Platform teams can support more AI use cases with existing GPU capacity without rewriting manifests or rebooting nodes.
Migrate BuildConfigs to builds for Red Hat OpenShift with one plug-in install
Red Hat OpenShift’s BuildConfigs have built container images for years, but Builds for Red Hat OpenShift, based on Shipwright, offer a Kubernetes-native alternative that runs without root privileges and supports Buildah and S2I strategies. The crane-plugin-buildconfig-to-builds plug-in, an upstream release of the Konveyor Crane project, converts BuildConfigs to Shipwright Build resources with a single install command. The plug-in runs inside Crane’s export, transform, and apply flow, reading and writing only local files without contacting a cluster. Version 0.11.0 handles Git, image, and binary sources, carrying over build args, environment variables, volumes, and other fields, while dropping unsupported features like triggers and the Serial run policy. Warnings are written into the converted build and log, and BuildConfigs that cannot be converted remain unchanged with explanatory annotations.
What's new in Red Hat OpenShift 5 for developers
Red Hat OpenShift 5, based on CRI-O 1.36 and Kubernetes 1.36, introduces developer-focused features across the application lifecycle, including AI agent support via MCP and GPU management with dynamic resource allocation. Red Hat Developer Hub 2.1 extends support from 6 to 10 months and adds an AI assistant with bring-your-own-knowledge protocol and a curated AI catalog plug-in. Podman Desktop gains Podman 6 support with unified machine listings, built-in CA certificate syncing, and a dedicated secrets page for container secrets. OpenShift 5 introduces an MCP server that integrates with OAuth/OIDC, enforces Kubernetes RBAC, defaults to read-only, and tags actions for audit, plus an MCP gateway that screens for PII and prompt injection. Platform enhancements include CEL-based routing in Pipelines 1.24, multistage environment promotions with health gating in GitOps 1.22, and sidecar-less ambient mode in Service Mesh 3.5.
What's new in network observability 1.12
Network observability 1.12 is a new release of Red Hat OpenShift’s optional operator for monitoring network traffic and troubleshooting. Aligned with OpenShift Container Platform 4.22 and backwards-compatible to 4.14, it uses eBPF agents and flowlogs-pipeline (FLP) to collect and enrich network flow data with Kubernetes metadata. New features include TLS tracking for monitoring TLS connections, support for configuring TLS or mTLS between eBPF agents and FLP, Kafka compression with gzip/Snappy/LZ4/zstd, and an FLP shared cache to reduce API server load during boot. The release also simplifies secondary network indexing for Multus CNI by automatically indexing all secondary networks without requiring manual network name lists. Additionally, the predefined metrics configuration now uses additionalIncludeList instead of includeList to add metrics without overriding the default set.
How to run I/O workloads on OpenShift Virtualization VMs
Testing I/O performance at scale across multiple OpenShift Virtualization VMs is challenging due to scattered SSH sessions and ad hoc scripts. The fio-container harness turns multi-VM FIO into a single, repeatable container run using a Python orchestration script. It supports both pre-created VMs and on-demand provisioning (CREATE_VMS=true) for Linux guests based on Fedora or RHEL. The harness handles storage preparation, FIO installation, data pre-write, and cleanup, and collects per-VM JSON results into a single mounted directory. Results can be analyzed with provided Python scripts to generate IOPS and bandwidth graphs for comparing StorageClass configurations or cluster changes.
Integrate Jev decision models with Apache Camel and Red Hat OpenShift
The post provides a step-by-step guide to integrating Jev, a System One decision model from TypeSafe, into enterprise architectures using Apache Camel and Red Hat OpenShift. It demonstrates a coffee ordering example where the model classifies customer requests into drink types or asks for clarification when the input is ambiguous. The guide covers shell-based API calls, defining state and allowed answers, inspecting probabilities and confidence, and applying thresholds in application code. It also discusses clean architecture with a ComplaintClassifier interface and platform-level integration using Camel routes, OpenShift for credentials, and a gateway for capability exposure. The post emphasizes decoupling application policy from model predictions and wrapping external services behind stable contracts to avoid vendor lock-in.
Red Hat Lightspeed advisor self-managed for air-gapped clusters
Red Hat Lightspeed advisor self-managed, now in Developer Preview, brings health analytics and upgrade risk predictions to air-gapped Red Hat OpenShift clusters. The connected advisor was previously unavailable to disconnected environments because it required uploading data to the Hybrid Cloud Console. The self-managed version runs as a Red Hat Advanced Cluster Management for Kubernetes add-on, with the Insights Operator on each spoke cluster redirecting its archive to a local endpoint on the Hub. The Hub processes the archive in place and displays results in the Red Hat Advanced Cluster Management console, ensuring data never leaves the cluster. Upgrade risk predictions draw from a local Thanos instance on the Hub that holds metrics from spoke clusters.
Advanced authentication for Data Grid in Red Hat OpenShift 4: LDAP and LDAPS
This article, part 2 of a series on securing Red Hat Data Grid on OpenShift 4, explains direct LDAP and LDAPS authentication against directory services using the Data Grid operator. The operator references a ConfigMap via spec.configMapName on the Infinispan custom resource to define LDAP server URLs, principal credentials, search DNs, and user role mappings. For LDAPS, the operator imports the directory server certificate into the pod truststore via a secret referenced by spec.security.endpointEncryption.clientCertSecretName, with clientCert set to None, Validate, or Authenticate to control mutual TLS. A test setup deploys OpenLDAP using a Helm chart and configures the security realm; the example uses hardcoded plaintext credentials, but production deployments should use encrypted keystores or OpenShift secrets. The author recommends LDAPS for production to encrypt credentials in transit and positions direct LDAP as a lean alternative to deploying a centralized SSO identity provider like Keycloak.
Advanced authentication for Data Grid in Red Hat OpenShift 4: Keycloak and SSO
The article details configuring authentication for Red Hat Data Grid in Red Hat OpenShift 4 by delegating console access control to single sign-on using Red Hat build of Keycloak. It explains that Data Grid acts as an OIDC client using the public datagrid-console client to initiate the authorization code flow, with Keycloak handling login and redirecting back. The Helm chart values define a security realm with a tokenRealm containing authServerUrl and introspectionUrl, the latter pointing to the internal Keycloak service for OAuth2 introspection. Two Keycloak clients are required: datagrid-console for browser-based authentication and datagrid-client, using a client secret, for token introspection. The article also compares Red Hat build of Keycloak with the deprecated SSO, noting differences in runtime foundation (Quarkus vs JBoss EAP), custom resources, and endpoint paths.
Agentic partners integration: AI support agents for Microsoft Azure Red Hat OpenShift
The operations team troubleshooting production issues on Azure Red Hat OpenShift must already know which tools to reach for, switching between portals, CLI, and dashboards, with tickets arriving incomplete and triage taking hours. The agentic-partners-integration quickstart solves this by connecting a central orchestration layer with domain-specific agents, including a Microsoft Azure MCP Server that exposes Azure resource management operations as MCP tools and an agent that discovers them at runtime. In an OOMKilled investigation, the agent correlates resource health, CPU metrics, and recommendations using a discover-then-execute pattern to produce a data-backed diagnosis. Security is layered: the service principal defaults to Azure Reader role, Open Policy Agent policies gate every request, and each tool call is logged for audit. This pattern extends beyond Azure; any infrastructure backend exposing an MCP server can become an agent capability without framework changes.
High availability for everyone with multi-site Red Hat build of Keycloak on Red Hat OpenShift
Identity and access management failures can lock healthy application workloads, yet high-availability setups for services like Keycloak have historically been operationally complex and tied to heavy cloud architectures. Starting with Red Hat build of Keycloak 26.4, the stateless feature shifts away from cross-site Infinispan cache replication by externalizing session data into a shared synchronous database, keeping local caches isolated per site, and presenting a unified OIDC issuer behind an external load balancer. An active health-check endpoint (/lb-check) enables external load balancers to detect site degradation and route traffic away from a failed site. A dual-site proof of concept using Red Hat OpenShift Local, PostgreSQL synchronous replication, and HAProxy demonstrated that scaling a primary site to zero replicas caused no user interruptions, as token refreshes and OIDC sessions remained valid. Upstream documentation improvements were contributed to clarify hostname alignment, port specification, and router stickiness configuration.
Configure Red Hat OpenShift Dev Spaces for enterprise security
Red Hat OpenShift Dev Spaces can be hardened for enterprise use by centralizing SCM authentication with OAuth, deploying a private OpenVSX extension registry, and enabling IntelliJ IDEA in restricted networks. The SCM integration uses a dedicated OAuth application and the scm-oauth-config Secret in the operator namespace, while disabling the default CA bundle mount reduces etcd overhead but requires an explicit corporate CA ConfigMap with keys ca.crt and githost to prevent TLS failures. A private OpenVSX registry with PostgreSQL-only architecture replaces external extensions, and automated governance rejects prereleases, timestamp builds, oversized patches, and previews through version-aware dependency resolution and idempotent publication tracking. For JetBrains support in air-gapped clusters, administrators mirror IDE tarballs to an internal repository and set editorsDownloadUrls; developers connect via JetBrains Gateway using either dashboard- or gateway-initiated workflows, both relying on an existing oc login session. This configuration gives platform teams oversight of authentication, extensions, and IDE tooling.
Build a multi-tenant platform with OpenShift Dev Spaces
Local developer workstations introduce three concrete operational risks: production-parity risk from environment drift, slow time-to-first-commit for new engineers, and unmanaged security exposure from misconfigured tools. Red Hat OpenShift Dev Spaces addresses these by moving compute and tooling into containerized workspaces running directly on the cluster, with environments declared as code in a devfile. A production deployment requires four-zone namespace isolation separating control (openshift-devspaces), core server (devspaces-checluster), secure asset (devspaces-openvsx), and sandbox (username-devspaces) zones to prevent operator reconciliation from overriding custom configurations. Resource governance uses a two-tier model with defaultContainerResources fallback limits and containerResourceCaps absolute per-container ceilings, while automated cleanup cron jobs (monthly on the 1st) and inactivity idling (after 4 hours) protect etcd health by removing stopped workspaces after 30 days. The guide concludes with next steps for authentication and private extension registries.
Egress network quality of service on Red Hat OpenShift
Network bandwidth is a compressible resource, so setting a flat cap wastes capacity when the link is idle. The real goal is to prioritise production traffic while guaranteeing background workloads a minimum floor, allowing either class to burst to full capacity when the other is idle. The upcoming NetworkQoS CRD in OVN-Kubernetes will bring declarative traffic management, but until then administrators can use Linux traffic control (tc). A hierarchical token bucket (HTB) qdisc tree on the node’s physical interface, with filters matching background traffic by destination IP, provides the desired dynamic prioritisation. In a lab test with 25 Gbps bonded NICs, production traffic maintained 19.5 Gbps under contention while background traffic was throttled to 2.7 Gbps, just above its guaranteed floor.
Related topics
All topics →Weekly digest
The best engineering reads, once a week.