kind: Add a shorter timeout instead of default 30 seconds for kindnetd listing nodes to speed up control-plane ready

What would you like to be added: Add a timeout for https://github.com/kubernetes-sigs/kind/blob/21c1d2e5b25e71234f3b30eceae97f03df98787a/images/kindnetd/cmd/kindnetd/main.go#L107 Else kindnet would be timed out for 30 seconds in first time leading 30-seconds slower for control-plane node to be ready Why is this needed: I have a ci using kind to deploy k8s environment, I want to make control-plane node to be ready quickly.

Environment:

  • kind version: (use kind version): kind v0.10.0-alpha go1.15.6 linux/amd64

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16 (6 by maintainers)

Most upvoted comments

Tested for the version kind v0.11.0-alpha:

  1. T: node created
  2. T+27 seconds: node ready
  3. T+42 seconds: coredns ready

and the version kind v0.10.0:

  1. T: node created
  2. T+51 seconds: node ready
  3. T+64 seconds: coredns ready

So shortened 24 seconds 🎉

Thank you, I will try it when free.