订阅我们的博客

Adding new functionality to your OpenShift cluster has always been easy. In fact, it's as easy as discovering and installing operators from the embedded OperatorHub in the OpenShift Web Console. To keep this process as simple as possible, operator developers can now specify exactly what namespace their operator should be installed to. The OpenShift Web Console then suggests that namespace as a default when installing. And if it doesn’t already exist, the OpenShift Web Console will create it for you right from the installation flow—while letting you know, of course. So with that said, let's take a look at how it all works.

Installing an operator to a predefined namespace

Certain operators benefit from being installed to a particular namespace, which has previously been conveyed through that operator’s documentation. While this has been a fine approach, operator developers can now encode that information into their operator for even easier installation by the cluster admins.

 

As you can see here, this user is installing the Cluster Logging operator which indicates it has a recommended installation namespace of openshift-logging. This namespace is selected as the installation namespace by default, allowing admins to quickly move through the operator installation process and get to logging (or whatever features the operator may enable).

In this particular cluster, the openshift-logging namespace doesn’t yet exist, and the console indicates that it will be created for the operator to be installed in. This is just one more way the install process is simplified.

 

The recommended installation namespace is just that: a recommendation. If an admin needs to install the operator to another namespace, it’s just as easy as flipping the toggle and choosing from an existing namespace.

Monitoring a new installation namespace

 

Operator developers may also suggest that admins allow the namespace their operator is installed in to be monitored by logging, which is helpful for keeping track of metrics exposed by the operator. This option is presented right along with the newly created namespace, which is deselected by default so that you can deliberately opt in.

Keep improving

Making sure operators are easy to find and install is a top priority for OperatorHub in OpenShift, and we are continuing to work towards that goal with features like this that fast track the installation process. Expect more features to come that offer even more ways to find operators that are right for you, and more clarity into the operator installation process.

If you are just getting started with OpenShift or want to try these features now, visit the newly revamped Try OpenShift site to get instant access to a cluster. If you’d like to learn more about what the OpenShift design team is up to, check out our github design repo, or if you are interested in providing any feedback on any of the new 4.4 features or have suggestions for the future, please take this brief 3-minute survey.


关于作者

按频道浏览

automation icon

自动化

有关技术、团队和环境 IT 自动化的最新信息

AI icon

人工智能

平台更新使客户可以在任何地方运行人工智能工作负载

open hybrid cloud icon

开放混合云

了解我们如何利用混合云构建更灵活的未来

security icon

安全防护

有关我们如何跨环境和技术减少风险的最新信息

edge icon

边缘计算

简化边缘运维的平台更新

Infrastructure icon

基础架构

全球领先企业 Linux 平台的最新动态

application development icon

应用领域

我们针对最严峻的应用挑战的解决方案

Original series icon

原创节目

关于企业技术领域的创客和领导者们有趣的故事