Skip to main content
Version: v0.14.1

External Service Config

ListenersConfig defines the Nifi listener types:

  externalServices:
- name: "clusterip"
spec:
type: ClusterIP
portConfigs:
- port: 8080
internalListenerName: "http"
metadata:
annotations:
toto: tata
labels:
titi: tutu

ExternalServiceConfig

FieldTypeDescriptionRequiredDefault
namestringmust be unique within a namespace. Name is primarily intended for creation idempotence and configuration.Yes-
metadataMetadatadefine additionnal metadata to merge to the service associated.No-
specExternalServiceSpecdefines the behavior of a service.Yes

ExternalServiceSpec

FieldTypeDescriptionRequiredDefault
portConfigs[ ]PortConfigContains the list port for the service and the associated listenerYes
clusterIPstringMore info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxiesNo-
typeServiceTypetype determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer.No-
externalIPs[ ]stringexternalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by KubernetesNo-
loadBalancerIPstringOnly applies to Service Type: LoadBalancer. LoadBalancer will get created with the IP specified in this field.No-
loadBalancerSourceRanges[ ]stringIf specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPsNo-
externalNamestringexternalName is the external reference that kubedns or equivalent will return as a CNAME record for this service. No proxying will be involved.No-

PortConfig

FieldTypeDescriptionRequiredDefault
portint32The port that will be exposed by this service.Yes-
internalListenerNamestringThe name of the listener which will be used as target container.Yes-

Metadata

FieldTypeDescriptionRequiredDefault
annotationsmap[string]stringAdditionnal annotation to merge to the service associated annotations.Nonil
labelsmap[string]stringAdditionnal labels to merge to the service associated labels.Nonil