VR
$ curl -sSL "http://localhost:8001/api/v1/nodes/gke-production-autoscale-workers-1-7b1b7612-033h/proxy/configz" |jq '.kubeletconfig.kubeReserved.memory'
"960Mi"
systemReserved
?Size: a a a
VR
$ curl -sSL "http://localhost:8001/api/v1/nodes/gke-production-autoscale-workers-1-7b1b7612-033h/proxy/configz" |jq '.kubeletconfig.kubeReserved.memory'
"960Mi"
systemReserved
?MF
$ curl -sSL "http://localhost:8001/api/v1/nodes/gke-production-autoscale-workers-1-7b1b7612-033h/proxy/configz" |jq '.kubeletconfig.kubeReserved'
{
"cpu": "60m",
"ephemeral-storage": "41Gi",
"memory": "960Mi"
}
MF
$ curl -sSL "http://localhost:8001/api/v1/nodes/gke-production-autoscale-workers-1-7b1b7612-033h/proxy/configz" |jq '.kubeletconfig.systemReserved'
null
MF
1060 - 960 = 100
MF
MF
MF
kube-reserved
is meant to capture resource reservation for kubernetes system daemons like the kubelet
, container runtime
, node problem detector
, etc. It is not meant to reserve resources for system daemons that are run as pods.VR
--system-reserved=[cpu=100m][,][memory=100Mi][,][ephemeral-storage=1Gi][,][pid=1000]
это дефолтыMF
MF
MF
MF
MF
MF
kubelet
, container runtime
, node problem detector
, etc"MF
MF
MF
AS
VR
VR