Determine what resource was not found from “Error from server (NotFound): the server could not find the requested resource”

前端 未结 4 2131
温柔的废话
温柔的废话 2021-02-20 10:34

I\'m running kubectl create -f notRelevantToThisQuestion.yml

The response I get is:

Error from server (NotFound): the server could no

4条回答
  •  一向
    一向 (楼主)
    2021-02-20 11:13

    From http://words.yuvi.in/post/kubectl-rbac/

    Running kubectl create -f notRelevantToThisQuestion.yml -v=8 will print all the HTTP traffic (requests and responses!) in an easy to read way. In this way, one can identify which resource is not available from the http responses.

提交回复
热议问题