Welcome to the Linux Foundation Forum!

Manage API Resources with kubectl

If you delete this pod, you will see that the HTTP method changes from XGET to XDELETE.

The HTTP Method is GET DELETE PUT etc, the command line option for curl is -X <method> please correct the course to reflect this, thanks!


  • chrispokorni
    chrispokorni Posts: 2,164

    Hi @nmorell,

    Right, the delete command is translated by the kubectl CLI tool into XDELETE for curl as shown in the verbose output below the kubectl --v=10 delete ... command.


  • nmorell
    nmorell Posts: 6
    edited January 2021

    Yep, I'm aware! I would just like to make sure we're all using the proper words to describe things as this can get very difficult if we start confusing what terms do/are/etc. For instance, if you were to change the course to suggest: "If you delete this pod, you will see the CLI options change from -X to -XDELETE, using the HTTP method DELETE"

  • serewicz
    serewicz Posts: 1,000


    If you read the notes again it is quite clear. There are two commands run on the page . The first is get the second is delete. The verbose output shows the actual command change from GET to DELETE.


Upcoming Training