Yu-Ju Hong
5e318cd749
CRI: add annotations to PodSandbox
...
Both Container and ContainerStatus includes labels and annotations. PodSandbox
should be consistent with that.
2016-09-16 11:09:24 -07:00
Kubernetes Submit Queue
9f0dc7fe27
Merge pull request #32744 from yujuhong/fix_shim
...
Automatic merge from submit-queue
Clarify the "version" requirement in CRI and fix various bugs in dockershim
This fixes #32741
2016-09-15 08:50:59 -07:00
Yu-Ju Hong
77aa4cd07c
CRI: clarify the version string requirement
2016-09-14 18:03:12 -07:00
Pengfei Ni
f774a68d52
Kubelet: add garbage collection for new runtime API
2016-09-14 09:09:45 +08:00
Pengfei Ni
4d85e48528
CRI: remove name from ContainerFilter and PodSandboxFilter
2016-09-13 22:11:49 +08:00
Pengfei Ni
58a9da3310
Kubelet: rename CreatePodSandbox to RunPodSandbox in CRI
2016-09-07 21:38:56 +08:00
Kubernetes Submit Queue
5f7c02c40c
Merge pull request #30753 from feiskyer/sandbox-name
...
Automatic merge from submit-queue
Kubelet: pass pod name/namespace/uid in new runtime API
First part of #30463 .
Pass pod name/namespace/uid in new runtime API and change dockershim to build unique sandbox/container name based on them.
CC @yujuhong @euank @yifan-gu @kubernetes/sig-node
2016-08-22 19:41:44 -07:00
Kubernetes Submit Queue
0babf0ed6d
Merge pull request #30270 from ZJU-SEL/fix-minor-mistakes
...
Automatic merge from submit-queue
fix minor mistakes
<!--
Checklist for submitting a Pull Request
Please remove this comment block before submitting.
1. Please read our [contributor guidelines](https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md ).
2. See our [developer guide](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md ).
3. If you want this PR to automatically close an issue when it is merged,
add `fixes #<issue number>` or `fixes #<issue number>, fixes #<issue number>`
to close multiple issues (see: https://github.com/blog/1506-closing-issues-via-pull-requests ).
4. Follow the instructions for [labeling and writing a release note for this PR](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes ) in the block below.
-->
Signed-off-by: Xianglin Gao <xlgao@zju.edu.cn>
2016-08-22 17:40:39 -07:00
Pengfei Ni
9bfa37f2ae
Kubelet: pass pod name/namespace/uid to runtimes
2016-08-23 07:33:15 +08:00
Pengfei Ni
e3e10ddf8a
Kubelet: implement GetPods for kuberuntime
2016-08-22 10:59:05 +08:00
Yu-Ju Hong
bf7020a9b7
CRI: remove pod resources
...
The pod-level resources need further discussion. Remove it from CRI for now.
2016-08-12 17:07:25 -07:00
Timothy St. Clair
4adb23c8cc
Update dependency shift from etcd3 changes in latest release.
2016-08-09 08:51:15 -05:00
Xianglin Gao
3b8f932ea9
fix minor mistakes
...
Signed-off-by: Xianglin Gao <xlgao@zju.edu.cn>
2016-08-09 15:09:31 +08:00
derekwaynecarr
2563696719
Add total inodes to kubelet summary api
2016-08-08 12:20:14 -04:00
Yu-Ju Hong
5c06d7e620
CRI: rename DeletePodSandbox to RemovePodSandbox
...
This makes it consistent with other calls (e.g., RemoveContainer, RemoveImage).
2016-08-03 15:46:34 -07:00
Andrey Kurilin
9f1c3a4c56
Fix various typos in kubelet
2016-08-03 01:14:44 +03:00
Pengfei Ni
cce9405e15
Clarify the resource remove logic in runtime API
...
If the resource in the delete call does not exist, the runtime should
not return an error. This eliminates the need for kubelet to define a
resource "not found" error that every runtime has to return.
2016-07-30 07:00:16 +08:00
Antonio Murdaca
5faa9b1283
CRI: add LinuxUser to LinuxContainerConfig
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-07-15 22:17:41 +02:00
k8s-merge-robot
0699b4d41e
Merge pull request #17048 from feiskyer/kubelet/client-server-proposal
...
Automatic merge from submit-queue
Proposal: client/server container runtime
Ref #25899 #13768
Proposal for client/server container runtime
CC @brendandburns @dchen1107 @kubernetes/goog-node @kubernetes/sig-node
2016-07-11 19:26:51 -07:00
Pengfei Ni
e12044518e
Proposal for client-server container runtime
2016-07-12 09:17:08 +08:00
Ron Lai
e5f8cd9973
Includes the number of free indoes in summary
2016-06-30 10:05:57 -07:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
Vishnu kannan
e566948a75
Track image storage usage for docker containers
...
add image fs info to summary stats API.
Adding node e2e test for image stats.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-04-25 16:00:34 -07:00
k8s-merge-robot
75b49f591a
Merge pull request #23948 from derekwaynecarr/memory_available
...
Automatic merge from submit-queue
Add memory available to summary stats provider
To support out of resource killing when low on memory, we want to let operators specify eviction thresholds based on available memory instead of memory usage for ease of use when working with heterogeneous nodes.
So for example, a valid eviction threshold would be the following:
* If node.memory.available < 200Mi for 30s, then evict pod(s)
For the node, `memory.availableBytes` is always known since the `memory.limit_in_bytes` is always known for root cgroup. For individual containers in pods, we only populate the `availableBytes` if the container was launched with a memory limit specified. When no memory limit is specified, the cgroupfs sets a value of 1 << 63 in the `memory.limit_in_bytes` so we look for a similar max value to handle unbounded limits, and ignore setting `memory.availableBytes`.
FYI @vishh @timstclair - as discussed on Slack.
/cc @kubernetes/sig-node @kubernetes/rh-cluster-infra
2016-04-17 06:32:36 -07:00
Yu-Ju Hong
388b4ff569
kubele: add RSS memroy to the summary API
2016-04-08 11:05:20 -07:00
derekwaynecarr
a9e362d70c
Add memory available to summary stats provider
2016-04-08 12:30:41 -04:00
Tim St. Clair
225f903ccf
Move stats summary types to a new kubelet/api package to avoid unnecessary dependencies
2016-02-17 10:53:25 -08:00