Package v1 is the v1 version of the API.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
JobCondition describes the state of the job at a certain point.
Field | Description |
---|---|
|
Type of job condition. |
|
Status of the condition, one of True, False, Unknown. |
|
The reason for the condition’s last transition. |
|
A human readable message indicating details about the transition. |
|
The last time this condition was updated. |
|
Last time the condition transitioned from one status to another. |
JobConditionType defines all kinds of types of JobStatus.
ReplicaStatus represents the current observed state of the replica.
Field | Description |
---|---|
|
The number of actively running pods. |
|
The number of pods which reached phase Succeeded. |
|
The number of pods which reached phase Failed. |
ReplicaType represents the type of the replica. Each operator needs to define its own set of ReplicaTypes.
RestartPolicy describes how the replicas should be restarted. Only one of the following restart policies may be specified. If none of the following policies is specified, the default one is RestartPolicyAlways.
SchedulingPolicy encapsulates various scheduling policies of the distributed training job, for example minAvailable
for gang-scheduling.
Field | Description |
---|---|
|