kubernetes-client icon indicating copy to clipboard operation
kubernetes-client copied to clipboard

Unable to use waitUntilCondition

Open aleboulanger opened this issue 3 years ago • 3 comments
trafficstars

Is your task related to a problem? Please describe

I can't find a way to use an example of waitUntilCondition described in your readme file https://github.com/fabric8io/kubernetes-client/blob/master/doc/CHEATSHEET.md#kubernetes-client-dsl-usage

Describe the solution you'd like

this example from the readme should compile

Pod pod = client.pods().inNamespace("default").withName("nginx").waitUntilCondition(pod -> pod.getStatus().getPhase().equals("Succeeded"), 1, TimeUnit.MINUTES)

Describe alternatives you've considered

No response

Additional context

No response

aleboulanger avatar Jun 22 '22 07:06 aleboulanger

Could you please share the Kubernetes client version you're using?

manusa avatar Jun 22 '22 07:06 manusa

What is the compilation error?

sunix avatar Jun 27 '22 09:06 sunix

This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!

stale[bot] avatar Sep 25 '22 10:09 stale[bot]