yuxiaobo
81e9f21f83
Correct spelling mistakes
...
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2019-11-06 20:25:19 +08:00
Ted Yu
0939f90103
Check whether mirror pod is ciritical in managerImpl#evictPod
2019-10-01 11:12:18 -07:00
Matthias Bertschy
1a08ea5984
startupProbe: Test changes
2019-08-30 00:40:26 +02:00
Himanshu Pandey
c05d506019
changed IsCriticalPod to return true in case of static pods
2019-08-07 15:47:43 -07:00
Mike Brown
7b6bb58f3a
update code docs around old todo that is not going to happen
...
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2019-07-08 09:24:50 -05:00
Davanum Srinivas
7b8c9acc09
remove unused code
...
Change-Id: If821920ec8872e326b7d85437ad8d2620807799d
2019-04-19 08:36:31 -04:00
Minhan Xia
35777c31ea
change kubelet status manager to use patch instead of put to update pod status
2018-05-30 11:15:47 -07:00
vikaschoudhary16
cedbd93255
Make 'pod' package to use unified checkpointManager
...
Signed-off-by: vikaschoudhary16 <choudharyvikas16@gmail.com>
2018-04-16 01:30:20 -04:00
Lantao Liu
19a1bd8b99
Fix PodScheduled
bug for static pod.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-03-22 01:04:08 +00:00
Dr. Stefan Schimanski
012b085ac8
pkg/apis/core: mechanical import fixes in dependencies
2017-11-09 12:14:08 +01:00
gmarek
0504cfbc25
Make metav1.(Micro)?Time functions take pointers
2017-08-17 11:24:28 +02:00
Ebbe Elsborg
a286f25ff4
Typed static/mirror pod UID translation
2017-08-14 14:51:26 +02:00
Jacob Simpson
29c1b81d4c
Scripted migration from clientset_generated to client-go.
2017-07-17 15:05:37 -07:00
Chao Xu
60604f8818
run hack/update-all
2017-06-22 11:31:03 -07:00
Chao Xu
f4989a45a5
run root-rewrite-v1-..., compile
2017-06-22 10:25:57 -07:00
Shyam Jeedigunta
4425864707
Migrate kubelet configmap management logic to an interface
2017-05-31 10:39:36 +02:00
Andrew Pilloud
b8dca4dd9d
Refactor syncPod to fix panics on error
2017-05-04 10:18:24 -07:00
Chao Xu
4f9591b1de
move pkg/api/v1/ref.go and pkg/api/v1/resource.go to subpackages. move some functions in resource.go to pkg/api/v1/node and pkg/api/v1/pod
2017-04-17 11:38:11 -07:00
Kubernetes Submit Queue
e2d011e455
Merge pull request #41582 from dashpole/unit_test_status
...
Automatic merge from submit-queue (batch tested with PRs 42973, 41582)
Improve status manager unit testing
This is designed to simplify testing logic in the status manager, and decrease reliance on syncBatch. This is a smaller portion of #37119 , and should be easier to review than that change.
It makes the following changes:
- creates convenience functions for get, update, and delete core.Action
- prefers using syncPod on elements in the podStatusChannel to using syncBatch to reduce unintended reliance on syncBatch
- combines consuming, validating, and clearing actions into single verifyActions function. This replaces calls to testSyncBatch(), verifyActions(), and ClearActions
- changes comments in testing functions into log statements for easier debugging
@Random-Liu
2017-04-03 14:05:17 -07:00
David Ashpole
58c32c5228
improve testing
2017-04-03 11:32:53 -07:00
David Ashpole
1d38818326
Revert "Merge pull request #41202 from dashpole/revert-41095-deletion_pod_lifecycle"
...
This reverts commit ff87d13b2c
, reversing
changes made to 46becf2c81
.
2017-02-15 08:44:03 -08:00
David Ashpole
c612e09acd
use the status we modify, not original
2017-02-14 13:36:20 -08:00
David Ashpole
b224f83c37
Revert "[Kubelet] Delay deletion of pod from the API server until volumes are deleted"
2017-02-09 08:45:18 -08:00
David Ashpole
67cb2704c5
delete volumes before pod deletion
2017-02-08 07:34:49 -08:00
Aleksandra Malinowska
74e1d8078e
Revert "Delay deletion of pod from the API server until volumes are deleted"
2017-01-27 13:31:02 +01:00
Kubernetes Submit Queue
aace5a7b87
Merge pull request #40449 from deads2k/client-15-types
...
Automatic merge from submit-queue (batch tested with PRs 40239, 40397, 40449, 40448, 40360)
move the discovery and dynamic clients
Moved the dynamic client, discovery client, testing/core, and testing/cache to `client-go`. Dependencies on api groups we don't have generated clients for have dropped out, so federation, kubeadm, and imagepolicy.
@caesarxuchao @sttts
approved based on https://github.com/kubernetes/kubernetes/issues/40363
2017-01-26 14:23:42 -08:00
deads2k
9488e2ba30
move testing/core to client-go
2017-01-26 13:54:40 -05:00
David Ashpole
9094b57570
cleanup volumes before deleting from the api server
2017-01-25 10:21:15 -08:00
Clayton Coleman
2bb2604f0b
Limit the size of the termination log and allow log input
...
Enforce the following limits:
12kb for total message length in container status
4kb for the termination message path file
2kb or 80 lines (whichever is shorter) from the log on error
Fallback to log output if the user requests it.
2017-01-23 12:26:38 -05:00
Wojciech Tyczynski
09e4de385c
Enable nontrivial secret manager
2017-01-19 19:47:33 +01:00
Clayton Coleman
9a2a50cda7
refactor: use metav1.ObjectMeta in other types
2017-01-17 16:17:19 -05:00
deads2k
77b4d55982
mechanical
2017-01-16 09:35:12 -05:00
NickrenREN
a12dea14e0
fix redundant alias clientset
2017-01-12 10:21:05 +08:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
Chao Xu
03d8820edc
rename /release_1_5 to /clientset
2016-12-14 12:39:48 -08:00
Clayton Coleman
3454a8d52c
refactor: update bazel, codec, and gofmt
2016-12-03 19:10:53 -05:00
Clayton Coleman
5df8cc39c9
refactor: generated
2016-12-03 19:10:46 -05:00
Clayton Coleman
35a6bfbcee
generated: refactor
2016-11-23 22:30:47 -06:00
Chao Xu
5e1adf91df
cmd/kubelet
2016-11-23 15:53:09 -08:00
Random-Liu
1b1f2766ed
Avoid StatusManager.syncPod when there is no corresponding mirror pod for static pod.
2016-09-07 17:03:15 -07:00
Andrey Kurilin
9f1c3a4c56
Fix various typos in kubelet
2016-08-03 01:14:44 +03:00
Michal Rostecki
59ca5986dd
Print/log pointers of structs with %#v instead of %+v
...
There are many places in k8s where %+v is used to format a pointer
to struct, which isn't working as expected.
Fixes #26591
2016-08-01 22:27:56 +02:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
Oleg Shaldybin
ab6ac7c94e
Fix mirror pod identity change test
...
If mirror pod identity changes it actually doesn't get updated;
previously test was relying on an incorrect record pulled from a fake
clientset.
2016-06-28 11:54:13 -07:00
Tim St. Clair
f2f3caf744
Rename **/manager.go
2016-06-21 15:11:31 -07:00