k3s/pkg
Kubernetes Submit Queue e09fda63be Merge pull request #43414 from Random-Liu/use-uid-in-config
Automatic merge from submit-queue

Use uid in config.go instead of pod full name.

For https://github.com/kubernetes/kubernetes/issues/43397.

In config.go, use pod uid in pod cache.

Previously, if we update the static pod, even though a new UID is generated in file.go, config.go will only reference the pod with pod full name, and never update the pod UID in the internal cache. This causes:
1) If we change container spec, kubelet will restart the corresponding container because the container hash is changed.
2) If we change pod spec, kubelet will do nothing.

With this fix, kubelet will always restart pod whenever pod spec (including container spec) is changed.

@yujuhong @bowei @dchen1107 
/cc @kubernetes/sig-node-bugs
2017-03-20 18:18:36 -07:00
..
api Merge pull request #43271 from liggitt/affinity-namespace 2017-03-17 15:12:33 -07:00
apimachinery/tests API 2017-02-28 23:05:40 -08:00
apis Merge pull request #43337 from janetkuo/ds-template-semantic-deepequal 2017-03-20 17:24:18 -07:00
auth Update authn/authz owners and reviewers 2017-01-27 08:55:44 -05:00
bootstrap/api kubeadm: Implement the kubeadm token command fully and move it out of the experimental subsection 2017-02-27 12:56:03 +02:00
capabilities Fix comment for method SetForTests 2017-02-14 17:16:49 +08:00
client Use Histogram instead of Summary 2017-03-10 07:24:38 +01:00
cloudprovider Merge pull request #42452 from jingxu97/Mar/nodeNamePrefix 2017-03-20 15:23:33 -07:00
controller Merge pull request #43398 from enisoc/deletion-race-flake 2017-03-20 13:26:03 -07:00
conversion
credentialprovider
features Move taint eviction feature flag to feature-gates 2017-03-08 10:04:18 +01:00
fieldpath Merge pull request #34533 from yuexiao-wang/fix-commends 2017-01-30 09:05:22 -08:00
fields
generated Merge pull request #42828 from janetkuo/ds-types 2017-03-17 17:54:14 -07:00
hyperkube
kubeapiserver update names for kube plugin initializer to avoid conflicts 2017-03-06 10:18:21 -05:00
kubectl kubectl: Use v1.5-compatible ownership logic when listing dependents. 2017-03-16 12:28:38 -07:00
kubelet Use uid in config.go instead of pod full name. 2017-03-20 15:52:29 -07:00
kubemark kubemark: enable CRI in the hollow kubelet 2017-03-09 09:52:17 -08:00
labels
master Ensure patched objects are defaulted correctly 2017-03-10 22:07:10 -05:00
metrics Update to use proxy subresource consistently 2017-02-13 22:05:00 -05:00
printers Merge pull request #43239 from enisoc/kubectl-controller-ref 2017-03-17 14:25:38 -07:00
probe Add support for attacher/detacher interface in Flex volume 2017-02-24 20:18:06 -05:00
proxy kube-proxy/iptables: use a type for endpoints info map 2017-03-07 13:51:58 -06:00
quota Regenerate everything 2017-03-02 10:23:58 +01:00
registry Use Semantic.DeepEqual to compare DaemonSet template on updates 2017-03-20 13:58:49 -07:00
routes Update to use proxy subresource consistently 2017-02-13 22:05:00 -05:00
runtime
security Addition of ScaleIO Kubernetes Volume Plugin 2017-03-03 15:47:19 -05:00
securitycontext securitycontext: move docker-specific logic into kubelet/dockertools 2017-01-27 12:25:46 -08:00
serviceaccount Move Private Key parsing to k8s.io/client-go/util/cert 2017-02-03 17:41:34 -08:00
ssh
types
util pkg/util/flock: Fix the flock so it actually locks. 2017-03-13 14:24:59 -07:00
version
volume Merge pull request #42949 from wenlxie/master 2017-03-16 02:41:11 -07:00
watch
BUILD Regenerate everything 2017-03-02 08:56:26 +01:00
OWNERS