Created
October 15, 2018 00:05
-
-
Save gavinzhou/4f70a8e3eeeb9a0b9f2c456751005f11 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
$ cat wordpress-database.yaml | |
apiVersion: example.com/v1 | |
kind: Database | |
metadata: | |
name: wordpress | |
spec: | |
user: wp | |
password: secret | |
encoding: unicode | |
$ kubectl create -f wordpress-databases.yaml | |
database "wordpress" created | |
$ kubectl get databases.example.com | |
NAME KIND | |
wordpress Database.v1.example.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment