# The namespace the whole paper-doc deployment lives in. # # It is created here rather than by `kubectl create ns` so that a rebuild of the # cluster from these files brings the application up in the same shape it has # now — the namespace name is part of the deployment, not an accident of how it # was first applied. # # The name is `paper-doc`, not `paper_doc`: a namespace is an RFC 1123 label and # underscores are not in that alphabet, so the API server rejects the name the # project uses for its database and its tables. Every other resource in this # namespace is hyphenated for the same reason. apiVersion: v1 kind: Namespace metadata: name: paper-doc labels: app.kubernetes.io/name: paper-doc app.kubernetes.io/part-of: paper-doc