Created
July 27, 2016 10:23
-
-
Save ipedrazas/4ec14d9ecddce6e65769164f53af16f8 to your computer and use it in GitHub Desktop.
Update kubernetes node using the api server - PATCH
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -k \ | |
--header "Content-Type:application/merge-patch+json" \ | |
--header "Accept: application/json" \ | |
--header "Authorization: Bearer $TOKEN" \ | |
--request PATCH \ | |
--data '{ "metadata": {"labels": {"base": "coreOS"}}}' \ | |
$API_SERVER/api/v1/nodes/172.17.4.202 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment