Zoyinc
  • Home
  • Contact
  • Categories
    • CD Archiving
    • GIMP
    • Linux
    • MythTV
    • Open Media Vault
    • Technology
    • VMware
    • WordPress
    • YouTube
  • About


Add Catalog Sources To OperatorHub

By

Tony

,

February 7, 2021

If you have followed my post OKD 4.5 small cluster on ESX you find that when you look at the OperatorHub in OKD you only see the community operators.

The problem appears to be that an out of the box OKD install only has the “Community Operators” enabled. The trick is to enable the rest.

Navigate to:

Administration | Cluster Settings | Global Configuration | OperatorHub

As you can see “community-operators” is the only enabled source. To enable sources you should be able to do:

For some reason that doesn’t seem to be working so you need to edit the YAML for OperatorHub

Initially the bottom of the yaml will look like:

spec:
  disableAllDefaultSources: true
  sources:
    - disabled: false
      name: community-operators
status:
  sources:
    - disabled: true
      name: redhat-marketplace
      status: Success
    - disabled: true
      name: redhat-operators
      status: Success
    - disabled: true
      name: certified-operators
      status: Success
    - disabled: false
      name: community-operators
      status: Success

You need to add the disable sources and modify the status. When you are finished this should look like:

spec:
  disableAllDefaultSources: true
  sources:
    - disabled: false
      name: community-operators
    - disabled: false
      name: redhat-marketplace
    - disabled: false
      name: redhat-operators
    - disabled: false
      name: certified-operators
status:
  sources:
    - disabled: false
      name: redhat-marketplace
      status: Success
    - disabled: false
      name: redhat-operators
      status: Success
    - disabled: false
      name: certified-operators
      status: Success
    - disabled: false
      name: community-operators
      status: Success

If you look at the pods for openshift-marketplace you will now see

if you give it a bit of time the pods will update and will list all the operators:

You will now also see all the provider types showing in OperatorHub

Adding operatorhub.io as a catalog source

Now you have all the default sources working a good extra one to add is OperatorHub.io, which is:

Operators have been publicized as a concept of Kubernetes native services in 2016 by CoreOS. Since then, significant momentum has built up in the Kubernetes community around the idea to put operational logic into software running on top of the cluster.

While there are several approaches to implement Operators yielding the same level of integration with Kubernetes, what has been missing is a central location to find the wide array of great Operators that have been built by the community. OperatorHub.io aims to be that central location.

In addition to a community-sourced index of Operators, OperatorHub.io also ensures that the set of Operators are packaged for easy deployment and management on any Kubernetes cluster. Contributors of Operators not only get a chance to publicize their work but provide end users an easy way to start using them. To that end the packaging of the Operators indexed in OperatorHub.io relies on the Operator Lifecycle Manager to install, manage and update Operators consistently on any Kubernetes cluster.

There is also an excellent page, from Red Hat, describing adding extra sources OpenShift 4.3: Managing Catalog Sources in the OpenShift Web Console

Steps

Again to go:

oc get opsrc -n openshift-marketplace

Then you will likely see

Administration | Cluster Settings | Global Configuration | OperatorHub

From her click on “Create Catalog Source”:

Populate it as:

Catalog source name: operatorhubio-operators
Display name: OperatorHub.io Operators
Publisher name: OperatorHub.io
Image (URL of container image): quay.io/operator-framework/upstream-community-operators:latest
Availability: Cluster-wide catalog source

So it looks like:

After a few minutes you will see it populated along with the other sources:

Related

Failed to list *v1.ConfigMap
OKD 4.5 small cluster on ESX
Restored OKD Cluster Not Starting
Installing Tomcat 9 behind Apache on CentOS 7
Recent

  • AlmaLinux GUI – no taskbar or application shortcuts

    AlmaLinux GUI – no taskbar or application shortcuts

  • AlmaLinux 9.5 base VM

    AlmaLinux 9.5 base VM

  • Reset Kodi thumbnails

    Reset Kodi thumbnails

  • Set default settings values in Kodi skins

    Set default settings values in Kodi skins

  • Add/Remove/Reset music/video libraries in Kodi

    Add/Remove/Reset music/video libraries in Kodi

  • Zoyinc Kodi skin on Sony TV

    Zoyinc Kodi skin on Sony TV

  • [L] – WordPress UAM Locked Post

    [L] – WordPress UAM Locked Post

  • Import Pictures and Videos – images not previewed

    Import Pictures and Videos – images not previewed

  • Find My Train

    Find My Train

  • WordPress style name not visible

    WordPress style name not visible

About Zoyinc

  • Contact Us
  • Zoyinc Disclaimer
  • Google Search Console
  • Privacy Policy
  • Site Statistics
  • Login

Apache Auckland Backup CD CentOS Centos7 Children Configuration Debian Error ESX ESXi Fedora Firewall Install Josh Kids Kodi Linux MariaDB MySQL MythTV New Zealand OKD OMV Open Media Vault OpenShift PHP Player Python RAID RedHat Red Hat Rip School Setup SMB SonicWALL Spark tags Train Trains VLAN VM VMware Weaver Windows WordPress YouTube

Powered by

This site is licensed under a Creative Commons Attribution 4.0 International License.