Version: v0.6.1
External Service Config
ListenersConfig defines the Nifi listener types :
externalServices:
- name: "clusterip"
spec:
type: ClusterIP
portConfigs:
- port: 8080
internalListenerName: "http"
serviceAnnotations:
toto: tata
ExternalServiceConfig
Field | Type | Description | Required | Default |
---|---|---|---|---|
name | string | must be unique within a namespace. Name is primarily intended for creation idempotence and configuration. | Yes | - |
serviceAnnotations | map[string]string | Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadat | 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 | - |