Skip to content

How can I simulate different lifecycles for multiple pods and jobs #1340

Answered by wzshiming
restrelas asked this question in Q&A
Discussion options

You must be logged in to vote

Is it possible to change the state of pods differently for various timestamps using the simulator? And if so, how can I do it?

You can refer to this docs, that is pod-create.yaml -> pod-init-container-running.yaml -> pod-init-container-completed.yaml -> pod-ready.yaml, I think it may be the effect you want if I understand correctly

So basically, the selector matches the state, and then how long does it delay, and then applies the next action, that's a stage, and then you need to connect each stage step by step. the selector matches the next of the last stage action as connect.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by restrelas
Comment options

You must be logged in to vote
4 replies
@wzshiming
Comment options

@restrelas
Comment options

@wzshiming
Comment options

@restrelas
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants