Link and kubectl describe in examples/secret

This commit is contained in:
Marcin Wielgus 2015-06-27 12:46:09 +02:00
parent 1c0b765df6
commit b697dc313f

View File

@ -1,6 +1,7 @@
# Secrets example
Following this example, you will create a secret and a pod that consumes that secret in a volume.
You can learn more about secrets [Here](https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/secrets.md).
## Step Zero: Prerequisites
@ -24,6 +25,18 @@ You can use `kubectl` to see information about the secret:
$ kubectl get secrets
NAME TYPE DATA
test-secret Opaque 2
$ kubectl describe secret test-secret
Name: test-secret
Labels: <none>
Annotations: <none>
Type: Opaque
Data
====
data-1: 9 bytes
data-2: 11 bytes
```
## Step Two: Create a pod that consumes a secret