forked from barak/tarpoon
Add glide.yaml and vendor deps
This commit is contained in:
parent
db918f12ad
commit
5b3d5e81bd
18880 changed files with 5166045 additions and 1 deletions
35
vendor/k8s.io/kubernetes/examples/volumes/azure_file/README.md
generated
vendored
Normal file
35
vendor/k8s.io/kubernetes/examples/volumes/azure_file/README.md
generated
vendored
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
# How to Use it?
|
||||
|
||||
Install *cifs-utils* on the Kubernetes host. For example, on Fedora based Linux
|
||||
|
||||
# yum -y install cifs-utils
|
||||
|
||||
Note, as explained in [Azure File Storage for Linux](https://azure.microsoft.com/en-us/documentation/articles/storage-how-to-use-files-linux/), the Linux hosts and the file share must be in the same Azure region.
|
||||
|
||||
Obtain an Microsoft Azure storage account and create a [secret](secret/azure-secret.yaml) that contains the base64 encoded Azure Storage account name and key. In the secret file, base64-encode Azure Storage account name and pair it with name *azurestorageaccountname*, and base64-encode Azure Storage access key and pair it with name *azurestorageaccountkey*.
|
||||
|
||||
Then create a Pod using the volume spec based on [azure](azure.yaml).
|
||||
|
||||
In the pod, you need to provide the following information:
|
||||
|
||||
- *secretName*: the name of the secret that contains both Azure storage account name and key.
|
||||
- *shareName*: The share name to be used.
|
||||
- *readOnly*: Whether the filesystem is used as readOnly.
|
||||
|
||||
Create the secret:
|
||||
|
||||
```console
|
||||
# kubectl create -f examples/volumes/azure_file/secret/azure-secret.yaml
|
||||
```
|
||||
|
||||
You should see the account name and key from `kubectl get secret`
|
||||
|
||||
Then create the Pod:
|
||||
|
||||
```console
|
||||
# kubectl create -f examples/volumes/azure_file/azure.yaml
|
||||
```
|
||||
|
||||
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
|
||||
[]()
|
||||
<!-- END MUNGE: GENERATED_ANALYTICS -->
|
||||
Loading…
Add table
Add a link
Reference in a new issue