Skip to content

Instantly share code, notes, and snippets.

@dmusicant-dk
Last active January 20, 2021 23:25
Show Gist options
  • Save dmusicant-dk/4d1b97a72d41927bb55adc99aeb94d5f to your computer and use it in GitHub Desktop.
Save dmusicant-dk/4d1b97a72d41927bb55adc99aeb94d5f to your computer and use it in GitHub Desktop.
data-layer-namespace.yaml
# This is the version for the Kubernetes API for the thing being
# defined here, i.e. the "kind" (in this case, a namespace). You
# might end up with different YAMLs deployed into the same K8s
# cluster that all use different apiVersion numbers.
apiVersion: v1
# This is the type of "object" we're asking Kubernetes to install
# and keep healthy within the cluster.
kind: Namespace
# All types of objects ("kind") have different meta-data that they
# can use to create instances of themselves and tie them to other
# types of things as well. We'll see this later with Deployments.
metadata:
name: data-layer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment