rpaas-operator

command module
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: BSD-3-Clause Imports: 10 Imported by: 0

README

RPaaS Operator

This project has two parts: operator and API

Operator

The operator is responsible for managing RPaaS instances running inside the cluster.

Running locally
make local
Running in Kubernetes
  • build the docker image: make build
  • push the image to a registry accessible from your cluster: docker push ...
  • make deploy

API

The API doesn't need to run inside Kubernetes, but it needs credentials to access Kubernetes API, to manage RPaaS instances, binds and plans.

It follows tsuru service API contract.

Running locally

To run outside the cluster, it needs a KUBECONFIG env var, pointing to your Kubernetes configuration. Start the API with:

make api
Running in Kubernetes

When running inside the cluster, the API knows how to get the required credentials. Follow these steps:

  • build the docker image: docker build . -t my-registry/tsuru/rpaas-api
  • push the image to a registry accessible from your cluster: docker push my-registry/tsuru/rpaas-api
  • start with kubectl apply -f deploy/api.yaml

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1alpha1
Package v1alpha1 contains API Schema definitions for the extensions v1alpha1 API group +kubebuilder:object:generate=true +groupName=extensions.tsuru.io
Package v1alpha1 contains API Schema definitions for the extensions v1alpha1 API group +kubebuilder:object:generate=true +groupName=extensions.tsuru.io
cmd
api
internal
web
pkg
web

Jump to

Keyboard shortcuts

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