Closed JeffLuoo closed 1 year ago
cc: @justinsb
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
/unstale
I wonder if the actual problem here is the different namespaces or if pruning generally did not work (also in the same namespace? I wonder if Deployments are by default whitelisted for pruning, if not, I guess that #274 might fix this.
Did you try running the same command with kubectl
manually and have you been able to prune the Deployment with that?
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/reopen
/remove-lifecycle rotten
Please send feedback to sig-contributor-experience at kubernetes/community.
/close not-planned
@k8s-triage-robot: Closing this issue, marking it as "Not Planned".
What happened: Using
WithApplyPrune
in the operator doesn't prune the objects in different namespaces.What you expected to happen: All objects in all namespaces with matching labels will be pruned.
How to reproduce it (as minimally and precisely as possible): Use the
guestbook
operator example and replace the manifest file withto simplify the deployment.
Deploy the operator in the cluster and wait for the
nginx-deployment
to be deployed. Terminate the operator and update the namespace of the deployment todefault
and then restart the operator. I see that thenginx-deployment
in thekube-system
namespace still exists where theaddons.example.org/guestbook: guestbook-sample
is the common labels used by prune.Anything else we need to know?:
Environment:
kubectl version
): 1.23cat /etc/os-release
):uname -a
):go version
): 1.17