sesame-operator

module
v0.0.0-...-d7ad274 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2021 License: Apache-2.0

README

Sesame-operator

Sesame Operator provides a method for packaging, deploying, and managing Sesame. The operator extends the functionality of the Kubernetes API to create, configure, and manage instances of Sesame on behalf of users. It builds upon the basic Kubernetes resource and controller concepts, but includes domain-specific knowledge to automate the entire lifecycle of Sesame. Refer to the official Kubernetes documentation to learn more about the benefits of the operator pattern.

Get Started

Prerequisites

Install the Sesame Operator & Sesame CRDs:

$ kubectl apply -f https://raw.githubusercontent.com/projectsesame/sesame-operator/main/examples/operator/operator.yaml

Verify the deployment is available:

$ kubectl get deploy -n Sesame-operator
NAME               READY   UP-TO-DATE   AVAILABLE   AGE
Sesame-operator   1/1     1            1           1m

Install an instance of the Sesame custom resource:

$ kubectl apply -f https://raw.githubusercontent.com/projectsesame/sesame-operator/main/examples/Sesame/Sesame.yaml

Verify the Sesame custom resource is available:

$ kubectl get Sesame/Sesame-sample
NAME             READY   REASON
Sesame-sample   True    SesameAvailable

Note: It may take several minutes for the Sesame custom resource to become available.

Test with Ingress:

$ kubectl apply -f https://projectsesame.io/examples/kuard.yaml

Verify the example app deployment is available:

$ kubectl get deploy/kuard
NAME    READY   UP-TO-DATE   AVAILABLE   AGE
kuard   3/3     3            3           1m50s

Test the example app:

$ curl -o /dev/null -s -w "%{http_code}\n" http://local.projectsesame.io/
200

Note: A public DNS record exists for "local.projectsesame.io" which is configured to resolve to 127.0.0.1. This allows you to use a real domain name when testing in a kind cluster. If testing on a standard Kubernetes cluster, replace "local.projectsesame.io" with the hostname of kubectl get deploy/kuard.

Contributing

Thanks for taking the time to join our community and start contributing!

Directories

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

Jump to

Keyboard shortcuts

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