Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Last active December 15, 2021 12:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save velotiotech/ccf4da4686fb7ff2eeb331a0fa91d692 to your computer and use it in GitHub Desktop.
Save velotiotech/ccf4da4686fb7ff2eeb331a0fa91d692 to your computer and use it in GitHub Desktop.
v1 = client.CoreV1Api()
v1.list_node()
# returns a JSON with all the info like spec, metadata etc, for each node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment