gy95
7b98a0770f
remove not used IsStaticPod, prevent possible panic
2021-06-21 19:38:40 +08:00
Madhav Jivrajani
d7a67a3b8e
change log line to print actual pod uid instead of address of the pod uid
...
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2021-05-26 20:32:32 +05:30
卢振兴10069964
70cf1fe882
fix broken link for issue 101008
2021-04-12 15:54:20 +08:00
Geonju Kim
504cc5b1e4
Migrate pkg/kubelet/pod
to structured logging
2021-02-14 07:23:09 +09:00
Davanum Srinivas
442a69c3bd
switch over k/k to use klog v2
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-16 07:54:27 -04:00
Mike Danese
c58e69ec79
automated refactor
2020-03-05 14:59:46 -08:00
Mike Danese
25651408ae
generated: run refactor
2020-02-08 12:30:21 -05:00
Mike Danese
3aa59f7f30
generated: run refactor
2020-02-07 18:16:47 -08:00
Tim Allclair
dca464d80a
Add error detail
2019-11-08 09:59:04 -08:00
Tim Allclair
f827863128
Inject owner references into mirror pods
2019-10-29 16:14:06 -07:00
Ted Yu
0939f90103
Check whether mirror pod is ciritical in managerImpl#evictPod
2019-10-01 11:12:18 -07:00
Tim Allclair
a2c51674cf
Cleanup more static check issues (S1*,ST*)
2019-08-21 10:40:21 -07:00
obitech
898c40a484
Fix golint failures in some pkg/kubelet packages
...
Fixed:
- pkg/kubelet/pod
- pkg/kubelet/metrics
- pkg/kubelet/configmap
- pkg/kubelet/config
2019-08-03 21:07:12 +02:00
Robert Krawitz
12713b3ee4
Do not delete an incorrect pod when replacing a mirror pod
2019-06-20 23:02:16 -04:00
SataQiu
1581055c3a
fix golint failures of pkg/kubelet/pod
2019-04-25 11:54:14 +08:00
Davanum Srinivas
954996e231
Move from glog to klog
...
- Move from the old github.com/golang/glog to k8s.io/klog
- klog as explicit InitFlags() so we add them as necessary
- we update the other repositories that we vendor that made a similar
change from glog to klog
* github.com/kubernetes/repo-infra
* k8s.io/gengo/
* k8s.io/kube-openapi/
* github.com/google/cadvisor
- Entirely remove all references to glog
- Fix some tests by explicit InitFlags in their init() methods
Change-Id: I92db545ff36fcec83afe98f550c9e630098b3135
2018-11-10 07:50:31 -05:00
Kevin
4c8539cece
use core client with explicit version globally
2017-10-27 15:48:32 +08: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
Clayton Coleman
be6d2933df
refactor: Move *Options references to metav1
2017-01-24 13:41:51 -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
Chao Xu
03d8820edc
rename /release_1_5 to /clientset
2016-12-14 12:39:48 -08:00
Chao Xu
5e1adf91df
cmd/kubelet
2016-11-23 15:53:09 -08:00
gmarek
795961f7e7
Add more logging around Pod deletion
2016-11-21 11:20:48 +01:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
Paul Morie
8dafc776de
Godoc for kubelet pod manager
2016-06-13 10:54:01 -04:00
Random-Liu
cb6fe9e7ef
Delete pod with uid as precondition.
2016-05-05 14:34:49 -07:00
Chao Xu
184440f8ef
rename release_1_2 to internalclientset
2016-02-05 14:02:28 -08:00
Chao Xu
1b047f8e67
rename legacy to core
2016-02-04 14:26:56 -08:00
Chao Xu
f9f5736b01
grep sed
2016-02-03 13:06:07 -08:00
Chao Xu
cddd7b56a4
replace client with clientset in kubelet and other places
2016-02-02 20:28:45 -08:00
Yu-Ju Hong
25f2c6f330
Improve mirror pod creation/deletion
...
- Ignore the "not found" error on deletion.
- Recognize the "already exists" error on creation and check if the existing
pod meets requirement. If so, don't report an error.
- Immediately create a mirror pod after a successful deletion, if needed.
2016-01-21 16:01:14 -08:00
Yu-Ju Hong
f8aa206ffa
Stores hash of pod manifest in mirror pod's annotation
...
Use the hash to track whether the mirror pod is a truthful representation of
the static pod.
2015-10-20 15:44:31 -07:00
Yu-Ju Hong
2c76c55bb9
kubelet: move PodManager and MirrorClient to a subpackage
...
This change moves pod_manager.go and mirror_client.go to a separate package.
Also made necessary, minor changes to facilitate testing.
2015-10-12 16:34:18 -07:00