kluctl icon indicating copy to clipboard operation
kluctl copied to clipboard

[Feature] timelimit on `waitReadiness` and/or `barrier`

Open jcpunk opened this issue 2 years ago • 3 comments

Command

  • [ ] check-image-updates
  • [ ] delete
  • [X] deploy
  • [ ] diff
  • [ ] helm-pull
  • [ ] helm-update
  • [ ] list-images
  • [ ] list-targets
  • [ ] poke-images
  • [ ] prune
  • [ ] render
  • [ ] seal
  • [ ] validate
  • [ ] version

Who are you?

No response

What do you want to do?

I'd like to set a timeout on waitReadiness and/or barrier.

Why do you need that?

My initial cluster init has 1 node. The Cilium CNI spawns a second pod to provide HA, but that pod cannot be scheduled on the same node as its primary. I'd like to set waitReadiness so that the CNI's basic functionality is indeed present before continuing, but with that container set to never launch it will never be ready. The ability to set a timeout would allow me to express my desire to wait for readiness or 30 seconds which ever is first.

jcpunk avatar Jun 12 '23 17:06 jcpunk

@jcpunk can you fix the title of the issue?

codablock avatar Jun 13 '23 05:06 codablock

oops, fixed.

jcpunk avatar Jun 13 '23 12:06 jcpunk

Is it also the case waitReadiness has a hard wired max as I see

⚠ timed out while waiting for readiness of milvus-operator/Deployment/milvus-operator (299s elapsed)

It would be great to have the ability to set longer timeouts?

** update **

I see actually there is a flag --readiness-timeout. So I suppose it would be nice if one could set it in a config file somewhere - is this possible?

ukclivecox avatar Sep 09 '23 13:09 ukclivecox