增加PVC中对Storage的容量设置不生效的issue

pull/10/head
Jimmy Song 2017-05-12 18:17:01 +08:00
parent 8496702e50
commit 5d80b46441
2 changed files with 12 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 354 KiB

View File

@ -57,3 +57,14 @@ CentOS中安装`conntrack-tools`包后重启kubernetes集群即可。
```
Error validating pod kube-keepalived-vip-1p62d_default(5d79ccc0-3173-11e7-bfbd-8af1e3a7c5bd) from api, ignoring: spec.containers[0].securityContext.privileged: Forbidden: disallowed by cluster policy
```
## 6.PVC中对Storage的容量设置不生效
[使用glusterfs做持久化存储](17-使用glusterfs做持久化存储.md)文档中我们构建了PV和PVC当时给`glusterfs-nginx`的PVC设置了8G的存储限额`nginx-dm`这个Deployment使用了该PVC进入该Deployment中的Pod执行测试
```
dd if=/dev/zero of=test bs=1G count=10
```
![pvc-storage-limit](images/pvc-storage-limit.jpg)
从截图中可以看到创建了9个size为1G的block后无法继续创建了已经超出了8G的限额。