Skip to main content
Version: 0.10.0

Function Mesh Operator configurations

This table outlines the configurable parameters of the Function Mesh Operator and their default values.

ParametersDescriptionDefault
enable-leader-electionWhether the Function Mesh Controller Manager should enable leader election.true
enable-pprofWhether the Function Mesh Controller Manager should enable pprof.false
enable-init-containersWhether the Function Mesh Controller Manager should enable the init container.
- When enabled, Function Mesh downloads an HTTP or HTTPs package through the wget.
- When disabled, Function Mesh downloads an HTTP or HTTPs package through the pulsar-admin CLI tool. In this case, you need to grant your service account the admin access right.
false
pprof-addrThe address of the pprof.:8090
metrics-addrThe address of the metrics.:8080
health-probe-addrThe address of the health probe.:8000
config-fileThe configuration file of the Function Mesh Controller Manager, which includes runnerImages, resourceLabels, and resourceAnnotations configurations.
- runnerImage: the runner image to run the Pulsar Function instances. Currently, it supports Java, Python, and Go runner images.
- resourceLabels: set labels for Pulsar Functions, Sources, or Sinks.
- resourceAnnotations: set annotations for Pulsar Functions, Sources, or Sinks.
/etc/config/configs.yaml
grpcurlPersistentVolumeClaimThe PersistentVolumeClaim (PVC) for the grpcurl CLI tool.N/A

For example, if you want to enable pprof for the Function Mesh Operator, set the controllerManager.pprof.enable to true.

helm install <release_name> function-mesh/function-mesh-operator -n <k8s_namespace> \
--set controllerManager.pprof.enable=true