Skip to content

Latest commit

 

History

History
75 lines (50 loc) · 2.55 KB

README.md

File metadata and controls

75 lines (50 loc) · 2.55 KB

codeflare-operator

Operator for installation and lifecycle management of CodeFlare distributed workload stack, starting with MCAD and InstaScale

CodeFlare Stack Compatibility Matrix

Component Version
CodeFlare Operator v0.0.4
Multi-Cluster App Dispatcher v1.31.0
CodeFlare-SDK v0.4.4
InstaScale v0.0.4
KubeRay v0.5.0

Development

Testing

The e2e tests can be executed locally by running the following commands:

  1. Use an existing cluster, or set up a test cluster, e.g.:

    # Create a KinD cluster
    $ kind create cluster --image kindest/node:v1.25.8
    # Install the CRDs
    $ make install
  2. Start the operator locally:

    $ make run

    Alternatively, You can run the operator from your IDE / debugger.

  3. Set up the test CodeFlare stack:

    $ make setup-e2e
  4. In a separate terminal, run the e2e suite:

    $ make test-e2e

    Alternatively, You can run the e2e test(s) from your IDE / debugger.

Release

Prerequisite:

Release steps:

  1. Invoke tag-and-build.yml GitHub action, this action will create a repository tag, build and push operator image.

  2. Check result of tag-and-build.yml GitHub action, it should pass.

  3. Verify that compatibility matrix in README was properly updated.

  4. Verify that opened pull request to OpenShift community operators repository has proper content.

  5. Once PR is merged, update component stable tags to point at the latest image release.

  6. Announce the new release in slack and mail lists, if any.

  7. Update the Distributed Workloads component in ODH (also copy/update the compatibility matrix).