I've recently needed to install the min.io operator and noticed that it's not available using a unmodified version of the OperatorHub Configuration. By default, okd4 only enables the 'community-operators' source which does not contain minio. So here's how to enable it:
First, log in to the cluster:
[13:03:00 - archy@helper01 ~]$ oc login -u 'archy' -p '' --insecure-skip-tls-verify 'https://api.okd.archyslife.lan:6443'
Next, we need to edit the operatorhub's spec.sources list:
[13:03:12 - archy@helper01 ~]$ oc edit operatorhubs.config.openshift.io/cluster
spec:
disableAllDefaultSources: true
sources:
- disabled: false
name: community-operators
- disabled: false
name: certified-operators
After the manifest has been applied, check the available operator sources in the WebUI and pods:
[13:05:24 - agerth@helper01 ~]$ oc -n openshift-marketplace get pods -o wide --field-selector status.phase=Running
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
certified-operators-9gdjv 1/1 Running 0 52s 10.128.0.152 master01.okd.archyslife.lan <none> <none>
community-operators-c5f6c 1/1 Running 0 5h53m 10.128.0.120 master01.okd.archyslife.lan <none> <none>
marketplace-operator-6874dc8464-8nz8h 1/1 Running 0 5d 10.129.0.19 master03.okd.archyslife.lan <none> <none>
The min.io Operator should now be available to install through the openshift console.
Feel free to comment and / or suggest a topic.
Comments
Post a Comment