前言
最近想深入了解一下K8S的内部通信机制,因此读了几遍K8S的源码,感慨很深。至今清楚的记得,当了解到K8S组件之间仅采用HTTP 协议通信,没有依赖中间件时,我非常好奇它是如何做到的。
1 | log_format main '"$request_time" "$upstream_response_time" $remote_addr - $remote_user [$time_local] "$request" ' |
I tested this tutorial on CentOS 7 64 bit edition. Although, these steps should work on RHEL 7.
Note: Since this kernel is just released, the latest kernel haven’t pushed into the ELRepo yet. It stills shows the 4.4.4 version. I think the latest kernel will be pushed to the repository in few hours.
To install the latest kernel, add ELRepo repository.
Add ELRepo GPG key: