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
Field | Type | Description | Required | Default |
---|---|---|---|---|
name | string | must be unique within a namespace. Name is primarily intended for creation idempotence and configuration. | Yes | - |
metadata | Metadata | define additionnal metadata to merge to the service associated. | No | - |
spec | ExternalServiceSpec | defines the behavior of a service. | Yes |
ExternalServiceSpec
Field | Type | Description | Required | Default |
---|---|---|---|---|
portConfigs | [ ]PortConfig | Contains the list port for the service and the associated listener | Yes | |
clusterIP | string | More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies | No | - |
type | ServiceType | type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. | No | - |
externalIPs | [ ]string | externalIPs 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 Kubernetes | No | - |
loadBalancerIP | string | Only applies to Service Type: LoadBalancer. LoadBalancer will get created with the IP specified in this field. | No | - |
loadBalancerSourceRanges | [ ]string | If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs | No | - |
externalName | string | externalName is the external reference that kubedns or equivalent will return as a CNAME record for this service. No proxying will be involved. | No | - |
PortConfig
Field | Type | Description | Required | Default |
---|---|---|---|---|
port | int32 | The port that will be exposed by this service. | Yes | - |
internalListenerName | string | The name of the listener which will be used as target container. | Yes | - |
Metadata
Field | Type | Description | Required | Default |
---|---|---|---|---|
annotations | map[string]string | Additionnal annotation to merge to the service associated annotations. | No | nil |
labels | map[string]string | Additionnal labels to merge to the service associated labels. | No | nil |