Skip to content

Documentation error in “Workers in VPC clusters”: incorrect oc drain command #193

@kmizutalw

Description

@kmizutalw

Which topic are you reporting about?

https://cloud.ibm.com/docs/openshift?topic=openshift-host-maintenance&locale=en

What do you think needs to be updated?

I found an issue in this document.

Specifically, in the “Workers in VPC clusters” section, the command is written as oc drain, but the correct command should be oc adm drain.

In addition, in many cases oc adm drain without additional options cannot successfully evict or move Pods.

I manage a cluster running IBM Cloud Pak for Data (CP4D), and in my case, I had to run the following command to complete the maintenance successfully:

oc adm drain <worker_id> --force --delete-local-data --ignore-daemonsets

Users rely heavily on the documentation you provide when performing operational tasks.
I would strongly appreciate it if the procedures were verified and validated in real environments before being published.

Anything else?

Regarding this issue, I have already reported it to the support center under Case .
I was advised by the support team to create a GitHub issue for this matter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions