How do we configure Hue to work with Flink 1.11.3 in Kubernetes?

Hi Guys,

I’m trying to use Hue Editor with Flink SQL installed on Kubernetes. I have my Flink running on POD1 and HUE running on POD2 in the same K8 cluster.

What should be my below setting?

sql-gateway-defaults.yaml

server:
# The address that the gateway binds itself.
bind-address: <what_ip_address_should_this_be>
# The address that should be used by clients to connect to the gateway.
address: <what_ip_address_should_this_be>

hue-conf
[[[flink]]]
name=Flink
interface=flink
options=’{“url”: “http://<what_ip_address_should_this_be>:8083”}’

Is the <what_ip_address_should_this_be> is a IP for Job Manager?

I’m not sure if this documentation has proper instructions.

Please help.

Thanks,

This should be the hostname of the Flink SQL Gateway. You would obviously need to kubernitize the service first. Maybe people on https://github.com/ververica/flink-sql-gateway did it already.

If not, a Deployment an Service similarly to the example https://kubernetes.io/docs/reference/kubectl/docker-cli-to-kubectl/ using the image
Docker image: https://github.com/romainr/query-demo/blob/master/stream-sql-logs/docker-compose.yml#L43 should work.