deads2k
a106d9f848
switch kubelet to use external (client-go) object references for events
2017-01-31 19:15:33 -05:00
deads2k
8a12000402
move client/record
2017-01-31 19:14:13 -05:00
deads2k
5a8f075197
move authoritative client-go utils out of pkg
2017-01-24 08:59:18 -05:00
deads2k
c47717134b
move utils used in restclient to client-go
2017-01-19 07:55:14 -05:00
Clayton Coleman
9a2a50cda7
refactor: use metav1.ObjectMeta in other types
2017-01-17 16:17:19 -05:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
Jeff Grafton
20d221f75c
Enable auto-generating sources rules
2017-01-05 14:14:13 -08:00
Kubernetes Submit Queue
f5d9c430e9
Merge pull request #39298 from feiskyer/images
...
Automatic merge from submit-queue
Kubelet: add image ref to ImageService interfaces
This PR adds image ref (digest or ID, depending on runtime) to PullImage result, and pass image ref in CreateContainer instead of image name. It also
* Adds image ref to CRI's PullImageResponse
* Updates related image puller
* Updates related testing utilities
~~One remaining issue is: it breaks some e2e tests because they [checks image repoTags](https://github.com/kubernetes/kubernetes/blob/master/test/e2e/framework/util.go#L1941 ) while docker always returns digest in this PR. Should we update e2e test or continue to return repoTags in `containerStatuses.image`?~~
Fixes #38833 .
2016-12-30 22:51:18 -08:00
Pengfei Ni
67a5bf8454
Rename imageservice.IsImagePresent to GetImageRef
2016-12-31 08:36:55 +08:00
Pengfei Ni
1de92a91e9
Return repoTags instead of digest in containerStatuses.image
2016-12-30 10:48:49 +08:00
Mike Danese
161c391f44
autogenerated
2016-12-29 13:04:10 -08:00
Pengfei Ni
37fc81be0e
kubelet/images: return image ref in EnsureImageExists
2016-12-29 16:31:14 +08:00
NickrenREN
bb5ccb978e
fix image manager Start() function return
...
realImageGCManager's Start() function will always return nil,we do not need the err return value,drop it.
2016-12-21 14:58:00 +08:00
Mike Danese
c87de85347
autoupdate BUILD files
2016-12-12 13:30:07 -08:00
Random-Liu
816f867c62
Add image cache.
2016-12-08 14:04:01 -08:00
Maciej Kwiek
c9bb8ac68b
Clean up redundant tests in image_manager_test
...
There was a lot of overlap between parallel and serialized puller tests,
extracted most of these tests to separate functions.
2016-11-24 10:48:11 +01:00
Chao Xu
bcc783c594
run hack/update-all.sh
2016-11-23 15:53:09 -08:00
Chao Xu
5e1adf91df
cmd/kubelet
2016-11-23 15:53:09 -08:00
Mike Danese
3b6a067afc
autogenerated
2016-10-21 17:32:32 -07:00
Yu-Ju Hong
e6a6513552
Apply default image tags for all runtimes
...
Move the docker-specific logic up to the ImageManager to allow code sharing
among different implementations.
2016-09-28 18:58:21 -07:00
Yu-Ju Hong
ee5b6a2550
Move image pull throttling logic to kubelet/images
...
This allows runtimes in different packages (dockertools, rkt, kuberuntime) to
share the same logic. Before this change, only dockertools support this
feature. Now all three packages support image pull throttling.
2016-09-21 18:31:04 -07:00
Jedrzej Nowak
9e51eea6a3
Fix various typos in pkg/kubelet
2016-08-30 22:57:47 +02:00
Tamer Tas
4d7357fb30
pkg/kubelet/images: fix struct initialization
...
Fixes the govet error in go 1.7
2016-08-19 16:52:52 +03:00
Jess Frazelle
7e9d82129e
fix go vet errors
...
Signed-off-by: Jess Frazelle <jessfraz@google.com>
fix composites
Signed-off-by: Jess Frazelle <me@jessfraz.com>
2016-08-10 16:45:41 -07:00
bindata-mockuser
0c76d85cc8
moving image gc to images
2016-08-04 12:26:06 -07:00
Ron Lai
321c289792
Consolidating imaging pulling logic
2016-08-03 10:48:50 -07:00
Andrey Kurilin
9f1c3a4c56
Fix various typos in kubelet
2016-08-03 01:14:44 +03:00
Harry Zhang
cb14b35bde
Refactor util clock into it's own pkg
2016-07-28 02:29:04 -04:00
Ron Lai
ee4822e476
Moving image pulling errors under kubelet/images
2016-07-20 14:20:53 -07:00
Ron Lai
7500d706ad
sync backoff logic
2016-07-20 14:20:53 -07:00
Ron Lai
367a683273
Wrapping image pullers inside ImageManager
2016-07-20 09:47:11 -07:00
Ron Lai
56b9daf50f
Moving image pullers to images directory
2016-07-20 09:47:11 -07:00