Skip to content

Instantly share code, notes, and snippets.

@percybolmer
Created August 2, 2022 06:58
Show Gist options
  • Save percybolmer/1a570209beb502b20c2e5b168c17dcfa to your computer and use it in GitHub Desktop.
Save percybolmer/1a570209beb502b20c2e5b168c17dcfa to your computer and use it in GitHub Desktop.
kubernetes defaults fields
apiVersion: apps/v1 #Which version of the Kubernetes API you're using to create this object
kind: Deployment # What kind of object you want to create [deployment, service etc]
metadata: # Data that helps uniquely identify the object, including a name string, UID, and optional namespace
name: hellogopher
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment