npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@flowfuse/driver-kubernetes

v2.12.0

Published

Kubernetes driver for FlowFuse

Downloads

718

Readme

FlowForge Docker Container Driver

FlowForge driver to create projects as docker containers

Configuration

In the flowforge.yml file

...
driver:
  type: kubernetes
  options:
    registry: containers.flowforge.com
    projectSelector:
      role: projects
    projectNamespace: flowforge
    cloudProvider: aws
    privateCA: ff-ca-certs
    certManagerIssuer: lets-encrypt
    k8sDelay: 1000
    k8sRetries: 10
    logPassthrough: true
    customHostname:
      enabled: true
      cnameTarget: custom-loadbalancer.example.com
      certManagerIssuer: lets-encrypt
      ingressClass: custom-nginx
    storage:
      enabled: true
      storageClass: nfs-storage
      size: 5Gi
  • registry is the Docker Registry to load Stack Containers from
  • projectNamespace the namespace Project pods should run in
  • projectSelector a list of labels that should be used to select which nodes Project Pods should run on
  • cloudProvider normally not set, but can be aws This triggers the adding of AWS EKS specific annotation for ALB Ingress. or openshift to allow running on OpenShift (Enterprise license only)
  • privateCA name of ConfigMap holding PEM CA Cert Bundle (file name certs.pem) Optional
  • certManagerIssuer name of the ClusterIssuer to use to create HTTPS certs for instances (default not set)
  • k8sRetries how many times to retry actions against the K8s API
  • k8sDelay how long to wait (in ms) between retries to the K8s API
  • logPassthrough Have Node-RED logs printed in JSON format to container stdout (default false)
  • customHostname Settings linked to allowing instances to have a second hostname
  • customHostname.enabled (default false)
  • customHostname.cnameTarget The hostname users should configure their DNS entries to point at. Required. (default not set)
  • customHostname.certManagerIssuer Name of the Cluster issuer to use to create HTTPS certs for the custom hostname (default not set)
  • customHostname.ingressClass Name of the IngressClass to use to expose the custom hostname (default not set)
  • storage.enabled Mounts a persistent volume on /data/storage (default false)
  • storage.storageClass Name of StorageClass to use to allocate the volume (default not set)
  • storage.storageClassEFSTag Used instead of storage.storageClass when needing to shard across multiple EFS file systems (default not set)
  • storage.size Size of the volume to request (default not set)

Expects to pick up K8s credentials from the environment

Configuration via environment variables

Next variables are read from flowforge process environment in runtime:

  • INGRESS_CLASS_NAME - Ingress class name for editor instances
  • INGRESS_ANNOTATIONS - Ingress annotations for editor instances as JSON-encoded object
  • DEPLOYMENT_TOLERATIONS - Editor Deployment tolerations as JSON-encoded object
  • EDITOR_SERVICE_ACCOUNT - Editor service account.