Zihong Zheng
c1a959c660
Clean up redundant DNS related kubelet codes
...
Signed-off-by: Zihong Zheng <zihongz@google.com>
2017-11-04 12:33:32 -07:00
Lee Verberne
e2e6a8cd85
Fix typo in kubelet kuberuntime container test
...
Changes "Expetected" to "Expected"
2017-09-13 14:32:48 +02:00
dhilipkumars
25bc76dae4
Do not try run preStop hook when the gracePeriod is 0
...
Add UT for lifeCycle hooks
2017-08-03 07:57:21 +05:30
Kubernetes Submit Queue
145976f72a
Merge pull request #48194 from k82cn/k8s_48173
...
Automatic merge from submit-queue (batch tested with PRs 47327, 48194)
Checked container spec when killing container.
**What this PR does / why we need it**:
Checked container spec when getting container, return error if failed.
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #48173
**Release note**:
```release-note-none
```
2017-07-05 14:21:39 -07:00
Klaus Ma
549360cf91
Checked container spec when killing container.
2017-07-02 11:00:38 +08:00
Kubernetes Submit Queue
0d84a4fedb
Merge pull request #47105 from feiskyer/cleanup
...
Automatic merge from submit-queue (batch tested with PRs 47038, 47105)
kuberuntime: cleanup TestGenerateContainerConfig
Followup of #47009 , cleanup TestGenerateContainerConfig and remove unused expectedConfig.
/assign @yujuhong
2017-06-27 08:29:29 -07:00
Chao Xu
f4989a45a5
run root-rewrite-v1-..., compile
2017-06-22 10:25:57 -07:00
mbohlool
c91a12d205
Remove all references to types.UnixUserID and types.UnixGroupID
2017-06-21 04:09:07 -07:00
Pengfei Ni
22e99504d7
Update CRI references
2017-06-09 10:16:40 +08:00
Pengfei Ni
82ff0ad0f3
kuberuntime: cleanup TestGenerateContainerConfig
2017-06-07 13:40:49 +08:00
Yu-Ju Hong
07a67c252c
kuberuntime: check the value of RunAsNonRoot when verifying
...
The verification function is fixed to check the value of RunAsNonRoot,
not just the existence of it. Also adds unit tests to verify the correct
behavior.
2017-06-05 18:03:32 -07:00
enxebre
14be65c74b
Improving test coverage for kubelet/kuberuntime.
2017-06-01 09:43:15 +02:00
Yu-Ju Hong
de0438a5c8
kuberuntime: add unit tests for container status population
...
Also refactor a little bit to make the function more testable.
2017-05-17 13:14:00 -07:00
Michael Taufen
cbad320205
Reorganize kubelet tree so apis can be independently versioned
2017-05-12 10:02:33 -07:00
Lee Verberne
f83337a8ac
Fix AssertCalls usage for kubelet fake runtimes
...
Despite its name, AssertCalls() does not assert anything. It returns an
error that must be checked. This was causing false negatives for
a handful of unit tests.
2017-05-10 01:40:58 +00:00
Pengfei Ni
53c20e3630
kubelet/kuberuntime: update cri to protobuf v3
2017-01-20 09:55:56 +08:00
Clayton Coleman
9a2a50cda7
refactor: use metav1.ObjectMeta in other types
2017-01-17 16:17:19 -05:00
Pengfei Ni
f584ed4398
Fix package aliases to follow golang convention
2016-11-30 15:40:50 +08:00
Chao Xu
5e1adf91df
cmd/kubelet
2016-11-23 15:53:09 -08:00
Random Liu
e87fa5e0ff
* Refactor kuberuntime unit test
...
* Add gc unit test
* Fix init container unit test
2016-10-24 00:03:34 -07:00
Random Liu
fad4672e72
Add legacy container log location support.
2016-10-23 19:08:47 -07:00
Random-Liu
121a91eb12
Symlink docker logs to CRI defined log path.
2016-10-23 19:08:47 -07:00