kubelitedb

command module
v0.0.0-...-25d5949 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

README

Note: sqlite is a file based database, so this is an antipattern, this repo is just for learning how to build controllers and plugins on top of k8s. Use at your own risk :). If there is any interest, I can expand and add support for automatic backups, there might be some interest for Edge computing and IoT data collection.

KubeLiteDB

KubeLiteDB is an open-source project that provides a Kubernetes Custom Resource Definition (CRD) and operator for managing SQLite instances within a Kubernetes cluster. This project enables users to deploy and manage lightweight, ephemeral SQLite databases easily, leveraging Kubernetes' scalability and orchestration capabilities.

Features

  • Custom Resource Definition (CRD): Define and manage SQLite instances using Kubernetes-native APIs.
  • Lightweight Databases: Perfect for development, testing, edge computing, and microservices.
  • Ephemeral and Persistent Storage: Support for both temporary and persistent storage configurations.
  • Easy Deployment: Simplify database provisioning and management in your Kubernetes clusters.
  • Scalability: Deploy multiple isolated SQLite instances with ease.
  • Auto Backups: Configure the SQLite instances to automatically backup using cronjobs.

Use Cases

  • Development and testing environments
  • Edge computing and IoT data collection
  • Microservices and serverless architectures
  • Offline-first applications
  • Local analytics and reporting

Getting Started

  1. Install the CRD

    kubectl apply -f artifacts/crd.yaml
    
  2. Deploy a SQLite Instance

    kubectl apply -f artifacts/example-sqlite-instance.yaml
    

Contributing

We welcome contributions from the community. Please read our contributing guide to get started.

License

This project is licensed under the Apache License, Version 2.0. See LICENSE for more information.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
apis/kubelitedb/v1
Package v1 is the v1 version of the API.
Package v1 is the v1 version of the API.
generated/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
generated/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
generated/clientset/versioned/typed/kubelitedb/v1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
generated/clientset/versioned/typed/kubelitedb/v1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL