diff --git a/docs/reference/deploy/master-config-reference.rst b/docs/reference/deploy/master-config-reference.rst index 8f31fe679e9..b7184d1805c 100644 --- a/docs/reference/deploy/master-config-reference.rst +++ b/docs/reference/deploy/master-config-reference.rst @@ -376,7 +376,7 @@ on using Determined with Kubernetes, see the :ref:`documentation 0") } - var checkRMNamespace error - if len(k.DefaultNamespace) > 0 && len(k.Namespace) > 0 { - checkRMNamespace = errors.Errorf("Both ``namespace`` and ``default_namespace`` provided. " + - "Please provide only ``default_namespace`` as ``namespace`` has been deprecated.") - } else { - checkRMNamespace = nil - } - return []error{ checkSlotType, checkCPUResource, check.NotEmpty(k.ClusterName, "cluster_name is required"), - checkRMNamespace, } } diff --git a/master/internal/rm/kubernetesrm/kubernetes_resource_manager.go b/master/internal/rm/kubernetesrm/kubernetes_resource_manager.go index 51cfe2662f3..c89c9546a3d 100644 --- a/master/internal/rm/kubernetesrm/kubernetes_resource_manager.go +++ b/master/internal/rm/kubernetesrm/kubernetes_resource_manager.go @@ -86,10 +86,6 @@ func New( db: db, } - if len(k.config.Namespace) > 0 { - k.config.DefaultNamespace = k.config.Namespace - } - k.jobsService, err = newJobsService( k.config.DefaultNamespace, k.config.ClusterName,