GithubHelp home page GithubHelp logo

amisevsk / che-workspace-operator-rework Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 496 KB

Proof-of-concept for new workspace operator design.

License: Eclipse Public License 2.0

Dockerfile 0.52% Shell 1.55% Go 96.21% Makefile 1.72%

che-workspace-operator-rework's Introduction

This repository has been merged into the Che workspace operator and is no longer being developed. See PR #36 for details

Che workspace operator

This repo is intended to be a proof-of-concept/proposal for a redesign of the Che workspace operator. The main goals are

  1. Improve the main reconcile loop to delegate time-consuming steps to subcontrollers
  2. Establish a clearer separation of concerns between different components of the controller, and simplify how data flows between different steps in the reconcile loop
  3. Allow workspace routing to contribute to the main workspace deployment, in order to support in-deployment proxy containers for auth
  4. Do full reconciles on all elements of a workspace; if a route is deleted or modified it should be recreated.

The current design doc is in the docs directory.

Testing

The makefile from the main Che workspace operator is ported here. As a result, deploying should be as simple as make deploy. The same environment variables are supported.

One difference currently is that the dockerfile does not include a build step, so the project must be built using operator-sdk instead of make docker:

operator-sdk build <image:tag> \
  --verbose \
  --go-build-args "-o build/_output/bin/che-workspace-operator"

where the build-args are required to make the binary name match what is expected (otherwise it derives from the folder name).

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.