Deployment rollout of a webapp in an unmanaged (on-premises) K8s cluster gets stuck.

Level 1
Deployment rollout of a webapp in an unmanaged (on-premises) K8s cluster gets stuck.

While deploying a webapp on an unmanaged K8s cluster, the pop up dialog never disappears saying:

Screen Shot 2021-08-17 at 16.43.25 PM.png

The pod starts and the application can be accessed without issues through a browser, but the Dataiku interface displays a 404 error:

Screen Shot 2021-08-17 at 16.44.52 PM.png

From the backend logs the following error appears:


[2021/08/17-19:43:01.650] [FT-WebAppBackendInstanceStartWaitThread-VRIm7lpq-167001] [INFO] [dku.webapps.dash]  - [ct: 10510] No backend url ready
[2021/08/17-19:43:01.650] [Thread-125678] [INFO] [dip.webapp.expose]  - Get node IPs kubectl --namespace dssns-sergio-pavez-277091 get nodes -o json
[2021/08/17-19:43:01.650] [Thread-125678] [INFO] []  - Starting process (regular)
[2021/08/17-19:43:01.652] [Thread-125678] [INFO] []  - Process started with pid=16640
[2021/08/17-19:43:01.767] [Thread-125678] [INFO] [dip.expose.endpoint.collector]  - Register a backend {"expositionType":"node_port","id":"","scheme":"http","host":"","port":30650,"avail
[2021/08/17-19:43:01.767] [Thread-125678] [ERROR] [dip.webapp.exposition.thread]  - Failed to wait for exposition start
        at com.dataiku.dip.webapps.backend.WebAppBackend.rewriteRedirectLine(
        at com.dataiku.dip.webapps.backend.WebAppBackend.buildPublicNGINXConfig(
        at com.dataiku.dip.webapps.backend.WebAppBackend.getPublicNGINXConfig(
        at com.dataiku.dip.webapps.backend.WebAppBackend.writeNewNGINXConfig(
        at com.dataiku.dip.webapps.backend.WebAppBackend.endpointsChanged(
        at com.dataiku.dip.exposition.AbstractExposedEndpointCollector.registerPort(
        at com.dataiku.dip.exposition.NodePortExposition$NodePortExpositionHandler.waitReady(
[2021/08/17-19:43:01.779] [process-resource-monitor-7069-165718] [DEBUG] [dku.resource]  - Process stats for pid 7069: {"pid":7069,"commandName":"/home/dataiku/dss_design/code-envs/python/ds36/bin/python","cpuUserTimeMS"


If I try to run the application without K8s, it starts correctly and can be displayed on Dataiku. Attached is the full log of its execution.

0 Kudos
2 Replies


We strongly recommend keeping the default "port-forward" exposition mode for webapps, which provides all necessary capabilities without all of the deployment complexities associated with other modes, especially on a non-cloud environment.

If this does not help, please open a support ticket ( and attach an instance diagnosis.



Hi @Clément_Stenac,

Thanks for the quick reply. With @spavez we are using the "port-forward" exposition mode indeed.

Following your suggestion, we will open a support ticket to further investigate the problem.


0 Kudos