Coder Social home page Coder Social logo

prefect-server-k8's Introduction

prefect-ui

This repository contains a Helm Chart for deploying the Prefect UI to Kubernetes.

This was developed and tested on Helm Version 3.1.2.

How to consume this Helm Chart on your Kubernetes cluster

First you'll need to add this repository to helm:

helm repo add prefect-server-k8 https://szelenka.github.io/prefect-server-k8/charts

It should now show up on your system:

helm repo list

NAME                    URL                                                 
prefect-server-k8       https://szelenka.github.io/prefect-server-k8/charts

The last step is to perform an installation. In most cases you'll likely want to review the values.yaml to create your customizations during creation. Generally, you'd want to modify these values to protect your installation.

prefect:
  minio:
    # each service can be disabled at installation time
    # in this case, we're asking it to NOT install MinIO alongside Prefect UI
    create: false
  postgres:
    secrets:
      # specify the credentials to access Postgres running in a StatefulSet
      username: my_unique_username
      password: my_secret_password
      database: my_custom_database_name
    volume:
      # specify how much persistent storage to give Postgres
      storage: "1Gi"
  hasura:
    secrets:
      # specify the credentials for Hasura
      adminSecret: my_secret_admin_password
  apollo:
    service:
      # specify the externally accessable fully-qualified domain name to access the GraphQL API
      domainName: domain-for-api.local
  website:
    service:
      # specify the externally accessable fully-qualified domain name to access the Vue UI
      domainName: domain-for-user-interface.local

imagePullSecrets:
  - my-custom-docker-secret
  - my-other-secret

ingress:
  # is this a Kubernetes 'Ingress' or OpenShift 'Route'?
  type: ingress || route
  # do you want TLS on the Ingress/Route?
  tls: true
  secrets:
    # if you want to access the Website and API through HTTPS, specify the certs
    cert: |-
      -----BEGIN CERTIFICATE-----
      MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQDB5AVkGh0KVs/6
      ...
      zvHE4SVVq6tCns+PwLuEmyXejSL+vIVzXcHl
      -----END CERTIFICATE-----
    key: |-
      -----BEGIN PRIVATE KEY-----
      MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQDB5AVkGh0KVs/6
      ...
      5jRdWWab5Zc2sXy96aeXBA==
      -----END PRIVATE KEY-----

You can modify any of the values in the values.yaml this way, but the above would be the most common variables to adjust.

Then create the services with your custom values:

helm install -f my-custom-values.yaml instance-name prefect-server-k8/prefect-ui

How to register Prefect Flows to this instance

See the python folder for an example and details.

prefect-server-k8's People

Contributors

szelenka-cisco avatar

Watchers

James Cloos avatar  avatar

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.