Remove the `logger` container from the logging daemonset. Remove the outgoing call from the poolmgr to the logger. Use Fluentd's Kubernetes filter to add function name and UID to influx metadata. This means fluentd now figures out when to start collecting function logs on its own, without being informed by poolmgr. This is great for other execution strategies, and for autoscaling, where fission isn't in direct control of function pod creation. Also adds an integration test to make sure logging keeps working.
69 lines
1.6 KiB
YAML
69 lines
1.6 KiB
YAML
#
|
|
# Fission chart configuration
|
|
#
|
|
|
|
## Kubernetes configuration
|
|
## For minikube, set this to NodePort, elsewhere use LoadBalancer.
|
|
serviceType: LoadBalancer
|
|
|
|
## Fission image repository
|
|
image: fission/fission-bundle
|
|
|
|
## Image pull policy
|
|
pullPolicy: IfNotPresent
|
|
|
|
## Fission image version
|
|
imageTag: 0.4.0rc
|
|
|
|
## Fission fetcher repository
|
|
fetcherImage: fission/fetcher
|
|
|
|
## Fission fetcher image version
|
|
fetcherImageTag: 0.4.0rc
|
|
|
|
## Port at which Fission controller service should be exposed
|
|
controllerPort: 31313
|
|
|
|
## Port at which Fission router service should be exposed
|
|
routerPort: 31314
|
|
|
|
## Port at which NATS streaming service should be exposed
|
|
natsStreamingPort: 31316
|
|
|
|
## Namespace in which to run fission functions (this is different from
|
|
## the release namespace)
|
|
functionNamespace: fission-function
|
|
|
|
## Namespace in which to run fission builders (this is different from
|
|
## the release namespace)
|
|
builderNamespace: fission-builder
|
|
|
|
## Set up openshift RBAC rule
|
|
openshift: false
|
|
|
|
## Logger config
|
|
logger:
|
|
influxdbAdmin: "admin"
|
|
fluentdImage: fission/fluentd
|
|
|
|
## Message queue trigger config
|
|
### NATS Streaming
|
|
nats:
|
|
authToken: "defaultFissionAuthToken"
|
|
clusterID: "fissionMQTrigger"
|
|
|
|
|
|
## Persist data to a persistent volume.
|
|
persistence:
|
|
enabled: true
|
|
## If defined, volume.beta.kubernetes.io/storage-class: <storageClass>
|
|
## Default: volume.alpha.kubernetes.io/storage-class: default
|
|
##
|
|
# storageClass:
|
|
accessMode: ReadWriteOnce
|
|
size: 8Gi
|
|
|
|
## Analytics let us count how many people installed fission. Set to
|
|
## false to disable analytics.
|
|
analytics: true
|