Link Search Menu Expand Document

To install direktiv via helm, several settings can be changed. The following snippet shows the configuration options in helm’s ‘values.yaml’.

# Default values for direktiv.
# Default values for direktiv.
replicaCount: 1

nodeSelector: {}
tolerations: []
affinity: {}

registry: "docker.io"
pullPolicy: Always
imagePullSecrets: []

# if using proxy the user needs to be a valid IAM user with access to the database
# e.g. roles/cloudsql.editor. Additionally the service account needs to be mapped
# to to google with:
# ccount:
#   annotations:
#      iam.gke.io/gcp-service-account: IAM_USER@GCP_PROJECT.iam.gserviceaccount.com
serviceAccount:
  annotations: {}
  name: ""
  create: true

# proxy settings
http_proxy: ""
https_proxy: ""
no_proxy: ""

autoscaling:
  enabled: false
  minReplicas: 1
  maxReplicas: 10
  targetCPUUtilizationPercentage: 80
  targetMemoryUtilizationPercentage: 80

# support services
withSupport: true
withFlow: true
withUI: true
withAPI: true

supportPersist: false

# enable debug
debug: false

networkPolicies:
  enabled: false
  # cidr for communication
  db: 0.0.0.0/0
  serviceCidr: 0.0.0.0/0
  podCidr: 0.0.0.0/0

ingress:
  host: ""
  certificate: none
  class: "contour-external"

# flow config
flow:
  image: "vorteil/flow"
  tag: ""
  db: ""
  functionsProtocol: "http"
  functionsCA: "none" # change function pod secret too
  certificates:
    flow: none
    mtlsFlow: none
    ingress: none
    mtlsIngress: none
  extraContainers: []
  extraVolumeMounts:
    # - name: service-template
    #   mountPath: /etc/config
  extraVolumes:
    # - name: service-template
    #   configMap:
    #     name: service-template

secrets:
  image: "vorteil/secrets"
  tag: ""
  db: ""
  key: "01234567890123456789012345678912"
  extraVolumeMounts: []

# ui config
ui:
  image: "vorteil/direktiv-ui"
  tag: ""
  certificate: none
  extraContainers: []

api:
  image: vorteil/api
  tag: ""
  key: ""
  certificate: none
  extraContainers: []

# Set Send and Recv limits for all grpc clients and servers
grpc:
  server:
    maxSendSize: "4194304"
    maxRecvSize: "4194304"
  client:
    maxSendSize: "4194304"
    maxRecvSize: "4194304"

functions:
  # namespace to run functions in
  namespace: direktiv-services-direktiv

  # images for functions controller, knative sidecar and init-pod
  image: "vorteil/functions"
  tag: ""
  certificate: none
  mtls: none

  sidecar: "vorteil/sidecar"

  initPodImage:  "vorteil/direktiv-init-pod"
  initPodCertificate: none

  # number of controller replicas
  replicaCount: 1

  netShape: "10M"

  # database connection, required for pub/sub with flow
  db: ""

  # run pod cleaner for kubernetes < 1.20
  podCleaner: true

  # runtime to use, e.g. gvisor
  runtime: "default"

  # extra container for controller pod
  # e.g. database containers for google cloud or logging
  extraContainersPod: []
  extraContainers:
    []
    # - name: cloud-sql-proxy
    #   image: gcr.io/cloudsql-docker/gce-proxy:1.17
    #   command:
    #     - "/cloud_sql_proxy"
    #     - "-instances=mygcpdb=tcp:5432"
    #     - "-ip_address_types=PRIVATE"
    #   securityContext:
    #     runAsNonRoot: true
    #   resources:
    #     requests:
    #       memory: "2Gi"
    #       cpu:    "1"

fluentbit:
  host:          ""
  port:          5432
  user:          ""
  password:      ""
  database:      ""
  sslmode:       prefer
  extraConfig: ""
  # append extra output to fluentbit.
  # there are two logs application, functions
  # these can be matched to new outputs, e.g.:
  # extraConfig: |
  #   [OUTPUT]
  #           name stdout
  #           match application


Copyright © 2021 Vorteil.io.