Comments (6)
@mew2057 just for kicks....
I did the following:
- search/replace for
marketplace
toibm-spectrum-scale-csi-driver
in thedeploy/olm-scripts/operator-source.yaml
- applied namespace/secret/olm yamls 👇
[root@c943f4n01-pvt ibm-spectrum-scale-csi-operator]# oc apply -f deploy/namespace.yaml
namespace/ibm-spectrum-scale-csi-driver created
[root@c943f4n01-pvt ibm-spectrum-scale-csi-operator]# oc apply -f /root/csi-operator-ansible/secrets.json -n ibm-spectrum-scale-csi-driver
secret/spectrum-scale-gui-secret created
[root@c943f4n01-pvt ibm-spectrum-scale-csi-operator]# oc apply -f deploy/olm-scripts/operator-source.yaml
clusterrolebinding.rbac.authorization.k8s.io/olm-crb configured
operatorsource.operators.coreos.com/ibm-spectrum-scale-csi-operator-app created
operatorgroup.operators.coreos.com/operator-group created
subscription.operators.coreos.com/oper-sub created
But nothing happened:
[root@c943f4n01-pvt csi-operator-ansible]# oc get pods -n ibm-spectrum-scale-csi-driver
No resources found.
[root@c943f4n01-pvt csi-operator-ansible]#
Any pointers?
from ibm-spectrum-scale-csi.
So this was a documentation gap on my part. In OpenShift you don't need operator-source.yaml
, you need deploy/olm-scripts/operator-source-oc.yaml
.
The operator-source-oc.yaml
file does one thing, subscribe to the CSV. After that you need to access the GUI and set up the operator for use:
https://github.com/IBM/ibm-spectrum-scale-csi-operator/issues/25#issuecomment-557251170
Alternatively, follow this guide https://github.com/operator-framework/community-operators/blob/master/docs/testing-operators.md
from ibm-spectrum-scale-csi.
Here's the Revised documentation:
Option B: Using Operator Lifecycle Manager (OLM)
NOTE: This will be the prefered method. However, work is ongoing.
NOTE: Installing OLM is out of the scope of this document, please refer to the official documentation. If you're still having trouble, this guide goes even deeper.
The following will subscribe the quay.io version of the operator assuming OLM is installed.
cd ${OPERATOR_DIR}/stable/ibm-spectrum-scale-csi-operator-bundle/operators/ibm-spectrum-scale-csi-operator
kubectl apply -f deploy/olm-scripts/operator-source.yaml
NOTE: Kubernetes use
kubectl
command, replace withoc
if deploying in OpenShift.
cd ${OPERATOR_DIR}/stable/ibm-spectrum-scale-csi-operator-bundle/operators/ibm-spectrum-scale-csi-operator
oc apply -f deploy/olm-scripts/operator-source-oc.yaml
from ibm-spectrum-scale-csi.
Also, until we're in OperatorHub this documentation is actually not terribly accurate, this is just a for example. I don't know if we should actually support OLM officially until we're there, because the current model is pointing to a bundle I made by hand that isn't even up to date?
from ibm-spectrum-scale-csi.
This should have been addressed with the GA. OLM instructions here-
https://www.ibm.com/support/knowledgecenter/STXKQY_5.0.4/com.ibm.spectrum.scale.csi.v5r04.doc/bl1csi_install_usingOLM.html
from ibm-spectrum-scale-csi.
Following document provide the mechanism for OLM pre release test.
https://github.com/IBM/ibm-spectrum-scale-csi/blob/dev/tools/ansible/olmupgrade.md
Please reopen if above document is not sufficient
from ibm-spectrum-scale-csi.
Related Issues (20)
- Nodepublish is taking approx 3 mins to complete HOT 2
- race condition happens when shallow copy pvc and snapshot are deleted together HOT 1
- CSI doc changes for 2.10.1 HOT 2
- CSI 2.10.1 checklist HOT 1
- Scale GUI not returning list of remote filesystems HOT 1
- update copyright statement in source code HOT 2
- Shallow copy pod on OCP with RHEL worker nodes environment stays in CreateContainerError State HOT 2
- 50k fileset creation and testing HOT 1
- version 1 PV does not get deleted when fs name of remote cluster is renamed
- CSI 2.11 GA checklist
- Support for mutiple snapshot creation/deletion per CG
- CSO status become false in upgrade from 2.10.1 to 2.11.0
- driver is giving warnung error as "Unable to retrieve some image pull secrets" on k8s cluster
- Shallow copy testing on RW setup
- Support for k8s1.29
- CSO status is true if we edit CSI secret with wrong user
- Currency updates for CSI 2.12
- Feature to support password rotation in the CSI operator and driver HOT 1
- Optimise PVC provision time HOT 1
- Support for ReadOnlyMany in the volume mount in Pods
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ibm-spectrum-scale-csi.