Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 1.54 KB

SF2.0.md

File metadata and controls

20 lines (12 loc) · 1.54 KB

Service Fabrik 2.0

How to bring your own provisioner/operator

Basic principle of how a operator can be brought in SF2.0 is depicted in the below picture.

Missing

To bring in a new provisioner, one has to bring in their own service and plans as described here. Service Fabrik defines SFService and SFSplans which are the CRDs defined by the framework. The structure of these CRDs are well described here.

  1. Add your services, similar to this and plans similar to this.

  2. Make sure the templates are added properly in the plan metadata, simialr to this.

  3. Start your operator and do the following:

    1. Register the CRD with Service Fabrik APIServer.
    2. Start watching on the CRD for state change.
    3. Process create/update/delete depending on the state change.