Question about usage : eviction
sylock opened this issue · 4 comments
I'm targeting an Openshift 4.8 cluster. I would like to do an eviction of a pod using the rest client.
The API reference is here: https://docs.openshift.com/container-platform/4.8/rest_api/workloads_apis/pod-core-v1.html#apiv1namespacesnamespacepodsnameeviction
It seems that "Eviction" is a subresource of Pod.
-> when using the rest client library, we cannot get that resource
This is not working (not finding the resource):
v1_evictions = dyn_client.resources.get(api_version='policy/v1beta1', kind='Eviction')
-> do you have an idea?
Issues go stale after 90d of inactivity.
Mark the issue as fresh by commenting /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen
.
If this issue is safe to close now please do so with /close
.
/lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh by commenting /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen
.
If this issue is safe to close now please do so with /close
.
/lifecycle rotten
/remove-lifecycle stale
Rotten issues close after 30d of inactivity.
Reopen the issue by commenting /reopen
.
Mark the issue as fresh by commenting /remove-lifecycle rotten
.
Exclude this issue from closing again by commenting /lifecycle frozen
.
/close
@openshift-bot: Closing this issue.
In response to this:
Rotten issues close after 30d of inactivity.
Reopen the issue by commenting
/reopen
.
Mark the issue as fresh by commenting/remove-lifecycle rotten
.
Exclude this issue from closing again by commenting/lifecycle frozen
./close
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.