kubernetes/cmd/kubeadm/app/util/apiclient
Lubomir I. Ivanov 32fbb23f3b kubeadm: remove usage of the TryRunCommand() function
The function TryRunCommand() uses an exponential backoff,
which is good, but it's inconsistent and only used in a couple
of places.

Remove its usage in the token.go#UpdateOrCreateTokens()
and switch to using the standard function used in other places -
PollUntilContextTimeout().

Remove wait.go#TryRunCommand(), as there are no other usages.
2023-12-20 08:51:00 +02:00
..
clientbacked_dryrun.go fix doc mismatch 2023-04-16 18:29:45 +08:00
dryrunclient_test.go kubeadm: handle dry run GET actions from fake discovery 2022-12-21 11:49:59 +02:00
dryrunclient.go kubeadm: handle dry run GET actions from fake discovery 2022-12-21 11:49:59 +02:00
idempotency_test.go Retry patch when then service is unavailable or timeout. 2022-11-29 23:09:31 +08:00
idempotency.go Retry patch when then service is unavailable or timeout. 2022-11-29 23:09:31 +08:00
init_dryrun_test.go kubeadm: fix the bug that 'kubeadm init --dry-run --upload-certs' command failed with 'secret not found' error 2022-02-09 12:58:02 +08:00
init_dryrun.go kubeadm: replace intstr.FromInt with intstr.FromInt32 2023-05-01 09:17:50 +02:00
wait.go kubeadm: remove usage of the TryRunCommand() function 2023-12-20 08:51:00 +02:00