prevent starting a deployment if it is still terminating from previously stopping it #926

Open
opened 2024-08-16 18:41:05 +00:00 by zramsay · 0 comments
Member
laconic-so deployment --dir webapp-deployer stop
laconic-so deployment --dir webapp-deployer start (this should fail if ^ is still terminating)
laconic-so deployment --dir webapp-deployer logs
# Output: 
On or more pods already associated with this deployment (or similar message)
laconic-so deployment --dir webapp-deployer stop
# wait until pod terminates
laconic-so deployment --dir webapp-deployer start
laconic-so deployment --dir webapp-deployer logs
# works fine
``` laconic-so deployment --dir webapp-deployer stop laconic-so deployment --dir webapp-deployer start (this should fail if ^ is still terminating) laconic-so deployment --dir webapp-deployer logs # Output: On or more pods already associated with this deployment (or similar message) ``` ``` laconic-so deployment --dir webapp-deployer stop # wait until pod terminates laconic-so deployment --dir webapp-deployer start laconic-so deployment --dir webapp-deployer logs # works fine ```
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/stack-orchestrator#926
No description provided.