sai3010 / Typesense-Kubernetes-Operator

An operator to manage Typesense clusters on Kubernetes
Apache License 2.0
34 stars 11 forks source link

Typesense-Kubernetes-Operator

An operator for Typesense written in Python. Provides a way to manage Typesense in various deployment configurations. It is currently being worked on to be made production ready.

Please report an issue for improvement suggestions/feedback. This operator is being written with the help of KOPF framework.

Project Scope

The general idea is to make deployment of Tyepsense on kubernetes easy by automating the entire process involved in creation of Typesense cluster

kubectl create -f operator-config.yaml

Quickstart

  1. Use minikube or any other tool to create your own kubernets cluster.
  2. cd deploy

    Deploy the Custom Resource Definition

    kubectl create -f crd.yaml
  3. Deploy rbac
    kubectl create -f rbac.yaml
  4. Deploy the latest operator
    kubectl create -f operator.yaml
  5. Check if operator is up and running
    kubectl get pods 
  6. Once the operator is up and running, define the operator configurations by referring to the section below
  7. Wait for the cluster to be created
    # Get Typesense pod status
    kubectl get pods -n <namespace>

Operator configuration

Upgrade

Cleanup

Getting help

If you encounter any issues while using the operator, you can get help by:

Contributing

You can contribute by:

License

Typesense operator is licensed under the Apache License