Red Hat OpenShift Container Storage is an integrated collection of cloud storage and data services for the Red Hat OpenShift Container Platform. Packaged as an OpenShift operator, OpenShift Container Storage facilitates simple deployment and management of storage resources.
With OpenShift Container Storage, organizations can address a key challenge of container administration:
What happens if a container running a stateful application fails?
Without persistent storage, applications can lose data, cause revenue loss, and reduce customer satisfaction. Persistent storage solves this problem, but teams still need to answer questions like:
OpenShift Container Storage helps DevOps teams address these implementation questions and build more reliable applications. To help you find the right solution for your infrastructure, this article will explain the benefits, deployment models, and monitoring options for OpenShift Container Storage.
Red Hat OpenShift Container Storage allows organizations to streamline and scale container storage management. The table below outlines the key benefits of OpenShift Container Storage.
OpenShift Container Storage benefits
|Environment Independent||OpenShift Container Storage is not environment-dependent and can run on any underlying infrastructure.|
|High Availability and Disaster Recovery Site||OpenShift Container Storage supports HA and DR sites on all major public cloud platforms.|
|Easily Configurable||OpenShift Container Storage is easy to configure through a user-friendly GUI. When deployed using OpenShift Container Platform, logging, metrics, a configured registry (regardless of the underlying infrastructure), and a storage service for apps, all come pre-configured out of the box.|
|Scalable||OpenShift Container Storage can be configured to be fully automated meaning that it can be set to automatically scale based on changing storage requirements.|
|Customizable Deployment Options||OpenShift Container Storage is highly customizable and offers multiple deployment scenarios catering to various use cases.|
|Built-In Monitoring||OpenShift Container Storage offers in-depth monitoring capabilities that include automated correctional steps and alerts.|
Red Hat OpenShift Container Storage is made available to applications through storage classes representing the following components:
Red Hat OpenShift Container Storage provides automated, scalable, and highly available persistent storage services regardless of environment, from bare metal to VMs to Hybrid cloud.
When you deploy OpenShift with OpenShift Container Storage, you get logging, metrics, and a configured registry regardless of the underlying infrastructure. OpenShift Container Storage also provides a storage service for apps out of the box and HA storage for each OpenShift infrastructure type.
To understand the business value of OpenShift Container Storage’s high availability, let’s compare it to another persistent container solution: AWS Elastic Block Store (EBS). EBS does not provide OpenShift with storage across multiple AWS availability zones. It’s deployed in only one availability zone, so a single failure means you’ve lost your storage and your stateful application.
On the other hand, OpenShift Container Storage is available across availability zones. If one zone fails, the stateful application continues to run because the data is replicated in availability zones. Red Hat delivers this in a cloud provider agnostic fashion and includes the same feature and user experience wherever OpenShift is deployed.
Another advantage of OpenShift Container Storage is it’s fully automated and self-service. Unlike other backend storage options that require pre-provisioning based on the set volume sizes, OpenShift Container Storage is dynamically provisioned upon user request with the storage needed. Once provisioned, users can dynamically extend the storage volume, which saves administrative overhead and reduces downtime.
OpenShift Container Storage also simplifies application scalability. A common way to scale out container-based apps is through shared storage, but most storage for containers today is not shared, including the well-known storage options available like AWD EBS, Azure VDisk, GCP, and VMware VSAN. Shared storage allows apps and multiple containers to write to the shared storage simultaneously.
There are two deployment approaches for the Red Hat OpenShift Container Storage: internal and external.
OpenShift storage containers can be entirely deployed within the OpenShift container platform. This model is called an internal deployment approach. The internal approach offers all the “out-of-the-box deployment” benefits discussed earlier in this article. With the internal approach, there are two different deployment options: simple and optimized.
In simple deployment, the Storage Container co-exists with applications running on the container platform. This type of deployment is best when
OpenShift Container Storage service is available internally to the OpenShift Container Platform running on the following infrastructure:
OpenShift Storage Container services can be configured to run on their own dedicated infrastructure. This is known as an optimized deployment. An optimized approach is best for cases where:
OpenShift Container Storage can make Ceph Storage services available outside of the OpenShift Container Platform cluster. This is known as an external approach because the storage cluster is exposed externally.
The external approach is best when:
OpenShift Container Storage can make services from an external Ceph storage cluster running on the following platforms:
This section will discuss four critical points to monitoring OpenShift Container Storage.
Storage cluster health is a vital aspect of OpenShift Container Storage monitoring. Storage health is visible on the Block and File and Object dashboard in the OpenShift Web Console. Administrators can check health status in the overview pane for both Block and File and Object.
A component is healthy if the health status shows a “Green Tick” like in the screenshot above.
If the cluster is showing a warning or an error status, as shown in the screenshot above, refer to this OpenShift official document for further information.
Metrics are found under the Overview section of the Block and File dashboard. Individual dashboard cards provide cluster information from multiple categories. The available cards are:
Administrators can configure alerts in the Alerting UI, which lets you manage alerts, silences, and alerting rules.
Alerting rules are conditions. An alert is triggered when the condition is true. For example, a rule could be to generate an alert when the storage capacity for a cluster hits a certain percentage or if the cluster goes down.
An alert is generated as soon as the condition is true and is delivered to a user or group of administrators depending on the configuration. Users can also view alerts on their corresponding cards.
Administrators can apply silences to prevent alerting rules from generating further alerts. For example, if the cluster is down and the administrator is already working to resolve the issue, they may want to silence the rule to prevent further alert generation. Silences can also be helpful when performing scheduled maintenance. To learn more about Alerts, visit this OpenShift official documentation.
OpenShift Container Storage collects a carefully chosen subset of the cluster monitoring metric to Red Hat via an integrated “Telemetry” component. Telemetry data is sent in real-time, allowing Red Hat to quickly respond to issues that may impact customers.
A cluster that sends data to Red Hat through Telemetry is called a connected cluster. Please visit this link to learn more about Telemetry and the type of information collected by Telemetry, please visit this link.
Like a resilient, dynamic, and automated persistent storage on any infrastructure, OpenShift Container Storage saves time and money while reducing the risk of human error, which makes it an ideal option for versatile, multi-purpose storage for containerized applications.
The ease of deployment and management, coupled with extensive deployment options independent of the underlying infrastructure, makes it one of the best storage technologies available in the market right now.
When deployed with OpenShift, OpenShift Container Storage comes with many valuable features preconfigured, which makes it an ideal choice for teams using the OpenShift Container Platform.
With multiple deployment options to choose from, it is essential to consider the pros and cons of each. The information we’ve covered here will help you make the right choices. For more details on information on planning, deploying, and managing OpenShift Container Storage, check out this OpenShift knowledge base article.
Subscribe to our LinkedIn Newsletter to receive more educational contentSubscribe now