类 KubernetesRuntime

java.lang.Object
org.apache.pulsar.functions.runtime.kubernetes.KubernetesRuntime
所有已实现的接口:
Runtime

public class KubernetesRuntime extends Object implements Runtime
Kubernetes based runtime for running functions. This runtime provides the usual methods to start/stop/getfunctionstatus interfaces to control the kubernetes job running function. We first create a headless service and then a statefulset for starting function pods Each function instance runs as a pod itself. The reason using statefulset as opposed to a regular deployment is that functions require a unique instance_id for each instance. The service abstraction is used for getting functionstatus.