Giter Club home page Giter Club logo

csi-driver-shared-resource-operator's Introduction

csi-driver-shared-resource-operator

An operator to deploy the Shared Resource CSI Driver in OpenShift.

This operator will eventually be installed by the cluster-storage-operator.

NOTE: at the moment, using this driver is only supported via cloning this repository and executing the commands detailed below.

Quick start

Before running the operator manually, you must remove the operator installed by CSO/CVO. To facilitate that, you should have a clone of the cluster-storage-operator as a peer subdirectory (off of an 'openshift' directory) of your clone of this repository.

# Scale down CVO and CSO
oc scale --replicas=0 deploy/cluster-version-operator -n openshift-cluster-version
oc scale --replicas=0 deploy/cluster-storage-operator -n openshift-cluster-storage-operator

# Delete operator's resources from a clone of the cluster storage operator repository
oc delete -f ../cluster-storage-operator/assets/csidriveroperators/shared-resource/

# Delete operator's operand resources from a clone of this repository
oc delete -f ./assets

To build run make build.

To deploy run make deploy. You can override the images used for the CSI Node Driver Registrar, the image for this operator, the image used for the Shared Resource CSI Driver that this operator deploys and the image used for the Shared Resource CSI Driver Webhook, all via environment variables:

  • NODE_DRIVER_REGISTRAR_IMAGE where the default is quay.io/openshift/origin-csi-node-driver-registrar:latest
  • OPERATOR_IMAGE where the default is quay.io/openshift/origin-csi-driver-shared-resource-operator:latest
  • DRIVER_IMAGE where the default is quay.io/openshift/origin-csi-driver-shared-resource:latest
  • WEBHOOK_IMAGE where the default is quay.io/openshift/origin-csi-driver-shared-resource-webhook:latest

csi-driver-shared-resource-operator's People

Contributors

adambkaplan avatar akram avatar bparees avatar coreydaley avatar deads2k avatar gabemontero avatar jkhelil avatar jsafrane avatar openshift-ci[bot] avatar openshift-merge-robot avatar prietyc123 avatar sebwoj avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.