Discover Packages
github.com/zncdata-labs/trino-operator
module
Version:
v0.0.0-...-0e3fe74
Opens a new window with list of versions in this module.
Published: May 16, 2024
License: Apache-2.0
Opens a new window with license information.
README
README
¶
Zncdata Stack Operator for Trino
This is a Kubernetes operator to manage Trino ensembles.
It is part of the Stack ZncData Platform,
a curated selection of the best open source data apps like Apache Hive, Apache Druid, Trino or Apache Spark,
working together seamlessly. Based on Kubernetes, it runs everywhere.
Quick Start
Install Operator Lifecycle Manager (OLM), a tool to help manage the Operators running on your cluster.
curl -sL https://github.com/operator-framework/operator-lifecycle-manager/releases/download/v0.26.0/install.sh | bash -s v0.26.0
First we need to prepare an OperatorGroup
apiVersion: operators.coreos.com/v1
kind: OperatorGroup
metadata:
name: operatorgroup
spec:
targetNamespaces:
- tmp
upgradeStrategy: Default
Start deploying our catalog
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
name: catalog-v0-0-1-alpha
namespace: tmp
spec:
displayName: zncdata operators
grpcPodConfig:
securityContextConfig: restricted
image: quay.io/zncdata/catalog:v0.0.1-alpha
publisher: zncdata.dev
sourceType: grpc
updateStrategy:
registryPoll:
interval: 60m
After completing the OperatorGroup and Catalog, you can start installing the service Subscription
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: trino-operator-v0-0-1-alpha-sub
namespace: tmp
spec:
channel: fast-v0.0
name: trino-operator
source: catalog
sourceNamespace: tmp
installPlanApproval: Automatic
startingCSV: trino-operator.v0.0.1-alpha
After install, watch your operator come up using next command.
kubectl get csv -n tmp
Install Instances of Custom Resources:
kubectl apply -f config/samples/
Expand ▾
Collapse ▴
Click to show internal directories.
Click to hide internal directories.