Duranna66

Results 5 comments of Duranna66

хуйня какая-то

> Can you provide more details about what you expect and what you are seeing? I expect that pods who controlled by DaemonSet will be not delete when I do...

> This is how we check for membership in the DaemonSet: > > https://github.com/kubernetes-client/java/blob/master/extended/src/main/java/io/kubernetes/client/extended/kubectl/KubectlDrain.java#L76 > > Specifically looking for an owner reference with kind `DaemonSet`. > > Can you share...

Okey, let's check this code from your link for (V1Pod pod : allPods.getItems()) { // at this point we know, that we have to ignore daemon set pods if (pod.getMetadata().getOwnerReferences()...

maybe try this one boolean isDaemonSetPod; for (V1Pod pod : allPods.getItems()) { // at this point we know, that we have to ignore daemon set pods isDaemonSetPod = false; if...