diff --git a/deploy/v2beta1/mpi-operator.yaml b/deploy/v2beta1/mpi-operator.yaml index a8c0ed09f..3b45024ff 100644 --- a/deploy/v2beta1/mpi-operator.yaml +++ b/deploy/v2beta1/mpi-operator.yaml @@ -8192,7 +8192,7 @@ spec: type: object runLauncherAsWorker: default: false - description: RunLauncherAsWorker indicates wether to run worker process + description: RunLauncherAsWorker indicates whether to run worker process in launcher Defaults to false. type: boolean runPolicy: diff --git a/manifests/base/kubeflow.org_mpijobs.yaml b/manifests/base/kubeflow.org_mpijobs.yaml index 10518a654..0864dd8df 100644 --- a/manifests/base/kubeflow.org_mpijobs.yaml +++ b/manifests/base/kubeflow.org_mpijobs.yaml @@ -8169,7 +8169,7 @@ spec: type: object runLauncherAsWorker: default: false - description: RunLauncherAsWorker indicates wether to run worker process + description: RunLauncherAsWorker indicates whether to run worker process in launcher Defaults to false. type: boolean runPolicy: diff --git a/pkg/apis/kubeflow/v2beta1/swagger.json b/pkg/apis/kubeflow/v2beta1/swagger.json index 004b34ecf..283f2125e 100644 --- a/pkg/apis/kubeflow/v2beta1/swagger.json +++ b/pkg/apis/kubeflow/v2beta1/swagger.json @@ -156,10 +156,6 @@ "$ref": "#/definitions/v2beta1.ReplicaSpec" } }, - "runLauncherAsWorker": { - "description": "RunLauncherAsWorker indicates wether to run worker process in launcher Defaults to false.", - "type": "boolean" - }, "runPolicy": { "description": "RunPolicy encapsulates various runtime policies of the job.", "default": {}, diff --git a/sdk/python/v2beta1/docs/V2beta1MPIJobSpec.md b/sdk/python/v2beta1/docs/V2beta1MPIJobSpec.md index 295b374b7..44d2ef04e 100644 --- a/sdk/python/v2beta1/docs/V2beta1MPIJobSpec.md +++ b/sdk/python/v2beta1/docs/V2beta1MPIJobSpec.md @@ -7,7 +7,6 @@ Name | Type | Description | Notes **launcher_creation_policy** | **str** | launcherCreationPolicy if WaitForWorkersReady, the launcher is created only after all workers are in Ready state. Defaults to AtStartup. | [optional] **mpi_implementation** | **str** | MPIImplementation is the MPI implementation. Options are \"OpenMPI\" (default), \"Intel\" and \"MPICH\". | [optional] **mpi_replica_specs** | [**dict(str, V2beta1ReplicaSpec)**](V2beta1ReplicaSpec.md) | MPIReplicaSpecs contains maps from `MPIReplicaType` to `ReplicaSpec` that specify the MPI replicas to run. | -**run_launcher_as_worker** | **bool** | RunLauncherAsWorker indicates wether to run worker process in launcher Defaults to false. | [optional] **run_policy** | [**V2beta1RunPolicy**](V2beta1RunPolicy.md) | | [optional] **slots_per_worker** | **int** | Specifies the number of slots per worker used in hostfile. Defaults to 1. | [optional] **ssh_auth_mount_path** | **str** | SSHAuthMountPath is the directory where SSH keys are mounted. Defaults to \"/root/.ssh\". | [optional] diff --git a/sdk/python/v2beta1/mpijob/models/v2beta1_mpi_job_spec.py b/sdk/python/v2beta1/mpijob/models/v2beta1_mpi_job_spec.py index 81accf8a3..68656d763 100644 --- a/sdk/python/v2beta1/mpijob/models/v2beta1_mpi_job_spec.py +++ b/sdk/python/v2beta1/mpijob/models/v2beta1_mpi_job_spec.py @@ -36,7 +36,6 @@ class V2beta1MPIJobSpec(object): 'launcher_creation_policy': 'str', 'mpi_implementation': 'str', 'mpi_replica_specs': 'dict(str, V2beta1ReplicaSpec)', - 'run_launcher_as_worker': 'bool', 'run_policy': 'V2beta1RunPolicy', 'slots_per_worker': 'int', 'ssh_auth_mount_path': 'str' @@ -46,13 +45,12 @@ class V2beta1MPIJobSpec(object): 'launcher_creation_policy': 'launcherCreationPolicy', 'mpi_implementation': 'mpiImplementation', 'mpi_replica_specs': 'mpiReplicaSpecs', - 'run_launcher_as_worker': 'runLauncherAsWorker', 'run_policy': 'runPolicy', 'slots_per_worker': 'slotsPerWorker', 'ssh_auth_mount_path': 'sshAuthMountPath' } - def __init__(self, launcher_creation_policy=None, mpi_implementation=None, mpi_replica_specs=None, run_launcher_as_worker=None, run_policy=None, slots_per_worker=None, ssh_auth_mount_path=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, launcher_creation_policy=None, mpi_implementation=None, mpi_replica_specs=None, run_policy=None, slots_per_worker=None, ssh_auth_mount_path=None, local_vars_configuration=None): # noqa: E501 """V2beta1MPIJobSpec - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -61,7 +59,6 @@ def __init__(self, launcher_creation_policy=None, mpi_implementation=None, mpi_r self._launcher_creation_policy = None self._mpi_implementation = None self._mpi_replica_specs = None - self._run_launcher_as_worker = None self._run_policy = None self._slots_per_worker = None self._ssh_auth_mount_path = None @@ -72,8 +69,6 @@ def __init__(self, launcher_creation_policy=None, mpi_implementation=None, mpi_r if mpi_implementation is not None: self.mpi_implementation = mpi_implementation self.mpi_replica_specs = mpi_replica_specs - if run_launcher_as_worker is not None: - self.run_launcher_as_worker = run_launcher_as_worker if run_policy is not None: self.run_policy = run_policy if slots_per_worker is not None: @@ -152,29 +147,6 @@ def mpi_replica_specs(self, mpi_replica_specs): self._mpi_replica_specs = mpi_replica_specs - @property - def run_launcher_as_worker(self): - """Gets the run_launcher_as_worker of this V2beta1MPIJobSpec. # noqa: E501 - - RunLauncherAsWorker indicates wether to run worker process in launcher Defaults to false. # noqa: E501 - - :return: The run_launcher_as_worker of this V2beta1MPIJobSpec. # noqa: E501 - :rtype: bool - """ - return self._run_launcher_as_worker - - @run_launcher_as_worker.setter - def run_launcher_as_worker(self, run_launcher_as_worker): - """Sets the run_launcher_as_worker of this V2beta1MPIJobSpec. - - RunLauncherAsWorker indicates wether to run worker process in launcher Defaults to false. # noqa: E501 - - :param run_launcher_as_worker: The run_launcher_as_worker of this V2beta1MPIJobSpec. # noqa: E501 - :type run_launcher_as_worker: bool - """ - - self._run_launcher_as_worker = run_launcher_as_worker - @property def run_policy(self): """Gets the run_policy of this V2beta1MPIJobSpec. # noqa: E501