Giter VIP home page Giter VIP logo

trino-operator's Introduction

Zncdata Stack Operator for Trino

Build Status License

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

  1. 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
  2. First we need to prepare an OperatorGroup

    apiVersion: operators.coreos.com/v1
    kind: OperatorGroup
    metadata:
      name: operatorgroup
    spec:
      targetNamespaces:
      - tmp
      upgradeStrategy: Default
  3. 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.net
      sourceType: grpc
      updateStrategy:
        registryPoll:
          interval: 60m
  4. 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
  5. After install, watch your operator come up using next command.

    kubectl get csv -n tmp
  6. Install Instances of Custom Resources:

    kubectl apply -f config/samples/

trino-operator's People

Contributors

bococ avatar whg517 avatar

Stargazers

 avatar

Forkers

aliyum37

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.