Kubernetes Prow Robot
da986c56ab
Merge pull request #73944 from xiaoanyunfei/cleanup/rm_unuse_judge
...
rm unnecessary judgement
2019-08-29 13:30:57 -07:00
Han Kang
3a50917795
migrate kubelet's metrics/probes & metrics endpoint to metrics stability framework
2019-08-28 11:16:38 -07:00
Kubernetes Prow Robot
0e1bad3764
Merge pull request #81747 from Random-Liu/fix-windows-log-follow
...
Fix windows kubectl log -f.
2019-08-23 06:53:24 -07:00
Lantao Liu
7767ff3bb2
Fix windows kubectl log -f.
2019-08-21 15:44:20 -07:00
Tim Allclair
8a495cb5e4
Clean up error messages (ST1005)
2019-08-21 10:40:21 -07:00
Tim Allclair
e06912ca3e
Clean up deprecated references
2019-08-21 10:40:21 -07:00
Tim Allclair
6510d26b6a
Fix misc static check issues
2019-08-21 10:40:21 -07:00
Tim Allclair
3f510c69f6
Remove dead code from pkg/kubelet/...
2019-08-21 10:40:21 -07: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
7bce18b0ce
Generated code for Ephemeral Containers in kubelet
2019-07-24 16:25:52 +00:00
Lee Verberne
ea212d5d49
Add support for ephemeral containers to the kubelet
2019-07-24 16:24:26 +00:00
James Sturtevant
a8c78d1359
Windows: Sets the effective SecurityContext's RunAsUserName
...
Co-Authored-By: Claudiu Belu <cbelu@cloudbasesolutions.com >
2019-07-17 15:03:11 +00:00
Kubernetes Prow Robot
becf718143
Merge pull request #78368 from tedyu/evict-sandboxes
...
Call getKubeletSandboxes first in containerGC#evictSandboxes
2019-07-11 14:33:21 -07:00
tiffany jernigan
27a0d91f2d
Remove lazy provide from credential provider and kubelet ( #79674 )
...
* Remove LazyProvide from kubelet
* Remove LazyProvide from cloud providers
* Remove LazyProvide from credential provider keyring and provider
2019-07-03 13:52:52 -07:00
Khaled Henidak(Kal)
dba434c4ba
kubenet for ipv6 dualstack
2019-07-02 22:26:25 +00:00
Yu-Ju Hong
3fac48f86a
kubelet: retry pod sandbox creation when containers were never created
...
If kubelet never gets past sandbox creation (i.e., never attempted to
create containers for a pod), it should retry the sandbox creation on
failure, regardless of the restart policy of the pod.
2019-06-26 18:19:27 -07:00
Ted Yu
58dfe186d8
Call getKubeletSandboxes first in containerGC#evictSandboxes
2019-05-26 14:40:11 -07:00
Tim Allclair
91e593546c
Revert "Use consistent imageRef during container startup"
...
This reverts commit 26e3c8674e
.
2019-05-23 11:36:32 -07:00
Jean Rouge
b39d8f4777
Kubelet & implementation changes for Windows GMSA support
...
This patch comprises the kubelet changes outlined in the Windows GMSA KEP
(https://github.com/kubernetes/enhancements/blob/master/keps/sig-windows/20181221-windows-group-managed-service-accounts-for-container-identity.md )
to add GMSA support to Windows workloads.
Updated tests.
Signed-off-by: Jean Rouge <rougej+github@gmail.com >
2019-05-16 22:07:03 -04:00
Jean Rouge
181706b0f0
Auto-generated changes for Windows GMSA support
...
This patch comprises the auto-generated changes for the API changes outlined in
the Windows GMSA KEP
(https://github.com/kubernetes/enhancements/blob/master/keps/sig-windows/20181221-windows-group-managed-service-accounts-for-container-identity.md )
to add GMSA support to Windows workloads.
Signed-off-by: Jean Rouge <rougej+github@gmail.com >
2019-05-16 15:34:22 -07:00
yameiwang
503ac59abe
fix typo in kuberuntime_manager.go
2019-05-13 08:35:01 +08:00
Andrew Kim
c919139245
update import of generic featuregate code from k8s.io/apiserver/pkg/util/feature -> k8s.io/component-base/featuregate
2019-05-08 10:01:50 -04:00
Kubernetes Prow Robot
aff3f0c61c
Merge pull request #76665 from tallclair/imageref
...
Use consistent imageRef during container startup
2019-04-16 19:14:34 -07:00
Kubernetes Prow Robot
097d58523a
Merge pull request #75278 from Nessex/updatecontainerresources-label-fix
...
Fix label on UpdateContainerResources operation
2019-04-12 08:44:48 -07:00
Tim Allclair
26e3c8674e
Use consistent imageRef during container startup
2019-04-10 12:06:42 -07:00
Robert Krawitz
022f7c2cd7
Clean up PR #71617
2019-04-08 10:34:40 -04:00
Kubernetes Prow Robot
dc1ff116dc
Merge pull request #74220 from tedyu/master
...
Aggregate errors for kube runtime GC
2019-04-04 17:47:19 -07:00
Giuseppe Scrivano
a561196bfe
logs: consume all file until EOF on exited container
...
If the container is not found, do not stop reading the log file
immediately but wait until we reach again EOF.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2019-03-30 17:42:21 +01:00
Giuseppe Scrivano
8f68b281e4
kubelet: force checking the log file every second
...
it seems fsnotify can miss some read events, blocking the kubelet to
receive more data from the log file.
If we end up waiting for events with fsnotify, force a read from the
log file every second so that are sure to not miss new data for longer
than that.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2019-03-30 17:42:20 +01:00
Giuseppe Scrivano
341c2c0d1f
kubelet: handle recreated log files
...
if the runtime is configured to rotate the log file, we might end up
watching the old fd where there are no more writes.
When a fsnotify event other than Write is received, reopen the log
file and recreate the watcher.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2019-03-30 17:42:20 +01:00
Giuseppe Scrivano
2c30eee92f
kubelet: read immediately after creating the watcher
...
if some events happen between the Read and while we set the watcher,
we might miss them.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2019-03-30 17:42:11 +01:00
Kubernetes Prow Robot
dabeb20a1a
Merge pull request #75587 from tiffanyfay/cred-provider
...
Refactor AWS credential provider
2019-03-29 14:48:47 -07:00
Kubernetes Prow Robot
4b3eb60081
Merge pull request #75531 from dims/add-new-staging-repository-for-cri-api
...
New staging repository for cri-api
2019-03-26 18:10:49 -07:00
tiffany jernigan
847cb24aa1
Credential provider Provide takes image (general)
2019-03-27 01:00:26 +00:00
Davanum Srinivas
33081c1f07
New staging repository for cri-api
...
Change-Id: I2160b0b0ec4b9870a2d4452b428e395bbe12afbb
2019-03-26 18:21:04 -04:00
shinytang6
5c9f4d9dc6
replace time.Now().Sub with time.Since
2019-03-21 18:02:55 +08:00
Nathan Essex
394c581a56
Fix label on UpdateContainerResources operation
2019-03-12 14:18:53 +09:00
Lantao Liu
0ac651bfc3
Include pod logs in the pod ephemeral storage.
...
Signed-off-by: Lantao Liu <lantaol@google.com >
2019-03-08 16:42:14 -08:00
Lantao Liu
f14c6c95d6
New pod log directory /var/log/pods/NAMESPACE_NAME_UID.
...
Signed-off-by: Lantao Liu <lantaol@google.com >
2019-03-08 16:42:14 -08:00
Lubomir I. Ivanov
e29c6e1b38
go-1.12: fix 'go vet' failures
2019-03-01 18:48:17 +02:00
Kubernetes Prow Robot
44d13d3b77
Merge pull request #73726 from wk8/wk8/gmsa_alpha
...
Kubelet changes for Windows GMSA support
2019-02-25 21:48:21 -08:00
haiyanmeng
ec18200f8b
Fit RuntimeClass metrics to prometheus conventions
...
1) Add suffix (`seconds` or `total`) to metric name
2) Switch Summary metric to Histogram metric (Summary metrics are not
supported completely by prometheus-to-sd and can't be aggregated.)
2019-02-19 12:46:37 -08:00
Ted Yu
dae6950f04
Aggregate errors for kube runtime GC
...
Signed-off-by: Ted Yu <yute@vmware.com >
2019-02-18 13:29:22 -08:00
danielqsj
79a3eb816c
rename latency to duration in metrics
2019-02-18 17:40:04 +08:00
danielqsj
9fd99a48f5
Change kubelet metrics to conform guideline
2019-02-18 14:01:58 +08:00
sunxiaofei03
91e6dab9f8
rm unused judgement
2019-02-15 10:57:42 +08:00
Kubernetes Prow Robot
6a9902deee
Merge pull request #73802 from Random-Liu/handle-unknown-state
...
Stop container in unknown state before recreate or remove.
2019-02-14 15:50:12 -08:00
Jean Rouge
b435dbf718
Merge branch 'master' into wk8/gmsa_alpha
...
Signed-off-by: Jean Rouge <rougej+github@gmail.com >
2019-02-14 15:38:25 -08:00
Lantao Liu
de8ee94d14
Stop container in unknown state before recreate or remove.
2019-02-14 02:31:17 -08:00
Kubernetes Prow Robot
19e57c616c
Merge pull request #73892 from smarterclayton/fix_container_message
...
Make container create, start, and stop events consistent
2019-02-12 20:01:36 -08:00