mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 06:54:01 +00:00
Merge pull request #6921 from derekwaynecarr/fix_example
Docker requires a minimum amount of memory for container
This commit is contained in:
commit
cbb1108b73
@ -11,7 +11,7 @@
|
|||||||
"cpu": "2"
|
"cpu": "2"
|
||||||
},
|
},
|
||||||
"min": {
|
"min": {
|
||||||
"memory": "1048576",
|
"memory": "5242880",
|
||||||
"cpu": "0.25"
|
"cpu": "0.25"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -22,11 +22,11 @@
|
|||||||
"cpu": "2"
|
"cpu": "2"
|
||||||
},
|
},
|
||||||
"min": {
|
"min": {
|
||||||
"memory": "1048576",
|
"memory": "5242880",
|
||||||
"cpu": "0.25"
|
"cpu": "0.25"
|
||||||
},
|
},
|
||||||
"default": {
|
"default": {
|
||||||
"memory": "1048576",
|
"memory": "5242880",
|
||||||
"cpu": "0.25"
|
"cpu": "0.25"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
"cpu": "2"
|
"cpu": "2"
|
||||||
},
|
},
|
||||||
"min": {
|
"min": {
|
||||||
"memory": "1Mi",
|
"memory": "5Mi",
|
||||||
"cpu": "250m"
|
"cpu": "250m"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -24,11 +24,11 @@
|
|||||||
"cpu": "2"
|
"cpu": "2"
|
||||||
},
|
},
|
||||||
"min": {
|
"min": {
|
||||||
"memory": "1Mi",
|
"memory": "5Mi",
|
||||||
"cpu": "250m"
|
"cpu": "250m"
|
||||||
},
|
},
|
||||||
"default": {
|
"default": {
|
||||||
"memory": "1Mi",
|
"memory": "5Mi",
|
||||||
"cpu": "250m"
|
"cpu": "250m"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
"resources": {
|
"resources": {
|
||||||
"limits": {
|
"limits": {
|
||||||
"cpu": "1",
|
"cpu": "1",
|
||||||
"memory": "1Mi"
|
"memory": "5Mi"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}]
|
}]
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
"name": "kubernetes-serve-hostname",
|
"name": "kubernetes-serve-hostname",
|
||||||
"image": "gcr.io/google_containers/serve_hostname",
|
"image": "gcr.io/google_containers/serve_hostname",
|
||||||
"cpu": 1000,
|
"cpu": 1000,
|
||||||
"memory": 1048576
|
"memory": 5242880
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user