diff --git a/mlrun/runtimes/function.py b/mlrun/runtimes/function.py index 63e0925222c..cc093d9bd71 100644 --- a/mlrun/runtimes/function.py +++ b/mlrun/runtimes/function.py @@ -264,6 +264,9 @@ def get_fullname(config, name, project, tag): spec.cmd = self.spec.build.commands or [] project = project or self.metadata.project or "default" handler = self.spec.function_handler + + # In Nuclio 1.6.0 default serviceType changed to "ClusterIP", make sure we're using NodePort + spec.set_config("spec.serviceType", "NodePort") if self.spec.readiness_timeout: spec.set_config("spec.readinessTimeoutSeconds", self.spec.readiness_timeout) if self.spec.resources: