Created
May 22, 2018 16:15
-
-
Save chris-gillatt/c7e1eeb47471048039361f16e13f7c6c to your computer and use it in GitHub Desktop.
Create a Kubenetes namespace using a file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
in JSON: | |
{ | |
"kind": "Namespace", | |
"apiVersion": "v1", | |
"metadata": { | |
"name": "test", | |
"labels": { | |
"name": "test" | |
} | |
} | |
} | |
or YAML: | |
kind: Namespace | |
apiVersion: v1 | |
metadata: | |
name: test | |
labels: | |
name: test | |
Need to be careful with the spacing or nothing will work. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment