lessor

module
v0.0.0-...-0eb5dd4 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2018 License: Apache-2.0

README

Lessor CircleCI

Lessor is a Kubernetes Operator for deploying, managing, and securing multi-tenant workloads.

In addition, here are some other documents that may be helpful:

Introduction

les·sor
noun

a person or company that leases a good or service to an entity according to an agreement

Lessor is a Kubernetes Operator which aims to help manage the lifecycle of multi-tenant workloads. This repo currently contains a very high-level Tenant Custom Resource as well as some Controller functionality. This codebase is mostly being used to experiment with various approaches to multi-tenancy on Kubernetes.

If you're looking to contribute to this project, check out the GitHub Issues and join the #wg-multitenancy channel on the Kubernetes Slack. You can get an invite to Kubernetes Slack here.

How Does It Work?

Tenant Custom Resource

Each complete tenant in your environment is represented by the Tenant Kubernetes custom resource. See an example Custom Resource for a more complete example of the configurable attributes of a tenant.

The following is a minimal example:

apiVersion: lessor.io/v1
kind: Tenant
metadata:
  name: acme-labs
  labels:
    name: acme-labs
spec:
  namespaces:
  - acme-labs
  - acme-labs-dev
  - acme-labs-skunkworks
Controller

Lessor uses the Operator pattern to encode domain-specific operational knowledge into software. The Operator pattern describes using a Kubernetes Custom Resource Definition and a Controller to provide a declarative configuration interface to a self-healing system.

See the Developer Guide for information on building the controller and see the Getting Started Guide for information on binary distributions.

Directories

Path Synopsis
cmd
pkg
apis/lessor.io/v1
Package v1 is the v1 version of the API.
Package v1 is the v1 version of the API.
client/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
client/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
client/clientset/versioned/typed/lessor.io/v1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/clientset/versioned/typed/lessor.io/v1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
env
Package env provides utility functions for loading environment variables with defaults.
Package env provides utility functions for loading environment variables with defaults.

Jump to

Keyboard shortcuts

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