Bug 1324794 - [RFE] Support function to move one specific pod
Summary: [RFE] Support function to move one specific pod
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: RFE
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Andy Goldstein
QA Contact: Johnny Liu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-07 10:25 UTC by Kenjiro Nakayama
Modified: 2019-10-10 11:48 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-26 13:37:44 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Kenjiro Nakayama 2016-04-07 10:25:57 UTC
1. Proposed title of this feature request

- [RFE] Support function to move specific pod

3. What is the nature and description of the request?

- Support the function to move specific pod.
- We know that we can use "oadm manage-node --evacuate", but it can use only for "--pod-selector" option. We want to move some specific pod.

e.g)
If we have:

  $ oc get pod
  test-1-whdf9          1/1       Running     0          5d

then,

  $ oadm move pod test-1-whdf9 --to NOTE_NAME

4. Why does the customer need this? (List the business requirements here)

- We need this function to move pod manually for the rebalance or test purpose.
- We know there is similar RFE bz#1314624[1], but we need this function for a specific pod. Also, we want to do this by a command.

5. How would the customer like to achieve this? (List the functional requirements here)

- "oadm" supports subcommand to move pods to another node.

7. Is there already an existing RFE upstream or in Red Hat Bugzilla?

- Yes, similar RFE is bz#1314624[1]. Plesae refer to 4.

Comment 2 Dan McPherson 2016-04-13 22:02:31 UTC
It's unclear with the rescheduler (https://trello.com/c/t5UpuU1C) that we want to tackle this.  If you want to force a pod onto a particular set of nodes you should use a node selector or other predicate/priority logic to do so.  If you want to evacuate a node we have the oadm tools to do so.  If you don't like where a pod is getting scheduled and want to give it more or less resources you should adjust the request/limits of the pod.

If we let you pick where to move it to we still have to follow all the rules of where it is allowed to go according to all the rules of the scheduler.  It would be a bad experience to let you specify nodes and constantly tell you why your choice is invalid.

Given all this, can you please clarify the need to move a particular pod to a particular node?

Comment 5 Andy Goldstein 2016-04-26 13:37:44 UTC
RFE has been withdrawn. Closing.


Note You need to log in before you can comment on or make changes to this bug.