Slide 8
Slide 8 text
CNI の設定例 (JSON)
8
{
"cniVersion": "0.4.0",
"name": "k8s-pod-network",
"plugins": [
{
"type": "coil",
},
{
"type": "tuning",
"mtu": 1400
},
{
"type": "bandwidth",
"capabilities": {"bandwidth": true}
}
]
}
/opt/cni/bin にあるコマンド名
Pod のアノテーション
で bandwidth 制御
apiVersion: v1
kind: Pod
metadata:
annotations:
kubernetes.io/ingress-bandwidth: 1M
kubernetes.io/egress-bandwidth: 1M
...
Kubernetes Meetup Tokyo #35