Skip to content

Commit d8e8d78

Browse files
authored
Merge pull request #201 from togethercomputer/replica-events
ENG-82904 - chore: update ReplicaEvent schema
2 parents 53aef45 + 27b4d91 commit d8e8d78

File tree

1 file changed

+17
-29
lines changed

1 file changed

+17
-29
lines changed

openapi.yaml

Lines changed: 17 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -12143,39 +12143,16 @@ components:
1214312143
type: object
1214412144
ReplicaEvent:
1214512145
properties:
12146-
container_status:
12147-
allOf:
12148-
- $ref: "#/components/schemas/ContainerStatus"
12149-
description: ContainerStatus provides detailed status information about the
12150-
container within this replica
12151-
events:
12152-
description: Events is a list of Kubernetes events related to this replica for
12153-
troubleshooting
12154-
items:
12155-
$ref: "#/components/schemas/KubernetesEvent"
12156-
type: array
12157-
replica_completed_at:
12158-
description: ReplicaCompletedAt is the timestamp when the replica finished
12159-
execution
12160-
type: string
12161-
replica_marked_for_termination_at:
12162-
description: ReplicaMarkedForTerminationAt is the timestamp when the replica was
12163-
marked for termination
12146+
image:
12147+
description: Image is the container image used for this replica
1216412148
type: string
1216512149
replica_ready_since:
1216612150
description: ReplicaReadySince is the timestamp when the replica became ready to
1216712151
serve traffic
1216812152
type: string
12169-
replica_running_since:
12170-
description: ReplicaRunningSince is the timestamp when the replica entered the
12171-
running state
12172-
type: string
12173-
replica_started_at:
12174-
description: ReplicaStartedAt is the timestamp when the replica was created
12175-
type: string
1217612153
replica_status:
1217712154
description: ReplicaStatus is the current status of the replica (e.g.,
12178-
"Running", "Pending", "Failed")
12155+
"Running", "Waiting", "Terminated")
1217912156
type: string
1218012157
replica_status_message:
1218112158
description: ReplicaStatusMessage provides a human-readable message explaining
@@ -12185,9 +12162,20 @@ components:
1218512162
description: ReplicaStatusReason provides a brief machine-readable reason for
1218612163
the replica's status
1218712164
type: string
12188-
scheduled_on_cluster:
12189-
description: ScheduledOnCluster identifies which cluster this replica is
12190-
scheduled on
12165+
revision_id:
12166+
description: RevisionID is the deployment revision ID associated with this replica
12167+
type: string
12168+
volume_preload_completed_at:
12169+
description: VolumePreloadCompletedAt is the timestamp when the volume preload
12170+
completed
12171+
type: string
12172+
volume_preload_started_at:
12173+
description: VolumePreloadStartedAt is the timestamp when the volume preload
12174+
started
12175+
type: string
12176+
volume_preload_status:
12177+
description: VolumePreloadStatus is the status of the volume preload (e.g.,
12178+
"InProgress", "Completed", "Failed")
1219112179
type: string
1219212180
type: object
1219312181
SecretResponseItem:

0 commit comments

Comments
 (0)