Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Last active December 15, 2021 13:21
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/11b8c44676e15a62cb57af2a53039176 to your computer and use it in GitHub Desktop.
Save velotiotech/11b8c44676e15a62cb57af2a53039176 to your computer and use it in GitHub Desktop.
metadata = client.V1ObjectMeta(name='md1')
# We could also set fields by accessing them through instance like:
metadata.name = 'md2'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment