Update README.md
This commit is contained in:
parent
275ba404e8
commit
3d9d80283a
|
@ -33,11 +33,20 @@ Documentation for other releases can be found at
|
||||||
This is a simple web server pod which serves HTML from an AWS EBS
|
This is a simple web server pod which serves HTML from an AWS EBS
|
||||||
volume.
|
volume.
|
||||||
|
|
||||||
Create a volume in the same region as your node add your volume
|
If you did not use kube-up script, make sure that your minions have the following IAM permissions ([Amazon IAM Roles](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html#create-iam-role-console)):
|
||||||
information in the pod description file aws-ebs-web.yaml then create
|
|
||||||
the pod:
|
|
||||||
|
|
||||||
```sh
|
```shell
|
||||||
|
ec2:AttachVolume
|
||||||
|
ec2:DetachVolume
|
||||||
|
ec2:DescribeInstances
|
||||||
|
ec2:DescribeVolumes
|
||||||
|
```
|
||||||
|
|
||||||
|
Create a volume in the same region as your node.
|
||||||
|
|
||||||
|
Add your volume information in the pod description file aws-ebs-web.yaml then create the pod:
|
||||||
|
|
||||||
|
```shell
|
||||||
$ kubectl create -f examples/aws_ebs/aws-ebs-web.yaml
|
$ kubectl create -f examples/aws_ebs/aws-ebs-web.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue