*** caoyuan has joined #openstack-qinling | 00:06 | |
*** caoyuan has quit IRC | 00:58 | |
*** huntxu has joined #openstack-qinling | 01:10 | |
*** jiangyuan has joined #openstack-qinling | 01:41 | |
*** caoyuan has joined #openstack-qinling | 01:47 | |
*** yufei has joined #openstack-qinling | 01:56 | |
openstackgerrit | Hunt Xu proposed openstack/qinling master: engine: set execution status upon exceptions https://review.openstack.org/556557 | 01:59 |
---|---|---|
openstackgerrit | Hunt Xu proposed openstack/qinling master: engine: set execution status upon exceptions https://review.openstack.org/556557 | 02:26 |
*** kevzha01 has joined #openstack-qinling | 02:26 | |
*** kevzha01 is now known as kevinz | 02:26 | |
jiangyuan | Hi, kong , huntxu. When I test resource limitation in pod, I found that in container based on phusion/baseimage:0.9.22, we can not create/mount/umount 'cgroup' because of read-only file system. So if I can choose some other base image and do you have any requirements about the base image? | 02:32 |
*** yufei has quit IRC | 02:33 | |
*** yufei has joined #openstack-qinling | 02:33 | |
huntxu | jiangyuan: I guess you have to mount host's /sys/fs/cgroup into the pod? | 02:41 |
huntxu | or more specifically, the runtime container | 02:42 |
jiangyuan | huntxu: In the runtime container, it has mount cgroup, but they are read-only, I can not create my 'control group' directory | 02:44 |
huntxu | jiangyuan: https://groups.google.com/forum/#!topic/kubernetes-dev/TBNzAxNXPOA this post is more than one year ago, I don't know whether there is any update in k8s for now | 02:45 |
jiangyuan | like this: cgroup on /sys/fs/cgroup/memory type cgroup (ro,nosuid,nodev,noexec,relatime,memory) | 02:45 |
huntxu | jiangyuan: I think you can create another volumemount specified in the deployment yaml, that would override the one mounted by docker I guess | 02:47 |
huntxu | jiangyuan: besides, you don't have to mount the host's /sys/fs/cgroup to exactly the same place in the container, maybe some place else would be better, like /host/.../cgroup | 02:50 |
huntxu | jiangyuan: or like /qinling_resource/memory and /qinling_resource/cpu, as long as you can change the contents in such paths in the container, you are changing the cgroup settings on the host then resources are limited | 02:52 |
jiangyuan | huntxu: ok , I will test it. Thanks a lot, your advice is a great help to me | 02:53 |
kong | hi jiangyuan, i agree with huntxu. Changing the base image for runtime is always the last resort. We should keep the customization for the runtime image as less as possible | 02:54 |
kong | huntxu: thanks for your help to jiangyuan, you are always helpful to the team | 02:55 |
kong | i will start to review the patches after i finish some debugging for k8s :-( | 02:56 |
jiangyuan | kong: ok, I got it, thanks. | 02:58 |
openstackgerrit | Hunt Xu proposed openstack/qinling master: Allow qinling to connect to k8s API with certificates https://review.openstack.org/557961 | 06:25 |
openstackgerrit | Hunt Xu proposed openstack/qinling master: Allow qinling to connect to k8s API with certificates https://review.openstack.org/557961 | 06:50 |
openstackgerrit | Hunt Xu proposed openstack/qinling master: Allow qinling to connect to k8s API with certificates https://review.openstack.org/557961 | 07:15 |
openstackgerrit | Hunt Xu proposed openstack/qinling master: Allow qinling to connect to k8s API with certificates https://review.openstack.org/557961 | 07:41 |
*** yufei has quit IRC | 07:41 | |
openstackgerrit | Hunt Xu proposed openstack/qinling master: Allow qinling to connect to k8s API with certificates https://review.openstack.org/557961 | 08:08 |
openstackgerrit | Hunt Xu proposed openstack/qinling master: Allow qinling to connect to k8s API with certificates https://review.openstack.org/557961 | 08:32 |
openstackgerrit | Hunt Xu proposed openstack/qinling master: Allow qinling to connect to k8s API with certificates https://review.openstack.org/557961 | 09:44 |
openstackgerrit | Hunt Xu proposed openstack/qinling master: Allow qinling to connect to k8s API with certificates https://review.openstack.org/557961 | 09:55 |
openstackgerrit | Hunt Xu proposed openstack/qinling master: Allow qinling to connect to k8s API with certificates https://review.openstack.org/557961 | 10:21 |
*** caoyuan has quit IRC | 11:08 | |
*** openstackgerrit has quit IRC | 12:04 | |
*** jiangyuan has quit IRC | 13:03 | |
*** caoyuan has joined #openstack-qinling | 13:43 | |
*** huntxu has quit IRC | 14:22 | |
*** caoyuan has quit IRC | 15:11 | |
*** caoyuan has joined #openstack-qinling | 17:27 | |
*** caoyuan has quit IRC | 17:29 | |
*** caoyuan has joined #openstack-qinling | 22:31 | |
*** caoyuan has quit IRC | 22:33 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!