FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

f1g0n4cc1/openserverless: Apache OpenServerless (incubating) · GitHub

 
 

Latest commit

 

History

68 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenServerless Operator (Python)

This repository hosts the OpenServerless Operator, a Python-based Kubernetes operator responsible for managing the OpenServerless platform components (OpenWhisk, Storage, Security, etc.).

Architecture

This operator is built using Kopf (Kybernetes Operator Framework) and follows a Plugin-Based Architecture.

  • Core Logic: operator/openserverless/
  • Plugins: operator/openserverless/plugins/
    • openwhisk: Manages OpenWhisk controller/invoker.
    • storage: Manages MinIO/SeaweedFS.
  • Security: Enforces strict schema validation (schema.py) and secure authentication (Hydra-compliant).

Directory Structure

.
├── operator/               # Main Operator Code
│   ├── openserverless/     # Python Package
│   │   ├── plugins/        # Reconciliation Plugins
│   │   ├── config.py       # Secure Configuration
│   │   └── main.py         # Entry Point
│   ├── Dockerfile          # Container Build
│   └── requirements.txt    # Dependencies
├── runtimes/               # Runtime Definitions (Reference)
└── run_operator.ps1        # Local Helper Script

Getting Started

Prerequisites

  • Python 3.11+
  • Kubernetes Cluster (and kubectl configured)

Running Locally

To run the operator locally against your current K8s context:

.\run_operator.ps1

Deployment

Build the Docker image:

cd operator
docker build -t my-openserverless-operator .

Contributing

  1. New Plugins: Add a new class in operator/openserverless/plugins/ inheriting from BasePlugin.
  2. Register: Add your plugin instance to the PLUGINS list in main.py.

About

Apache OpenServerless (incubating)

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages


Back | FazBrowse Home | New Git URL