Sergey Kanzhelev
6c2556c5c4
The function shouldRecordEvent will panic when the value of input object is nil
2020-10-16 21:13:49 +00:00
Sergey Kanzhelev
1c379b1281
allow to map the same container port to different host ports
2020-09-03 22:21:18 +00:00
Sergey Kanzhelev
d20fd40884
remove legacy leftovers of portmapping functionality that was moved to CNI
2020-07-30 23:12:16 +00:00
Sergey Kanzhelev
ee53488f19
fix golint issues in pkg/kubelet/container
2020-06-19 15:48:08 +00:00
Clayton Coleman
8722c834e5
kubelet: Never restart containers in deleting pods
...
When constructing the API status of a pod, if the pod is marked for
deletion no containers should be started. Previously, if a container
inside of a terminating pod failed to start due to a container
runtime error (that populates reasonCache) the reasonCache would
remain populated (it is only updated by syncPod for non-terminating
pods) and the delete action on the pod would be delayed until the
reasonCache entry expired due to other pods.
This dramatically reduces the amount of time the Kubelet waits to
delete pods that are terminating and encountered a container runtime
error.
2020-03-04 13:34:25 -05:00
Niels van Oosterom
ef39312fa5
Fixed an issue where duplicate containerPorts where not allowed across different address families
2019-09-13 14:44:53 +02:00
Di Xu
739cdc8a8c
Omit nil or empty field when calculating hash value
2019-08-22 13:46:52 +08:00
Lee Verberne
906286c743
Change order kubelet starts containers
...
This starts ephemeral containers prior to init containers so that
ephemeral containers will still be started when init containers fail to
start.
Also improves tests and comments with review suggestions.
2019-08-02 19:56:38 +00:00
Lee Verberne
ea212d5d49
Add support for ephemeral containers to the kubelet
2019-07-24 16:24:26 +00:00
Kevin Taylor
a64b854137
Implementation of KEP Feature Gate VolumeSubpathEnvExpansion
2019-02-20 01:37:16 +00:00
Kevin Taylor
b2d4426f09
Add dynamic environment variable substitution to subpaths
2018-05-29 17:01:09 +01:00
Lantao Liu
18a0e80a33
Fix pod sandbox privilege.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-01-29 19:02:10 +00: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
Random-Liu
8380148d48
Remove extra operations when generating pod sandbox configuration.
2017-02-24 15:06:03 -08:00
Clayton Coleman
9a2a50cda7
refactor: use metav1.ObjectMeta in other types
2017-01-17 16:17:19 -05:00
Euan Kemp
bcd939cb08
kuberuntime: set privileged for sandboxes
2016-12-08 13:11:16 -08:00
Chao Xu
5e1adf91df
cmd/kubelet
2016-11-23 15:53:09 -08:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
Lantao Liu
45064d7a1e
Always restart container in unknown state.
2016-03-05 10:42:26 +00:00
Random-Liu
33280abf42
Cleanup and add unit test for ShouldContainerBeRestarted
2016-02-23 00:42:52 -08:00
Kris Rousey
565189f5b8
Correcting all go vet errors
2015-08-11 13:55:37 -07:00
Mike Danese
8e33cbfa28
rewrite go imports
2015-08-05 17:30:03 -07:00
Paul Morie
8b338860aa
Make kubelet expand var refs in cmd, args, env
2015-05-27 00:13:57 -04:00