Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xline-kv/xline-operator
The xline-operator is a powerful tool designed to automate the process of bootstrapping, monitoring, snapshotting, and recovering an xline cluster on Kubernetes.
https://github.com/xline-kv/xline-operator
Last synced: 3 months ago
JSON representation
The xline-operator is a powerful tool designed to automate the process of bootstrapping, monitoring, snapshotting, and recovering an xline cluster on Kubernetes.
- Host: GitHub
- URL: https://github.com/xline-kv/xline-operator
- Owner: xline-kv
- License: apache-2.0
- Created: 2023-07-04T03:46:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-19T14:07:31.000Z (9 months ago)
- Last Synced: 2024-06-21T15:35:59.132Z (5 months ago)
- Language: Go
- Homepage:
- Size: 208 KB
- Stars: 16
- Watchers: 8
- Forks: 5
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-cloud-native - xline-operator - A powerful tool designed to automate the process of bootstrapping, monitoring, snapshotting, and recovering an xline cluster on Kubernetes. (Kubernetes Operators)
README
# xline-operator
The xline-operator is a powerful tool designed to automate the process of bootstrapping, monitoring, snapshotting, and
recovering an xline cluster on Kubernetes.## Getting Started
### Install xline operator
Install the latest version of Xline Operator:
```bash
$ kubectl apply -f examples/xline-operator.yaml
```Check the installation status:
```bash
# Check the CRDs
$ kubectl get crds
NAME CREATED AT
xlineclusters.xline.io.datenlord.com 2024-01-12T12:30:46Z# Check the controller Pod status
$ kubectl -n xline-operator-system get pods
NAME READY STATUS RESTARTS AGE
xline-operator-controller-manager-5c9d5f6bc4-ndqzq 2/2 Running 0 98s
```xline operator will automatically create a CRD:
```bash
$ kubectl get crd
NAME CREATED AT
xlineclusters.xlineoperator.xline.cloud -
```### Create an Xline cluster
Follow the steps below to create an Xline cluster in your Kubernetes cluster:
```bash
# Apply xline-cluster.yaml to your Kubernetes cluster
$ kubectl apply -f examples/xline-cluster.yaml
xlinecluster.xline.io.datenlord.com/my-xline-cluster created
```Note: the Xline cluster will be created in the `default` namespace by default. If you want to create it in another namespace, please modify the metadata.namespace field in the manifest YAML file or use the --namespace option.
Inspect xline pods:
```bash
# Get xline cluster info
$ kubectl get xlinecluster
NAME AGE
my-xline-cluster -# Get Xline pod
$ kubectl get pods
NAME READY STATUS RESTARTS AGE
my-xline-cluster-sts-0 1/1 Running 0 -
my-xline-cluster-sts-1 1/1 Running 0 -
my-xline-cluster-sts-2 1/1 Running 0 -
```### Delete the xline cluster
```bash
$ kubectl delete -f examples/xline-cluster.yml
```## Code of Conduct
Read the document [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md) for more details.