-
Story
-
Resolution: Done
-
Major
-
DO280 - OCP 3.9 1 20180828
-
None
-
en-US (English)
URL:
Reporter RHNID:
Section: -
Language: en-US (English)
Workaround: For any "oc" command covered in class, general guidance should be to use the associated "--help" option for further nuanced usage.
Description: In 2nd GE of Chapter 7, students drain one of the nodes.
If any pod with ephemeral storage is on the node, the standard "oc adm drain" command will fail. A good example of this is a "build" pod. If a build pod happens to be on the node being drained, the "drain will fail".
The GE now uses the "--delete-local-data" option, to go ahead and forcefully removed pods that are utilizing ephemeral storage. This enables the GE to work for students, but the option is not discussed in the SG.
Also- I believe in OCP 3.9 the 'oc adm drain' command will mark a node as 'unschedulable'. It's not necessary (but it still may be a good practice) to label the node as 'unschedulable' before draining it.
- is related to
-
PTL-8543 DO280-391: Node drain error
- Closed